[cups] Error: Request Entity Too Large

Luis Henrique Pessoa lhmp1967 at gmail.com
Thu Jan 28 08:52:44 PST 2016


I've found the cause. My /var and /home was linked (ln -s ...) to another
partition, because my linux was under a ssd and I tried to keep variable
linux data on a hd volume.

So whats wrong on doing it?

The apparmor don't allow the application access these linked directory.
When I configure the absolute path in armor cup file it works.

Well, others linux apps like samba will be a similar problem... so, I will
study another volume partition to avoid app restrition and use the ssd
benefits.

Luis
Em 22/01/2016 06:31, "Luis Henrique Pessoa" <lhmp1967 at gmail.com> escreveu:

> Other information,
>
> my /var /home directorys are mounted on another partition:
>
> luis at jupiter:/linux/linux/home/luis$ ll / | grep linux
> lrwxrwxrwx   1 root root    17 Nov 22 08:10 home -> /linux/linux/home/
> drwxr-xr-x   6 root root  4096 Nov 21 10:02 linux/
> lrwxrwxrwx   1 root root    16 Nov 22 08:36 var -> /linux/linux/var/
>
> Could it be the any clue to the error?
>
> Another one: logs are empty:
>
> luis at jupiter:/linux/linux/home/luis$ ll /var/log/cups
> total 24
> drwxr-xr-x  2 root root   4096 Nov 26 17:56 ./
> drwxrwxr-x 14 root syslog 4096 Jan 22 06:13 ../
> -rw-r-----  1 root adm       0 Nov 26 17:56 access_log
> -rw-r-----  1 root adm     142 Nov 21 11:22 access_log.1.gz
> -rw-r-----  1 root adm     139 Nov  1 14:28 access_log.2.gz
> -rw-r-----  1 root adm     124 Out 12 10:57 access_log.3.gz
> -rw-r-----  1 root adm       0 Nov 14 18:51 error_log
> -rw-r-----  1 root adm     210 Nov 14 12:16 error_log.1.gz
> -rw-r-----  1 root adm       0 Out 12 10:57 page_log
>
>
>
>
> 2016-01-21 18:52 GMT-03:00 Luis Henrique Pessoa <lhmp1967 at gmail.com>:
>
>> Checked ok:
>>
>> luis at jupiter:/linux/linux/home/luis$ ll /var/spool | grep cups
>> drwx--x---  3 root   lp   4096 Ago  5 02:14 cups/
>> luis at jupiter:/linux/linux/home/luis$ ll /var/log | grep cups
>> drwxr-xr-x  2 root              root     4096 Nov 26 17:56 cups/
>>
>> Luis
>>
>> 2016-01-20 14:58 GMT-03:00 Helge Blischke <helgeblischke at web.de>:
>>
>>> First, I’d check the permissions of the directories
>>> drwx—x—  root lp  /var/spool/cups
>>> and
>>> drwxr-xr-x  root root /var/log/cups
>>>
>>> Helge
>>>
>>> > Am 20.01.2016 um 13:45 schrieb Luis Henrique Pessoa <
>>> lhmp1967 at gmail.com>:
>>> >
>>> > Hi people,
>>> >
>>> > I'm trying to add a printer by http://localhost:631/admin service and
>>> when
>>> > I press the Add Printer buttom, got the message:
>>> >
>>> > Request Entity Too LargeI'm under ubuntu desktop 14.04 LTS + hplip
>>> 3.15.11.
>>> > Try cups logs but didn't find nothing (empty files in /var/log/cups
>>> >
>>> > Any Idea?
>>> >
>>> > --
>>> > ---------------------
>>> > Luís Henrique Pessoa
>>> > O perfeito é desumano porque o humano é imperfeito
>>> > (Fernando Pessoa)
>>> >
>>> >                      .:: *Evite Spam* ::.
>>> > Em mensagens para vários destinatários:
>>> > 1) Use o campo *CCO* (*Conhecimento Oculto*) ao invés de *PARA* e *CC*;
>>> > 2) Apague todos os e-mails do corpo da mensagem.
>>> > _______________________________________________
>>> > cups mailing list
>>> > cups at cups.org
>>> > https://www.cups.org/mailman/listinfo/cups
>>>
>>> _______________________________________________
>>> cups mailing list
>>> cups at cups.org
>>> https://www.cups.org/mailman/listinfo/cups
>>>
>>
>>
>>
>> --
>> ---------------------
>> Luís Henrique Pessoa
>> O perfeito é desumano porque o humano é imperfeito
>> (Fernando Pessoa)
>>
>>                       .:: *Evite Spam* ::.
>> Em mensagens para vários destinatários:
>> 1) Use o campo *CCO* (*Conhecimento Oculto*) ao invés de *PARA* e *CC*;
>> 2) Apague todos os e-mails do corpo da mensagem.
>>
>
>
>
> --
> ---------------------
> Luís Henrique Pessoa
> O perfeito é desumano porque o humano é imperfeito
> (Fernando Pessoa)
>
>                       .:: *Evite Spam* ::.
> Em mensagens para vários destinatários:
> 1) Use o campo *CCO* (*Conhecimento Oculto*) ao invés de *PARA* e *CC*;
> 2) Apague todos os e-mails do corpo da mensagem.
>



More information about the cups mailing list