[cups.general] Printing still

Adrian Roskrow adrian at hang10systems.co.uk
Sat Dec 2 13:20:11 PST 2006


Hello


I have a major problem with one of the cups system on one of my servers.
It was working OK between my Ubuntu systems and I thought, stupidly as
it turned out, that it would be very nice to get my windows PCs printing
to the same printer. I fiddled about with my print servers to get this
to work and in the processes “broke!” one of the Ubuntu printing
servers. This server will not allow the cupsd demon to work. If I do a
'ps aux | grep cups' I have no cupsd demon shown, if I do the same thing
on another working Ubuntu machine the cupsd demon is shown running


(working)

adrianr 5560 0.0 0.3 37960 8096 ? Ssl 10:02 0:11 gnome-cups-icon
--sm-client-id default3

adrianr 14100 0.0 0.0 2892 808 pts/1 R+ 16:38 0:00 grep cup


Also to confuse even more when the system is restarted on the first
machine the local script shows that the cupsd demon has started but
again if you do a ps aux there is no demon running.


(not working)

adrianr at geko4:/var/log/cups$ ps aux |grep cups

adrianr 6415 0.0 0.3 2888 812 pts/1 R+ 16:50 0:00 grep cups


(starting the demon)

adrianr at geko4:/var/log/cups$ sudo /etc/init.d/cupsys start

Password:

      * Starting Common Unix Printing System: cupsd [ ok ]
        

(the ps shows there is no process!)

adrianr at geko4:/var/log/cups$ ps aux |grep cups

adrianr 6438 0.0 0.3 2888 808 pts/1 R+ 16:50 0:00 grep cups

adrianr at geko4:/var/log/cups$


If I look at the error_log for this system I get the following


E [02/Dec/2006:16:57:39 +0000] Unknown directive RunAsUser on line 6.
I [02/Dec/2006:16:57:39 +0000] Listening to :::631 (IPv6)
I [02/Dec/2006:16:57:39 +0000] Listening to 0.0.0.0:631 (IPv4)
E [02/Dec/2006:16:57:39 +0000] Unable to include config file
"/etc/cups/cupsd-browsing.conf" - No such file or directory
D [02/Dec/2006:16:57:39 +0000] cupsdDenyIP(loc=0x80b9b60(/),
address=0:0:0:0, netmask=0:0:0:0)
W [02/Dec/2006:16:57:39 +0000] "AuthClass User" is deprecated; consider
using "Require valid-user" on line 21.

(and lots more)

I [02/Dec/2006:16:57:39 +0000] Full reload complete.
I [02/Dec/2006:16:57:39 +0000] Listening to :::631 on fd 0...
I [02/Dec/2006:16:57:39 +0000] Listening to 0.0.0.0:631 on fd 2...

The log stops here.

When I do the same on my good machine I get further messages:-

E [02/Dec/2006:20:19:50 +0000] Unknown directive RunAsUser on line 6.
I [02/Dec/2006:20:19:50 +0000] Listening to :::631 (IPv6)
I [02/Dec/2006:20:19:50 +0000] Listening to 0.0.0.0:631 (IPv4)
I [02/Dec/2006:20:19:50 +0000] Loaded configuration file
"/etc/cups/cupsd.conf"
I [02/Dec/2006:20:19:50 +0000] Cleaning out old temporary files in
"/var/spool/cups/tmp"...

(and lots more)

I [02/Dec/2006:20:19:50 +0000] Configured for up to 100 clients.
I [02/Dec/2006:20:19:50 +0000] Allowing up to 100 client connections per
host.
I [02/Dec/2006:20:19:50 +0000] Full reload complete.
I [02/Dec/2006:20:19:50 +0000] Listening to :::631 on fd 0...
I [02/Dec/2006:20:19:50 +0000] Listening to 0.0.0.0:631 on fd 2...

additional messages

D [02/Dec/2006:20:19:51 +0000] cupsdNetIFUpdate: "lo" = localhost...
D [02/Dec/2006:20:19:51 +0000] cupsdNetIFUpdate: "eth0" =
192.168.1.80...
D [02/Dec/2006:20:19:51 +0000] cupsdNetIFUpdate: "lo" = localhost...
D [02/Dec/2006:20:19:51 +0000] cupsdNetIFUpdate: "eth0" =
fe80::214:22ff:fedd:77db%eth0...
D [02/Dec/2006:20:21:22 +0000] Get-Printer-Attributes
ipp://localhost/printers/1100

(and lots more)

D [02/Dec/2006:20:21:22 +0000] cupsdProcessIPPRequest: 6 status_code=0
(successful-ok)


I have run out of ideas for why this cupsd demon is not working, has
anyone got any ideas? There appears to be no messages to indicate that
the demon is failing to start. I have looked at the script which starts
the demon and that seems to be OK. This leads to start-stop-daemon which
is in binary and I do not have the code for so I can not debug it.


I am really stuck on this, can anyone help?


Regards


Adrian






More information about the cups mailing list