CUPS web admin problem

Martin Duclos tchitow-PkbjNfxxIARBDgjK7y7TUQ at public.gmane.org
Fri Jul 9 19:31:34 UTC 2004


Hi Guys,

I've been trying to get cups 1.1.14-15.4 working on a redhat 7.3 machine. 
More acurately, I am trying to use the admin tool from a remote machine. I 
do have the Allow From All in the root and the admin location. The problem 
is when I try to configure a printer from the webbrowser admin tool. I can 
select add printer. I see the first page so I enter the name the location 
and the description. When I click continue, nothing happens. I get the 
following output in my cups/error_log

E [09/Jul/2004:11:05:46 -0400] ReadClient() 3 IPP Read Error!
d [09/Jul/2004:11:15:50 -0400] AcceptClient(0807bd00) 0 NumClients = 0
D [09/Jul/2004:11:15:50 -0400] AcceptClient() 3 from martin.home:631.
d [09/Jul/2004:11:15:50 -0400] AcceptClient: Adding fd 3 to InputSet...
D [09/Jul/2004:11:15:50 -0400] ReadClient() 3 POST /admin HTTP/1.1
d [09/Jul/2004:11:15:50 -0400] decode_auth(402ff008): Authorization string = 
"Basic cm9vdDo2Mzl6N3lrMDY2"
d [09/Jul/2004:11:15:50 -0400] decode_auth() 3 username="root"
d [09/Jul/2004:11:15:50 -0400] IsAuthorized: con->uri = "/admin"
d [09/Jul/2004:11:15:50 -0400] FindBest: uri = "/admin"...
d [09/Jul/2004:11:15:50 -0400] FindBest: Location / Limit 7f
d [09/Jul/2004:11:15:50 -0400] FindBest: Location /admin Limit 7f
d [09/Jul/2004:11:15:50 -0400] FindBest: best = "/admin"
d [09/Jul/2004:11:15:50 -0400] IsAuthorized: auth = 0, satisfy=0...
d [09/Jul/2004:11:15:50 -0400] IsAuthorized: username = "root" password = 10 
chars
d [09/Jul/2004:11:15:50 -0400] IsAuthorized: Checking "root", address = 
c0a8029c, hostname = "martin.home"
d [09/Jul/2004:11:15:50 -0400] POST /admin
d [09/Jul/2004:11:15:50 -0400] CONTENT_TYPE = 
application/x-www-form-urlencoded
d [09/Jul/2004:11:15:50 -0400] ReadClient() 3 
command="/usr/lib/cups/cgi-bin/admin.cgi", options = ""
d [09/Jul/2004:11:15:50 -0400] ReadClient() 3 con->data_encoding = length, 
con->data_remaining = 107, con->file = 0
E [09/Jul/2004:11:15:50 -0400] ReadClient() 3 IPP Read Error!
D [09/Jul/2004:11:15:50 -0400] CloseClient() 3
d [09/Jul/2004:11:15:50 -0400] CloseClient: Removing fd 3 from InputSet and 
OutputSet...
d [09/Jul/2004:11:15:51 -0400] AcceptClient(0807bd00) 0 NumClients = 0
D [09/Jul/2004:11:15:51 -0400] AcceptClient() 3 from martin.home:631.
d [09/Jul/2004:11:15:51 -0400] AcceptClient: Adding fd 3 to InputSet...
D [09/Jul/2004:11:15:51 -0400] ReadClient() 3 POST /admin HTTP/1.1
d [09/Jul/2004:11:15:51 -0400] decode_auth(402ff008): Authorization string = 
"Basic cm9vdDo2Mzl6N3lrMDY2"
d [09/Jul/2004:11:15:51 -0400] decode_auth() 3 username="root"
d [09/Jul/2004:11:15:51 -0400] IsAuthorized: con->uri = "/admin"
d [09/Jul/2004:11:15:51 -0400] FindBest: uri = "/admin"...
d [09/Jul/2004:11:15:51 -0400] FindBest: Location / Limit 7f
d [09/Jul/2004:11:15:51 -0400] FindBest: Location /admin Limit 7f
d [09/Jul/2004:11:15:51 -0400] FindBest: best = "/admin"
d [09/Jul/2004:11:15:51 -0400] IsAuthorized: auth = 0, satisfy=0...
d [09/Jul/2004:11:15:51 -0400] IsAuthorized: username = "root" password = 10 
chars
d [09/Jul/2004:11:15:51 -0400] IsAuthorized: Checking "root", address = 
c0a8029c, hostname = "martin.home"
d [09/Jul/2004:11:15:51 -0400] POST /ad [09/Jul/2004:11:15:51 -0400] 
ReadClient() 3 command="/usr/lib/cups/cgi-bin/admin.cgi", options = ""
d [09/Jul/2004:11:15:51 -0400] ReadClient() 3 con->data_encoding = length, 
con->data_remaining = 108, con->file = 0
E [09/Jul/2004:11:15:51 -0400] ReadClient() 3 IPP Read Error!
D [09/Jul/2004:11:15:51 -0400] CloseClient() 3
d [09/Jul/2004:11:15:51 -0400] CloseClient: Removing fd 3 from InputSet and 
OutputSet...
d [09/Jul/2004:11:15:51 -0400] AcceptClient(0807bd00) 0 NumClients = 0
D [09/Jul/2004:11:15:51 -0400] AcceptClient() 3 from martin.home:631.
d [09/Jul/2004:11:15:51 -0400] AcceptClient: Adding fd 3 to InputSet...
D [09/Jul/2004:11:15:51 -0400] ReadClient() 3 POST /admin HTTP/1.1
d [09/Jul/2004:11:15:51 -0400] decode_auth(402ff008): Authorization string = 
"Basic cm9vdDo2Mzl6N3lrMDY2"
d [09/Jul/2004:11:15:51 -0400] decode_auth() 3 username="root"
d [09/Jul/2004:11:15:51 -0400] IsAuthorized: con->uri = "/admin"
d [09/Jul/2004:11:15:51 -0400] FindBest: uri = "/admin"...
d [09/Jul/2004:11:15:51 -0400] FindBest: Location / Limit 7f
d [09/Jul/2004:11:15:51 -0400] FindBest: Location /admin Limit 7f
d [09/Jul/2004:11:15:51 -0400] FindBest: best = "/admin"
d [09/Jul/2004:11:15:51 -0400] IsAuthorized: auth = 0, satisfy=0...
d [09/Jul/2004:11:15:51 -0400] IsAuthorized: username = "root" password = 10 
chars
d [09/Jul/2004:11:15:51 -0400] IsAuthorized: Checking "root", address = 
c0a8029c, hostname = "martin.home"
d [09/Jul/2004:11:15:51 -0400] POST /admin
d [09/Jul/2004:11:15:51 -0400] CONTENT_TYPE = 
application/x-www-form-urlencoded
d [09/Jul/2004:11:15:51 -0400] ReadClient() 3 
command="/usr/lib/cups/cgi-bin/admin.cgi", options = ""
d [09/Jul/2004:11:15:51 -0400] ReadClient() 3 con->data_encoding = length, 
con->data_remaining = 108, con->file = 0
E [09/Jul/2004:11:15:51 -0400] ReadClient() 3 IPP Read Error!
D [09/Jul/2004:11:15:51 -0400] CloseClient() 3
d [09/Jul/2004:11:15:51 -0400] CloseClient: Removing fd 3 from InputSet and 
OutputSet...
dmin
d [09/Jul/2004:11:15:51 -0400] CONTENT_TYPE = 
application/x-www-form-urlencoded

