LinuxQuestions.org
Register a domain and help support LQ
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 02-19-2008, 07:13 PM   #1
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 57
CUPS error in Slackware 12


Hello,

My printer was working fine until one day, it stopped working , its a Canon PIXMA iP1600, here is the error log
Code:
I [19/Feb/2008:16:02:29 -0800] Listening to 127.0.0.1:631 (IPv4)
I [19/Feb/2008:16:02:29 -0800] Listening to /var/run/cups/cups.sock (Domain)
I [19/Feb/2008:16:02:29 -0800] Loaded configuration file "/etc/cups/cupsd.conf"
I [19/Feb/2008:16:02:29 -0800] Using default TempDir of /var/spool/cups/tmp...
I [19/Feb/2008:16:02:29 -0800] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [19/Feb/2008:16:02:29 -0800] Configured for up to 100 clients.
I [19/Feb/2008:16:02:29 -0800] Allowing up to 100 client connections per host.
I [19/Feb/2008:16:02:29 -0800] Using policy "default" as the default!
I [19/Feb/2008:16:02:29 -0800] Full reload is required.
I [19/Feb/2008:16:02:30 -0800] Loaded MIME database from '/etc/cups': 34 types, 38 filters...
I [19/Feb/2008:16:02:31 -0800] Loading NextJobId from job cache file "/var/cache/cups/job.cache"...
I [19/Feb/2008:16:02:31 -0800] Full reload complete.
I [19/Feb/2008:16:02:32 -0800] Listening to 127.0.0.1:631 on fd 0...
I [19/Feb/2008:16:02:32 -0800] Listening to /var/run/cups/cups.sock on fd 2...
E [19/Feb/2008:16:02:32 -0800] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
The odd thing is, it had that error before in the log and it worked fine, any ideas?
 
Old 02-20-2008, 12:31 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
well printers are desinged to fail.....ink dries up....heads get clogged so it could be a hardware issue = dead printer.

2) have you opened a web browser and just gone into address
localhost:631......if cups service is enabled and listening....you should get the cups home page...then click on printers and see what it reports
 
Old 02-20-2008, 02:49 PM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Well, typically thing don't just happen out of the blue like that (except of course hardware failure, but that's the last thing to assume). Did you do anything before this happened ? Upgrade anything, change anything ?
 
Old 02-20-2008, 06:11 PM   #4
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by aus9 View Post
well printers are desinged to fail.....ink dries up....heads get clogged so it could be a hardware issue = dead printer.

2) have you opened a web browser and just gone into address
localhost:631......if cups service is enabled and listening....you should get the cups home page...then click on printers and see what it reports
No, cups is not running because of that error, I should have made myself more clear, my bad

Quote:
Originally Posted by H_TeXMeX_H View Post
Well, typically thing don't just happen out of the blue like that (except of course hardware failure, but that's the last thing to assume). Did you do anything before this happened ? Upgrade anything, change anything ?
Well the last major thing I did before that is upgrade dropline gnome, but I remember printing stuff after I did that, so I doubt that is the problem

I doubt that it is a hardware failure because that shouldn't stop cups from running, AFAIK
 
Old 02-20-2008, 11:50 PM   #5
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
ok with root powers go into
/var/run/cups/certs and see if you have a file, mine is called 0 (zero) and has a string
BE3F54183E87C68EC26E86A5748A77D2

2) I disagree on your assertion that cups is not running.

did you try to connect to it as.your third last line shows cups is listening on localhost
I [19/Feb/2008:16:02:32 -0800] Listening to 127.0.0.1:631 on fd 0

3) also look at /var/run/cups I have a file called 'cups.sock' which is the socket file.
 
Old 02-21-2008, 12:02 AM   #6
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Original Poster
Rep: Reputation: 57
1) Yes I do have a file in there and its 21E65052089F9759C254FCD8409945D6
2)I cannot connect to localhost:631
3)yes I have a file called cups.sock in /var/run/cups
 
Old 02-21-2008, 12:09 AM   #7
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,489

Rep: Reputation: Disabled
"ps -e | grep cupsd" to see if cups is in fact running.

Brian
 
Old 02-21-2008, 12:17 AM   #8
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by BCarey View Post
"ps -e | grep cupsd" to see if cups is in fact running.

Brian
root@darkstar:/var/run/cups# ps -e | grep cupsd
root@darkstar:/var/run/cups#
 
Old 02-21-2008, 12:58 AM   #9
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,489

Rep: Reputation: Disabled
/etc/rc.d/rc.cups start

What error messages/log messages?

Brian
 
Old 02-21-2008, 02:09 AM   #10
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
yeah good one Brian

plus did you make any changes to your firewall, I still think cups is listening but you can not get to it.
 
Old 02-21-2008, 02:14 AM   #11
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
just found this which may be useful for slackers

http://www.linuxquestions.org/questi...563#post390563
 
Old 02-21-2008, 06:06 PM   #12
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by BCarey View Post
/etc/rc.d/rc.cups start

What error messages/log messages?

Brian
bash-3.1# /etc/rc.d/rc.cups start
cups: started scheduler. [ OK ]
bash-3.1#
the log messages I posted in post #1

Quote:
Originally Posted by aus9 View Post
yeah good one Brian

plus did you make any changes to your firewall, I still think cups is listening but you can not get to it.
I have not made any changes to my firewall that I can think off, I change my router configuration recently but the router shouldn't effect it and this was after this started happening
 
Old 02-21-2008, 06:29 PM   #13
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
Code:
su
ifconfig
should give at least the loopback ......127.0.0.1 and maybe the ethernet device.
 
Old 02-21-2008, 06:36 PM   #14
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by aus9 View Post
Code:
su
ifconfig
should give at least the loopback ......127.0.0.1 and maybe the ethernet device.
Code:
bash-3.1# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:91 errors:0 dropped:0 overruns:0 frame:0
          TX packets:91 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4612 (4.5 KiB)  TX bytes:4612 (4.5 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:03:2F:3A:DD:31
          inet addr:192.168.0.103  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::203:2fff:fe3a:dd31/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14712 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9137 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:16986204 (16.1 MiB)  TX bytes:1002360 (978.8 KiB)
 
Old 02-22-2008, 04:35 AM   #15
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
ok thanks for that, your local is the same as mine, I use wired ethernet and you have wide lan I assume.

lets go back to your cups error.

try
http://localhost:631/

http://h1.ripway.com/aus9/cups.png

then re-run ifconfig with root powers and your counts should increase.

EDIT

I mean the TX and RX should increase and have no errors

2) Can you name your firewall please and with some firewalls you can see their rulesets.

Last edited by aus9; 02-22-2008 at 06:17 AM.
 
  


Reply

Tags
cups, printer, slackware


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
Suse CUPS error: cups(File)DoRequest error:client-error-bad-request smdonelan Linux - Hardware 6 04-17-2007 07:46 PM
cups error: "error-client-not-possible MAGOVIA Linux - Newbie 4 06-19-2005 12:44 AM
cups Error "CUPS daemon has died" susesarus Linux - Software 2 08-21-2004 04:43 PM
Slackware 9 and CUPS (CUPS=crap) - printing carboncopy Slackware 21 07-29-2003 04:27 PM
cups and slackware 9 deNiro Slackware 6 07-07-2003 01:31 AM


All times are GMT -5. The time now is 10:01 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