client-error-not-possible | Help please

Anonymous anonymous at easysw.com
Mon Dec 12 00:09:28 PST 2005


> Hi Guys,
>
> I have been totally unable to troubleshoot this one.
>
> I'm running a Slackware 10.2 jobbie. Running Cups as scheduler.
> Printing locally poses no problems.
> Printer queue is set up for a HP laserjet 5L.
> Device hangs off of /dev/lp0
>
> Now, I want to share the printer on my lan.
> The remote client is a Mac, running OS-X.
> On the mac I've added a queue, configured it for the HP laserjet 5 printer.
>
> On the Print server, I now create a new printer definition (using the cups web interface, http://127.0.0.1:631/)
> This new printer will point to /dev/lp0 as well, but now I'm using "raw" (as the formatting will be done by the mac)
>
> Now, creating a printer is easy peasy using the web interface.
> Clicking on modify, allows me to change the description fields and all that. But...
> When I click on the "Configure" button, I get the client-error-not-possible error message in the web interface.
>
> Eek....
>
> At this point, it probably won't surprise you when I mention that when I send the printer a job from the mac client, the client gets the same error meessage.
>
> The log file shows:
> d [11/Dec/2005:] ReadClient: 5, used=0, file=-1
> D [11/Dec/2005:] ReadClient: 5 GET /favicon.ico HTTP/1.1
> d [11/Dec/2005:] decode_auth(0x4030a008): Authorization string = "Basic cm9vdDpuZXRsYW4"
> d [11/Dec/2005:] decode_auth: 5 username="root"
> d [11/Dec/2005:] IsAuthorized: con->uri = "/favicon.ico"
> d [11/Dec/2005:] FindBest: uri = "/favicon.ico"...
> d [11/Dec/2005:] FindBest: Location CUPS_INTERNAL_BROWSE_ACL Limit 0
> d [11/Dec/2005:] FindBest: Location / Limit 7f
> d [11/Dec/2005:] FindBest: Location /printers/Laser Limit 7f
> d [11/Dec/2005:] FindBest: Location /admin Limit 7f
> d [11/Dec/2005:] FindBest: best = "/"
> d [11/Dec/2005:] IsAuthorized: auth = 0, satisfy=0...
> d [11/Dec/2005:] get_file: 5 filename=/usr/share/doc/cups/favicon.ico size=-1
> D [11/Dec/2005:] SendError: 5 code=404 (Not Found)
> D [11/Dec/2005:] CloseClient: 5
> d [11/Dec/2005:] CloseClient: Removing fd 5 from InputSet and OutputSet...
>
> cupsd.conf:
> I had hoped to get by with just:
>
> <Location />
> AuthType None
> Order Deny,Allow
> Deny From All
> Allow From 127.0.0.1
> Allow from @LOCAL # allow from local lan
> </Location>
>
> Then added:
>
> <Location /printers/Laser>
> ## Anonymous access (default)
> AuthType None
> ## Restrict access to local domain
> Order Deny,Allow
> Deny From All
> Allow From 192.168.1.0/24
>
> </Location>
>
>
> I'm stumped.
>
> Please nudge me on a bit :)
>
> Bye,
> Max Hipshot
>

Hi,

I had a similar problem in Mandriva, when updating to 1.2svn cups, my printer didn't respond or print.

In cupds.conf:
Listen *:631
Listen /var/run/cups/cups.sock

I replaced those two lines by:

Port 631

And all worked again..

See if it can help you, as I don't know slackware

Laurent




More information about the cups mailing list