[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] CUPS Permissions



On Wed, 2005-11-30 at 13:35 +0000, Richard Ibbotson wrote:
> Hi
> 
> Seem to have lost the thread somewhere with CUPS.
> 
> I'm using Debian Etch (well kind of) with KDE 3.4.2 and Gnome 2.10.  
> After an update CUPS refuses to start...
> 
> As root..
> 
> /etc/init.d/cups restart
> cupsd: Child exited with status 98!
> cups: unable to restart scheduler.
> 
> As a user...
> 
>  /etc/init.d/cupsys restart
> Restarting Common Unix Printing System: cupsdcupsd: Child exited with 
> status 1!
> 
> Looks to me as though this is a permissions problem on CUPS where 
> permissions on /etc/cups/cupsd.conf are not set correctly.  
> 
> ls -l /etc/cups/cupsd.conf
> -rw-r-----  1 root sys 19186 2005-11-22 13:50 /etc/cups/cupsd.conf
> 
> Need to allow access by users.  Is this correct or shall have to 
> change it ?  If so what do I change it to ?  Read the book doesn't 
> help much.  There is nothing at port 631 ... lsof -i TCP:631... 
> returns no value.

Edit /etc/cups/cupsd.conf and put a line:

LogLevel debug

in there. It's probably currently set to 

LogLevel info

Start cups in the foreground, rather than using the init scripts, so you
know it's running

/usr/sbin/cupsd -f -C /etc/cups/cupsd.conf

(your paths may be different from mine as I am not on a Debian OS here)

Then in another terminal tail your system log. That should tell you why
cupsd is exiting.

tail -n 300 -f /var/log/messages



Seb.


-- 
Embedded Software Foundry Ltd. 'Embedded Linux Development'
Tel: +44 (0)845 4580277   Web: http://www.esfnet.co.uk/
Axiom Tech Open Source Member: http://www.axiomtech.co.uk/
Gpg key: http://www.esfnet.co.uk/ssl/seb.gpg

Attachment: signature.asc
Description: This is a digitally signed message part