apple / cups

Apple CUPS Sources
https://www.cups.org
Apache License 2.0
1.85k stars 452 forks source link

Cupsys hangs on restart and stop-start #1886

Closed michaelrsweet closed 17 years ago

michaelrsweet commented 17 years ago

Version: 1.2.2 CUPS.org User: gborzi

I have three Computer with ubuntu 6.06 installed, an AMD Athlon(tm) XP 2800+ desktop, an AMD Athlon(tm) 64 Processor 3000+ and a laptop with a Mobile Intel Pentium 4-M 2GHz. On amd64 there are no problems in restarting cupsys or starting and stopping it, on the i386 systems, when I try to restart cupsys with sudo /etc/init.d/cupsys restart it hangs, and I have to give a Ctrl-C to terminate. After the termination cups works fine. The only way to restart cleanly is to switch to single user mode and give the /etc/init.d/cupsys restart command (Note: sudo -i followed by a restart don't work, single user mode seems mandatory). I have noticed that on the amd64 (the PC with working cupsys restart) a pgrep cuspd returns 2 PID and that /var/run/cups/cupsd.pid reports the highest, e.g.

pgrep cuspd

4029 8366

cat /var/run/cups/cupsd.pid

8366 on the other two systems there is only one cupsd instance running whose PID is correctly reported in /var/run/cups/cupsd.pid .

michaelrsweet commented 17 years ago

CUPS.org User: mike

Please contact your Linux distributor for this issue.

Ubuntu makes significant changes to CUPS, so we are unable to help you here...