CUPS working fine through 3/15 now won't print?

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



Guys,

	I have a love/hate relationship with cups. For the past eight years at least I
have configured cups to share laserjet printers at both the office and home and
99.9% time, I never have to think about printing again. The other .1% is usually
what seems like an effort in futility trying to get cups to print. I am having
one of those .1% moments now.

	I enabled cups printing on my arch server about a month ago and it just printed
without issue until my wife needed to print today. No cups is refusing to print
at all. The strange part is that the cups daemon seems to be freezing or
crashing requiring a kill -9 on cupsd to kill it and restart the process. For
example, I can open the web interface of port 631 and I can change options, look
at the printers and past jobs, etc..., but when I send a job to the server, the
web interface freezes, nothing prints and I have to use 'kill -9 <cupsd pid>' to
stop cups and restart it. For example:

[00:46 nirvana:/var/log/cups] # /etc/rc.d/cups stop
:: Stopping CUPS Daemon
                        [DONE]
[00:52 nirvana:/var/log/cups] # ps ax | grep cups
 4618 pts/1    S+     0:00 vi cupsd.conf
 5052 ?        Ss     0:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
 5128 pts/3    S+     0:00 grep cups
[00:52 nirvana:/var/log/cups] # kill 5052
[00:52 nirvana:/var/log/cups] # ps ax | grep cups
 4618 pts/1    S+     0:00 vi cupsd.conf
 5052 ?        Ss     0:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
 5131 pts/3    S+     0:00 grep cups
[00:52 nirvana:/var/log/cups] # kill -9 5052

Huh?

	I have debugging enabled and cups seems to be choking on ssl cert generation.
That's strange, I just thought I was using basic authentication:

I [22/Mar/2010:01:05:09 -0500] Full reload complete.
I [22/Mar/2010:01:05:09 -0500] Cleaning out old temporary files in
"/var/spool/cups/tmp"...
I [22/Mar/2010:01:05:09 -0500] Listening to 0.0.0.0:631 on fd 6...
I [22/Mar/2010:01:05:09 -0500] Listening to :::631 on fd 7...
I [22/Mar/2010:01:05:09 -0500] Listening to /var/run/cups/cups.sock on fd 8...
I [22/Mar/2010:01:05:09 -0500] Resuming new connection processing...
D [22/Mar/2010:01:05:09 -0500] cupsdRegisterPrinter(p=0x7fca7bf68f00(LaserJet))
E [22/Mar/2010:01:05:09 -0500] Unable to set ACLs on root certificate
"/var/run/cups/certs/0" - Operation not supported
D [22/Mar/2010:01:05:09 -0500] Discarding unused server-started event...
D [22/Mar/2010:01:05:10 -0500] cupsdNetIFUpdate: "lo" = localhost:631
D [22/Mar/2010:01:05:10 -0500] cupsdNetIFUpdate: "eth0" =
nirvana.3111skyline.com:631
D [22/Mar/2010:01:05:10 -0500] cupsdNetIFUpdate: "lo" = localhost:631
D [22/Mar/2010:01:05:10 -0500] cupsdNetIFUpdate: "eth0" =
fe80::2e0:81ff:fe55:4e1d%eth0:631
D [22/Mar/2010:01:05:10 -0500] Report: clients=0
D [22/Mar/2010:01:05:10 -0500] Report: jobs=15
D [22/Mar/2010:01:05:10 -0500] Report: jobs-active=0
D [22/Mar/2010:01:05:10 -0500] Report: printers=1
D [22/Mar/2010:01:05:10 -0500] Report: printers-implicit=0
D [22/Mar/2010:01:05:10 -0500] Report: stringpool-string-count=285
D [22/Mar/2010:01:05:10 -0500] Report: stringpool-alloc-bytes=6160
D [22/Mar/2010:01:05:10 -0500] Report: stringpool-total-bytes=6192
D [22/Mar/2010:01:05:59 -0500] cupsdAcceptClient: 12 from localhost (Domain)
D [22/Mar/2010:01:05:59 -0500] cupsdReadClient: 12 WAITING Closing on EOF
D [22/Mar/2010:01:05:59 -0500] cupsdCloseClient: 12
D [22/Mar/2010:01:05:59 -0500] cupsdCloseClient: 12
D [22/Mar/2010:01:05:59 -0500] cupsdAcceptClient: 12 from localhost (Domain)
I [22/Mar/2010:01:05:59 -0500] Generating SSL server key...

	That where the process dies.... My cupsd.conf is simple, but maybe I have
something that is killing me? It is available here:

http://www.3111skyline.com/dl/bugs/Archlinux/cupsd.conf

(note: I am a member of groups sys, lp and wheel)

	If anybody is smart on cups, I would appreciate a bit of help figuring out what
is not working here. The printer itself is an old Laserjet_4 connected to the
servers parallel port and its printer.conf is:

# Printer configuration file for CUPS v1.4.2
# Written by cupsd on 2010-03-21 14:13
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<DefaultPrinter LaserJet>
Info Home Office Laserjet 4
Location nirvana
MakeModel HP LaserJet Series PCL 4/5
DeviceURI parallel:/dev/lp0
State Idle
StateTime 1267682110
Type 12356
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-raster 50 rastertohp
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

	Any help would be greatly appreciated. The current cups package is: cups 1.4.2-3.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux