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) |
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 |
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 ?
|
Quote:
Quote:
I doubt that it is a hardware failure because that shouldn't stop cups from running, AFAIK |
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. |
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 |
"ps -e | grep cupsd" to see if cups is in fact running.
Brian |
Quote:
root@darkstar:/var/run/cups# |
/etc/rc.d/rc.cups start
What error messages/log messages? Brian |
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. |
just found this which may be useful for slackers
http://www.linuxquestions.org/questi...563#post390563 |
Quote:
cups: started scheduler. [ OK ] bash-3.1# the log messages I posted in post #1 Quote:
|
Code:
su |
Quote:
Code:
bash-3.1# ifconfig |
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. |
ok while waiting I had another look at my /etc/cups/cupsd.conf
do you have these lines? # Only listen for connections from the local machine. Listen *:631 Listen /var/run/cups/cups.sock then when I read authenication lines I remembered that I set mine up to allow all users, so maybe you need to su issue web browser command eg firefox, opera, konqueror then in address try http://localhost:631/ |
Quote:
2) I just use the firewall provided by my D-Link wireless router, I don't think the router would affect connecting to myself though, considering I could connect to localhost:631 before Quote:
|
1) good to hear you could previously connect to localhost
2) have not researched your diffenent cups file but I am interested in that you have no software firewall and have a router firewall. I am now thinking, even tho I have a diff router, maybe you can look at those settings eg http://h1.ripway.com/aus9/router1.png http://h1.ripway.com/aus9/router2.png it does not take much to close off the web browser itself, I found out. So maybe, you can re-check your settings? 3) EDIT....oops I also meant for you to look deeper into your cups file at the authentication # Restrict access to the server... <Location /> Allow @LOCAL Order allow,deny Allow localhost </Location> |
ok a quick look at
http://www.cups.org/documentation.ph...upsd-conf.html can you post your full cups conf file please? 2) the other thing you could try is backup your file and use mine? http://h1.ripway.com/aus9/cupsd.conf but you will need to stop and restart this service |
Quote:
3)I changed it do look exactly like that and no dice |
I have just done some edits FYI.
|
|
in case you have changed your hostnames try this...as other info as well
http://wiki.archlinux.org/index.php/CUPS_Setup |
CUPS config file
Code:
# looking at those links now |
some more lite reading for u
http://www.linuxquestions.org/questi...53#post3035253 I know u use slack and so unlikely to use Selinux but a number of distros have similar security tools...apparmor....bastille.....so you may be growing tired of me, but did you install or config any of these beasts? |
ok my last thoughts while I wait for any replies
Mandriva to the rescue of slack!!! http://mandrivausers.org/lofiversion...hp/t40639.html refer last post the long one. or second best?? http://www.linuxquestions.org/questi...317/page2.html read the lot sorry |
I have not installed any apparmor or SELinux or anything like that
reading those links now |
All times are GMT -5. The time now is 06:27 PM. |