Re: problem with CUPS
On Jan 2, 4:30 pm, Joel Roth <jo...@pobox.com> wrote:
>
> Hi Zach,
>
> In my first search I found this link:
>
> http://www.laen.org/2005/11/15/cups-request-entity-too-large/
>
> If you get this CUPS error, it may mean that you don't
> have write permission to your CUPS spool directory
> (/var/spool/cups, by default).
>
> For my properly running cups installation I have these
> permissions:
>
> # ls -ld /var/spool/cups /var/spool/cups/tmp
> drwx--x--- 3 root lp 4096 Jan 1 13:20 /var/spool/cups
> drwxrwx--T 2 root lp 4096 Dec 28 11:06 /var/spool/cups/tmp
>
> It may be worth checking again.
>
> With some trial-and-error, I find I can set the permissions
> properly thus:
>
> # chmod 710 /var/spool/cups
> # chmod 1770 /var/spool/cups/tmp
>
> If the ownership is not corret, use chown:
>
> # chown root.lp /var/spool/cups
> # chown root.lp /var/spool/cup/tmp
>
> Good luck (and successful printing!)
>
> Printing is a hard problem. CUPS is generally
> easy to administer. I used to use lprng and one of those
> filters. Sometimes you have to jiggle things a bit to get them to
> settle down. :-)
Hi Joel,
I checked and cupsys is a member of group lp.
I now have:
drwx--x--- 5 root lp 60 2008-12-31 18:09 /var/spool/cups
drwxrwx--T 4 root lp 40 2006-05-17 08:46 /var/spool/cups/tmp
However it seems since cupsys is no longer the owner of the
directories it will not load the printing database when gnome-cups-
manager tries to read it. And I tried even running lpadmin as root but
I get that same stupid "Request entity is too large" error message
that is torturing me lol. Seems cups runs on Ubuntu as user cupsys.
I also tried running gnome-cups-manager and lpadmin with these
permissions:
drwx--x--- 5 cupsys lp 60 2008-12-31 18:09 /var/spool/cups
drwxrwx--T 4 cupsys lp 40 2006-05-17 08:46 /var/spool/cups/tmp
But I get the same errors. This is sure vexing.
Zach
Reply to: