Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CUPS has stopped working for me in 2.6.18-gentoo-r3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
slippy3
n00b
n00b


Joined: 04 Nov 2006
Posts: 8

PostPosted: Sun Dec 24, 2006 7:12 am    Post subject: CUPS has stopped working for me in 2.6.18-gentoo-r3 Reply with quote

I re-emerged cups after building the latest kernel. Any tips would be appreciated. Don't know if it is relevant, but I did emerge hplip, as I am also trying to get a scanner working. Here is the error log (the last two lines are I believe the relevant ones):

# cat /var/log/cups/error_log
I [24/Dec/2006:01:09:42 -0600] Saving job cache file "/var/cache/cups/job.cache"...
I [24/Dec/2006:01:09:42 -0600] Listening to 127.0.0.1:631 (IPv4)
I [24/Dec/2006:01:09:42 -0600] Listening to ::1:631 (IPv6)
W [24/Dec/2006:01:09:42 -0600] "AuthClass System" is deprecated; consider using "Require @SYSTEM" on line 833.
I [24/Dec/2006:01:09:42 -0600] Loaded configuration file "/etc/cups/cupsd.conf"
N [24/Dec/2006:01:09:42 -0600] Group and SystemGroup cannot use the same groups!
I [24/Dec/2006:01:09:42 -0600] Resetting Group to "nobody"...
I [24/Dec/2006:01:09:42 -0600] Using default TempDir of /var/spool/cups/tmp...
I [24/Dec/2006:01:09:42 -0600] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [24/Dec/2006:01:09:42 -0600] Configured for up to 100 clients.
I [24/Dec/2006:01:09:42 -0600] Allowing up to 100 client connections per host.
I [24/Dec/2006:01:09:42 -0600] Creating CUPS default administrative policy:
I [24/Dec/2006:01:09:42 -0600] <Policy default>
I [24/Dec/2006:01:09:42 -0600] <Limit Send-Document Send-URI Cancel-Job Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Authenticate-Job>
I [24/Dec/2006:01:09:42 -0600] Order Deny,Allow
I [24/Dec/2006:01:09:42 -0600] Require user @OWNER @SYSTEM
I [24/Dec/2006:01:09:42 -0600] </Limit>
I [24/Dec/2006:01:09:42 -0600] <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
I [24/Dec/2006:01:09:42 -0600] Order Deny,Allow
I [24/Dec/2006:01:09:42 -0600] AuthType Basic
I [24/Dec/2006:01:09:42 -0600] Require user @SYSTEM
I [24/Dec/2006:01:09:42 -0600] </Limit>
I [24/Dec/2006:01:09:42 -0600] <Limit All>
I [24/Dec/2006:01:09:42 -0600] Order Deny,Allow
I [24/Dec/2006:01:09:42 -0600] </Limit>
I [24/Dec/2006:01:09:42 -0600] </Policy>
I [24/Dec/2006:01:09:42 -0600] Full reload is required.
I [24/Dec/2006:01:09:42 -0600] Loaded MIME database from '/etc/cups': 34 types, 39 filters...
I [24/Dec/2006:01:09:42 -0600] Loading job cache file "/var/cache/cups/job.cache"...
I [24/Dec/2006:01:09:42 -0600] Full reload complete.
E [24/Dec/2006:01:09:42 -0600] Unable to find IP address for server name "shaunlippy"!
I [24/Dec/2006:01:09:42 -0600] Listening to 127.0.0.1:631 on fd 2...
E [24/Dec/2006:01:09:42 -0600] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
_________________
Shaun Lippy
slippy@operamail.com

What's the difference between a banjo and a fish?
You can tuna fish!
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sun Dec 24, 2006 12:15 pm    Post subject: Re: CUPS has stopped working for me in 2.6.18-gentoo-r3 Reply with quote

