Bug 430079 - system-config-printer: CUPS server error: "server-error-server-unavilable"
Summary: system-config-printer: CUPS server error: "server-error-server-unavilable"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-24 13:46 UTC by Rick Richardson
Modified: 2008-01-25 10:22 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-25 10:22:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
/var/log/cups/error_log (560.03 KB, application/octet-stream)
2008-01-24 16:38 UTC, Rick Richardson
no flags Details

Description Rick Richardson 2008-01-24 13:46:25 UTC
If I "Goto to Sever" on amd.rkkda.org root/PASSWORD,  I get a list of all
printers on that server, with URI, etc. filled in.  So far, so good.

If I click on "2430" or "2430s" or "mc5430", all is well and see "Printer Options.
State is Enabled, Accepting Jobs, but NO Shared.

If I click on the others (about 20 printers), e.g. "hp2600", I get the
"server-error-server-unavilable", and NO "Printer Options" is displayed'.
State is Enabled, Accepting Jobs, and Shared.

Comment 1 Rick Richardson 2008-01-24 13:48:44 UTC
Oh yeah.

amd.rkkda.com is FC5.
dual.rkkda.com is FC8.


Comment 2 Rick Richardson 2008-01-24 13:49:58 UTC
Excuse me...

amd.rkkda.org is FC5.
dual.rkkda.org is FC8.

Comment 3 Rick Richardson 2008-01-24 15:01:35 UTC
http://www.rkkda.com/tmp/bug430079/

screenshots

1 - dual 
2 - dual remote printer clp300.  Error.
3 - Goto server 'amd'. 
4 - click on '2430'.  Note Printer Options.
5 - click on 'clp300'.  Error.
6 - Hit OK.  Note no printer options.

Comment 4 Tim Waugh 2008-01-24 15:27:21 UTC
What does this say when you run it?:

python <<"EOF"
import cups
cups.setServer("amd.rkkda.org")
c=cups.Connection()
print c.getPPD("clp300")
EOF


Comment 5 Rick Richardson 2008-01-24 15:52:01 UTC
From dual.rkkda.org:

$ python <<"EOF"
> import cups
> cups.setServer("amd.rkkda.org")
> c=cups.Connection()
> print c.getPPD("clp300")
> EOF
Traceback (most recent call last):
  File "<stdin>", line 4, in <module>
cups.IPPError: (1282, 'server-error-service-unavailable')

But, where is the login=root password=PASSWORD???


Comment 6 Rick Richardson 2008-01-24 15:56:57 UTC
Oh yeah:  "Help" -> "About". No real help at all.
Should I want to file a Bug Report on this???

Comment 7 Rick Richardson 2008-01-24 16:06:44 UTC
$ uname -a
Linux amd.rkkda.org 2.6.20-1.2320.fc5 #1 SMP Tue Jun 12 18:50:49 EDT 2007 x86_64
x86_64 x86_64 GNU/Linux

$ pwd
/etc/cups

$ ll ppd/clp300.ppd 
-rw-r--r-- 1 root root 22765 Dec 17 11:37 ppd/clp300.ppd
$ 



Comment 8 Tim Waugh 2008-01-24 16:20:42 UTC
(In reply to comment #6)
> Oh yeah:  "Help" -> "About". No real help at all.
> Should I want to file a Bug Report on this???

It's Help->About -- it's just meant to tell you the version number.  No-one has
written any on-line help for system-config-printer yet, unfortunately.

Comment 9 Tim Waugh 2008-01-24 16:23:29 UTC
I need to see debugging information from amd.rkkda.org.  Here's how to get it
(all commands are to be run on amd.rkkda.org):

1. Edit /etc/cups/cupsd.conf and change the 'LogLevel' line to read:

LogLevel debug2

2. Stop CUPS:

/sbin/service cups stop

3. Clear out the error log file:

>/var/log/cups/error_log

4. Start CUPS again:

/sbin/service cups start

Now, on dual.rkkda.org, run the python script from comment #4 again, and
finally, please attach the /var/log/cups/error_log file from amd.rkkda.org.

Comment 10 Rick Richardson 2008-01-24 16:38:28 UTC
Created attachment 292812 [details]
/var/log/cups/error_log

Now, on dual.rkkda.org, run the python script from comment #4 again, and
finally, please attach the /var/log/cups/error_log file from amd.rkkda.org.

Comment 11 Tim Waugh 2008-01-24 16:55:40 UTC
d [24/Jan/2008:10:34:13 -0600] cupsdAuthorize: con->uri="/printers/clp300.ppd",
con->best=0x5555556b78d0(/printers/clp300)
d [24/Jan/2008:10:34:13 -0600] cupsdAuthorize: Authorization=""
D [24/Jan/2008:10:34:13 -0600] cupsdAuthorize: No authentication data provided.
d [24/Jan/2008:10:34:13 -0600] cupsdIsAuthorized:
con->uri="/printers/clp300.ppd", con->best=0x5555556b78d0(/printers/clp300)
d [24/Jan/2008:10:34:13 -0600] cupsdIsAuthorized: level=AUTH_ANON,
type=AUTH_NONE, satisfy=AUTH_SATISFY_ALL, num_names=0
d [24/Jan/2008:10:34:13 -0600] cupsdIsAuthorized: auth=AUTH_DENY...
d [24/Jan/2008:10:34:13 -0600] cupsdReadClient: Unauthorized request for
/printers/clp300.ppd...
D [24/Jan/2008:10:34:13 -0600] cupsdSendError: 9 code=403 (Forbidden)

So it's a configuration of the server to deny us read access to that PPD.

Comment 12 Rick Richardson 2008-01-24 17:24:24 UTC
Server should say
'denied read access to the PPD'

instead of
"server-error-server-unavilable",

The server is available.




Comment 13 Rick Richardson 2008-01-24 17:29:02 UTC
Also...

the "shared" status is wrong.  It should be the opposite!!!!

E.G. 2430 is "not shared" when in fact it is "shared", and vice-versa for the
clp300!!!!

Comment 14 Rick Richardson 2008-01-24 19:05:54 UTC
You know, ALL of those non-shared printers should be eliminated from the list!
E.G. 2430, 2430s, and mc5430 should be the only ones from amd.rkkda.org!  All
other printers shouldn't appear in the list (e.g. clp300).

What do you think?

Comment 15 Tim Waugh 2008-01-25 10:22:17 UTC
Yes, they should.  It's a problem of the server though -- it is advertising
queues that are not accessible.  Upgrade from Fedora Core 5 to something that's
currently supported and that will be fixed. ;-)


Note You need to log in before you can comment on or make changes to this bug.