Looking at the access_log file I get this:

martin.home - root [09/Jul/2004:11:05:17 -0400] "GET /admin HTTP/1.1" 200 0
martin.home - root [09/Jul/2004:11:05:17 -0400] "GET /admin HTTP/1.1" 200 
2851
martin.home - root [09/Jul/2004:11:05:17 -0400] "GET /images/left.gif 
HTTP/1.1" 304 0
martin.home - root [09/Jul/2004:11:05:17 -0400] "GET /images/add-class.gif 
HTTP/1.1" 304 0
martin.home - root [09/Jul/2004:11:05:17 -0400] "GET /images/right.gif 
HTTP/1.1" 304 0
martin.home - root [09/Jul/2004:11:05:17 -0400] "GET 
/images/manage-classes.gif HTTP/1.1" 304 0
martin.home - root [09/Jul/2004:11:05:17 -0400] "GET /images/manage-jobs.gif 
HTTP/1.1" 304 0
martin.home - root [09/Jul/2004:11:05:17 -0400] "GET /images/add-printer.gif 
HTTP/1.1" 304 0
martin.home - root [09/Jul/2004:11:05:17 -0400] "GET 
/images/manage-printers.gif HTTP/1.1" 304 0
martin.home - root [09/Jul/2004:11:05:21 -0400] "GET /admin/?op=add-printer 
HTTP/1.1" 200 0
martin.home - root [09/Jul/2004:11:05:21 -0400] "GET /admin/?op=add-printer 
HTTP/1.1" 200 2386
martin.home - root [09/Jul/2004:11:05:21 -0400] "GET /images/continue.gif 
HTTP/1.1" 304 0

TIA

Martin

_________________________________________________________________
MSN Premium helps eliminate e-mail viruses. Get 2 months FREE*  
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list