slippy3 wrote:
Code:
E [24/Dec/2006:01:09:42 -0600] Unable to find IP address for server name "shaunlippy"!
I [24/Dec/2006:01:09:42 -0600] Listening to 127.0.0.1:631 on fd 2...
E [24/Dec/2006:01:09:42 -0600] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
The first error shows that the name "shaunlippy" can't be converted into an IP address, it's a DNS error.

If it's an address on your local network, then you can get it found by adding something like
Code:
192.168.3.102 shaunlippy
to your /etc/hosts file.

The second "error" is really just a warning: the address "::1:631" is an IPv6 address and, like most people, you haven't got support for IPv6 in your kernel.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
slippy3
n00b
n00b


Joined: 04 Nov 2006
Posts: 8

PostPosted: Sun Dec 24, 2006 8:17 pm    Post subject: Reply with quote

Ok, I rebuilt my kernel to include IPv6 support, and that gets rid of the second error, just as the previous poster stated. I also added shaunlippy to my /etc/hosts file, and that gets rid of that error.

I still can't print, though. Some further notes:

1. When I try to open http://localhost:631/, I get a 404 error in my browser. Previously, using the browser to configure my CUPS settings was how I
got printing to work. It was really quite easy.
2. Futher error information from CUPS, in /etc/cups/printers.conf (I've bolded what I believe to be the relevant information):

# Printer configuration file for CUPS v1.2.6
# Written by cupsd on 2006-12-24 14:03
<DefaultPrinter PSC-2175>
Info hp psc 2175 all-in-one
DeviceURI hp:/usb/PSC_2170_Series?serial=MY334C75BD73
State Stopped
StateMessage /usr/libexec/cups/backend/usb failed
StateTime 1166943894
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
_________________
Shaun Lippy
slippy@operamail.com

What's the difference between a banjo and a fish?
You can tuna fish!
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sun Dec 24, 2006 8:44 pm    Post subject: Reply with quote

slippy3 wrote:
1. When I try to open http://localhost:631/, I get a 404 error in my browser. Previously, using the browser to configure my CUPS settings was how I got printing to work. It was really quite easy.
Have a look in /var/log/cups/access_log to see whether there is any more information. Have a look in /var/log/cups/error_log too, there might be an explanation there.

Can you ping localhost?

If nothing helps, move your existing /etc/cups to /etc/cups-saved and emerge cups again, reinstalling your printer. Alternatively, you can try just saving your existing cupsd.conf and copying cupsd.conf.default to cupsd.conf instead.
slippy3 wrote:
2. Futher error information from CUPS, in /etc/cups/printers.conf (I've bolded what I believe to be the relevant information):
LinuxPrinting.org recommends (http://linuxprinting.org/show_printer.cgi?recnum=HP-PSC_2175 hpijs for this printer though it also says
Quote:
For advanced functionality such as printer status, maintenance features, scanning and photo card unload use the HPLIP driver
and has a PPD file you can download. There are also generic CUPS installation instructions which might be helpful.

Perhaps you have done all this already, in that case, switch on the printer, make sure it is plugged in to a USB port, check /var/log/messages to see that the kernel has seen it and then run
Code:
lpinfo -l -v
to see if CUPS can see it.

I am puzzled to see the printer URI
Code:
hp:/usb/PSC_2170_Series?serial=MY334C75BD73
as then it should be using the "hp" backend, not /usr/libexec/cups/backend/usb.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
slippy3
n00b
n00b


Joined: 04 Nov 2006
Posts: 8

PostPosted: Sun Dec 24, 2006 11:01 pm    Post subject: Reply with quote

Ok, rather than messing around any further, I simply started from scratch. I'm still a little curious as to what I did to cause my troubles, but one of the reasons I chose Gentoo over other distributions was the ease with which you can try a number of different solutions to fix a problem.

Thanks, wynn, for the assist. My knowledge of Gentoo trouble shooting has increased as a result of this little problem.
_________________
Shaun Lippy
slippy@operamail.com

What's the difference between a banjo and a fish?
You can tuna fish!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum