LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 08-22-2003, 11:32 AM   #1
hjles
Member
 
Registered: Jan 2003
Posts: 64

Rep: Reputation: 15
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
 
Old 08-22-2003, 01:17 PM   #2
BigBadPenguin
Member
 
Registered: Jun 2003
Location: Warwick (.ac.uk)
Distribution: Arch, Slackware 9.0, (knoppix standing by)
Posts: 256

Rep: Reputation: 30
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.
 
Old 08-22-2003, 01:52 PM   #3
hjles
Member
 
Registered: Jan 2003
Posts: 64

Original Poster
Rep: Reputation: 15
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
 
Old 08-22-2003, 05:39 PM   #4
BigBadPenguin
Member
 
Registered: Jun 2003
Location: Warwick (.ac.uk)
Distribution: Arch, Slackware 9.0, (knoppix standing by)
Posts: 256

Rep: Reputation: 30
hmmm, no errors or warnings apparently. Have you tried changing the debug level?
 
Old 08-22-2003, 05:54 PM   #5
hjles
Member
 
Registered: Jan 2003
Posts: 64

Original Poster
Rep: Reputation: 15
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
 
Old 08-22-2003, 07:25 PM   #6
Tarts
Member
 
Registered: Feb 2003
Distribution: Slackware 9.1 (exclusively) ;)
Posts: 344

Rep: Reputation: 30
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.

Last edited by Tarts; 08-22-2003 at 07:47 PM.
 
Old 08-22-2003, 08:45 PM   #7
hjles
Member
 
Registered: Jan 2003
Posts: 64

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 09:01 AM
Problem with current and gtk nikko Slackware 9 01-03-2005 02:37 PM
current Slack-Current giving troubles? r_jensen11 Slackware 5 02-02-2004 06:08 PM
CUPS - Slacware Current shepper Slackware 4 09-23-2003 12:03 PM
slackware-current (9) and x problem vector Slackware 4 02-23-2003 09:03 PM


All times are GMT -5. The time now is 11:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration