Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CUPS w/ HPIJS: Can't configure printer (via web-interface)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
epretorious
Apprentice
Apprentice


Joined: 04 Jul 2003
Posts: 191
Location: Truckee, CA

PostPosted: Tue Oct 04, 2005 1:13 am    Post subject: CUPS w/ HPIJS: Can't configure printer (via web-interface) Reply with quote

I've installed CUPS (cups-1.1.23-r1) with Ghostscript (ghostscript-7.07.1-r8), foomatic-filters (foomatic-filters-3.0.2) & foomatic-db-engine (foomatic-db-engine-3.0.2), and HPIJS (hpijs-1.7.1). Everything seems to work just fine (i.e., I can add my HP LaserJet 4P correctly) except that I can not configure the printer. i.e., When I select "Configure Printer" through the web interface, CUPS complains...
Code:
Admin

Error:

server-error-service-unavailable

...and in the CUPS log file:
Code:
Oct  3 17:06:12 gateway cupsd[7432]: CloseClient: 7
Oct  3 17:06:12 gateway cupsd[7432]: AcceptClient: 7 from 172.16.1.99:631.
Oct  3 17:06:12 gateway cupsd[7432]: ReadClient: 7 GET /admin/?op=config-printer&printer_name=LaserJet HTTP/1.1
Oct  3 17:06:12 gateway cupsd[7432]: CGI /usr/lib/cups/cgi-bin/admin.cgi started - PID = 6095
Oct  3 17:06:12 gateway cupsd[7432]: Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=6095)
Oct  3 17:06:12 gateway cupsd[7432]: SendCommand: 7 file=11
Oct  3 17:06:12 gateway cupsd[7432]: AcceptClient: 9 from localhost:631.
Oct  3 17:06:12 gateway cupsd[7432]: AcceptClient: 12 from localhost:631.
Oct  3 17:06:12 gateway cupsd[7432]: ReadClient: 12 POST / HTTP/1.1
Oct  3 17:06:12 gateway cupsd[7432]: ProcessIPPRequest: 12 status_code=0
Oct  3 17:06:13 gateway cupsd[7432]: CloseClient: 9
Oct  3 17:06:13 gateway cupsd[7432]: CloseClient: 12
Oct  3 17:07:14 gateway cupsd[7432]: CloseClient: 7

FWIW: These sections of /etc/cups/cupsd.conf seem relevant:
Code:
BrowseAddress @IF(eth1)
BrowseAddress @IF(eth2)
BrowseAllow @IF(eth1)
BrowseAllow @IF(eth2)

<Location /admin>
AuthType Digest
AuthClass Group
AuthGroupName admin
Order Deny,Allow
Deny From All
Allow From @IF(eth1)
Allow From @IF(eth2)
</Location>

(The machine acts as a masquerading firewall for two private LAN's - eth1 & eth2.)

Have I overlooked something in the installation/configuration of CUPS/HPIJS?
_________________
Eric P.
Sunnyvale, CA


Last edited by epretorious on Tue Oct 04, 2005 6:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
epretorious
Apprentice
Apprentice


Joined: 04 Jul 2003
Posts: 191
Location: Truckee, CA

PostPosted: Tue Oct 04, 2005 5:59 pm    Post subject: Reply with quote

Never mind: The problem seems to have resolved itself. i.e., I made some miscellaneous changes to /etc/cups/cupsd.conf and the problem went away. :?
_________________
Eric P.
Sunnyvale, CA
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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