CUPS problem in current
Hey all:
I am running the latest slackware-current, a fresh install from a custom ISO. I haven't been able to get cups to work since it was moved from /extra... I have rc.cups set executable. It starts up at init. When I go to 'localhost:631' to configure it, I can log in, but when I try to do anything I lose the connection to 'localhost:631', and cupsd crashes. I can restart it, but the same thing keeps happening. Help? I was wondering where I could look ( a log file?) to see the error message when the cupsd dies? -Charlie |
I'm afraid that doesn't ring any bells for me, i didn't use the slackware released version. However, the log file you want is /var/log/cups/error_log or something similar, and if that isn't showing much, you may want to adjust the debug level cups.conf or cupsd.conf or whatever its called which i believe lives in /etc/. Sorry I can't check for you, i'm at my parents' house. Hope that helps anyway, and let us know how this turns out, very intriguing.
|
Error Log
Hey:
Here is the /var/log/cups/error_log I get: I [22/Aug/2003:13:47:42 -0400] Listening to 0:631 D [22/Aug/2003:13:47:42 -0400] AddLocation: added location '/' D [22/Aug/2003:13:47:42 -0400] DenyIP: / deny 00000000/00000000 D [22/Aug/2003:13:47:42 -0400] AllowIP: / allow 7f000001/ffffffff D [22/Aug/2003:13:47:42 -0400] AddLocation: added location '/admin' D [22/Aug/2003:13:47:42 -0400] DenyIP: /admin deny 00000000/00000000 D [22/Aug/2003:13:47:42 -0400] AllowIP: /admin allow 7f000001/ffffffff I [22/Aug/2003:13:47:42 -0400] Loaded configuration file "/etc/cups/cupsd.conf" I [22/Aug/2003:13:47:42 -0400] Configured for up to 100 clients. I [22/Aug/2003:13:47:42 -0400] Allowing up to 100 client connections per host. I [22/Aug/2003:13:47:42 -0400] Full reload is required. D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "ipp"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "lpd"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "usb:/dev/usb/lp0"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "usb:/dev/usb/lp1"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "usb:/dev/usb/lp2"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "usb:/dev/usb/lp3"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "usb:/dev/usb/lp4"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "usb:/dev/usb/lp5"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "usb:/dev/usb/lp6"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "usb:/dev/usb/lp7"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "usb:/dev/usb/lp8"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "usb:/dev/usb/lp9"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "usb:/dev/usb/lp10"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "usb:/dev/usb/lp11"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "usb:/dev/usb/lp12"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "usb:/dev/usb/lp13"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "usb:/dev/usb/lp14"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "usb:/dev/usb/lp15"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "http"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "scsi"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "canon:/dev/lp0"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "epson:/dev/lp0"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "parallel:/dev/lp0"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS0?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS1?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS2?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS3?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS4?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS5?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS6?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS7?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS8?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS9?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS10?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS11?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS12?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS13?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS14?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS15?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS16?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS17?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS18?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS19?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS20?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS21?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS22?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS23?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS24?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS25?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS26?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS27?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS28?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS29?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS30?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "serial:/dev/ttyS31?baud=115200"... D [22/Aug/2003:13:47:42 -0400] LoadDevices: Added device "socket"... I [22/Aug/2003:13:47:42 -0400] LoadPPDs: Read "/etc/cups/ppds.dat", 449 PPDs... I [22/Aug/2003:13:47:42 -0400] LoadPPDs: No new or changed PPDs... D [22/Aug/2003:13:47:42 -0400] LoadAllJobs: Scanning /var/spool/cups... I [22/Aug/2003:13:47:42 -0400] Full reload complete. D [22/Aug/2003:13:47:42 -0400] StartListening: NumListeners=1 D [22/Aug/2003:13:47:42 -0400] StartListening: address=00000000 port=631 D [22/Aug/2003:13:47:42 -0400] ResumeListening: setting input bits... D [22/Aug/2003:13:47:44 -0400] AcceptClient() 5 from localhost:631. D [22/Aug/2003:13:47:44 -0400] ReadClient() 5 GET / HTTP/1.1 D [22/Aug/2003:13:47:44 -0400] SendFile() 5 file=6 D [22/Aug/2003:13:47:44 -0400] ReadClient() 5 GET /cups.css HTTP/1.1 D [22/Aug/2003:13:47:44 -0400] SendError() 5 code=304 D [22/Aug/2003:13:47:44 -0400] ReadClient() 5 GET /images/navbar.gif HTTP/1.1 D [22/Aug/2003:13:47:44 -0400] SendError() 5 code=304 D [22/Aug/2003:13:47:46 -0400] ReadClient() 5 GET /printers HTTP/1.1 D [22/Aug/2003:13:47:46 -0400] CGI /usr/lib/cups/cgi-bin/printers.cgi started - PID = 1395 I [22/Aug/2003:13:47:46 -0400] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=1395) D [22/Aug/2003:13:47:46 -0400] SendCommand() 5 file=8 D [22/Aug/2003:13:47:46 -0400] AcceptClient() 6 from localhost:631. D [22/Aug/2003:13:47:46 -0400] ReadClient() 6 POST / HTTP/1.1 D [22/Aug/2003:13:47:46 -0400] ProcessIPPRequest: 6 status_code=406 D [22/Aug/2003:13:47:46 -0400] ReadClient() 6 POST / HTTP/1.1 D [22/Aug/2003:13:47:46 -0400] ProcessIPPRequest: 6 status_code=1 D [22/Aug/2003:13:47:46 -0400] CloseClient() 6 |
hmmm, no errors or warnings apparently. Have you tried changing the debug level?
|
Changelog
Hey:
Just checked the current changelog...looks like I wasn't the only one to notice this problem. There's a new sysvinit package that fixes the way cups is run. Apparently it needs to be run in a 'subshell', but I have no idea what that is. I'll give it a try, and see if it works. -Charlie |
Hi, just a note, 'man bash', running a program or a command, script in a subshell would be enclosing in '(command)' parenthesis.
{edit} One more thing, if i'm not mistaken, if you use slack, it's good to keep it as a BSD style init, i heard it's easy to debug in case thing's go wrong, mabey there's something available for that, or you could just edit one of the script's in '/etc/rc.d' , i think i may be over stepping my bound's because lack of true understanding of these, i know there are some sysvinit script's in there, but i don't think any of them execute(almost default system), someone correct me if i'm wrong. :) |
fix
Hey all:
I recompiled the cups package from the slack build script in the source package, then installed the package it created in /tmp. Cups has been working fine since. I'm not sure if the ISO I made was from a fully rsynced current tree, so to confirm this bug I'm going to go back and try this again from scratch. -Charlie |
All times are GMT -5. The time now is 06:13 AM. |