Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
02-19-2008, 06:13 PM
|
#1
|
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Rep:
|
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?
|
|
|
|
02-19-2008, 11:31 PM
|
#2
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
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
|
|
|
|
02-20-2008, 01:49 PM
|
#3
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,623
|
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 ?
|
|
|
|
02-20-2008, 05:11 PM
|
#4
|
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Original Poster
Rep:
|
Quote:
Originally Posted by aus9
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
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
|
|
|
|
02-20-2008, 10:50 PM
|
#5
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
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.
|
|
|
|
02-20-2008, 11:02 PM
|
#6
|
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Original Poster
Rep:
|
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
|
|
|
|
02-20-2008, 11:09 PM
|
#7
|
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,358
Rep: 
|
"ps -e | grep cupsd" to see if cups is in fact running.
Brian
|
|
|
|
02-20-2008, 11:17 PM
|
#8
|
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Original Poster
Rep:
|
Quote:
Originally Posted by BCarey
"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#
|
|
|
|
02-20-2008, 11:58 PM
|
#9
|
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,358
Rep: 
|
/etc/rc.d/rc.cups start
What error messages/log messages?
Brian
|
|
|
|
02-21-2008, 01:09 AM
|
#10
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
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.
|
|
|
|
02-21-2008, 01:14 AM
|
#11
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
|
|
|
|
02-21-2008, 05:06 PM
|
#12
|
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Original Poster
Rep:
|
Quote:
Originally Posted by BCarey
/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
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
|
|
|
|
02-21-2008, 05:29 PM
|
#13
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
should give at least the loopback ......127.0.0.1 and maybe the ethernet device.
|
|
|
|
02-21-2008, 05:36 PM
|
#14
|
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Original Poster
Rep:
|
Quote:
Originally Posted by aus9
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)
|
|
|
|
02-22-2008, 03:35 AM
|
#15
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
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 05:17 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:02 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|