[Glastonbury] My CUPS floweth not ...

tim hall tech at glastonburymusic.org.uk
Thu Nov 11 19:10:03 GMT 2004


Last Thursday 11 November 2004 18:14, Andrew M.A. Cater was like:
> On Thu, Nov 11, 2004 at 12:55:46PM +0000, tim hall wrote:
> > Thanks for all the responses. Getting closer ...
> >
> > I don't have USB currently enabled. (interrupt conflicts with soundcard)
> > is it generally regarded as being 'better' than parallel port for
> > printers?
>
> I found it automagically easier - your mileage may vary :)

Might try it if I carry on getting no joy with the parallel

> > As I'm using Apache locally, do I need to configure it to allow scripts
> > to run from /usr/lib/cups/cgi-bin/ ? Would this account for the web
> > interface not working?
>
> If cups is installed - just go to localhost port 631 -
> http://localhost:631 and you should get a printer admin page.  Login as
> root and put in your root password.

If only it were that easy ...

> > The error_log give this:
> >  PPD file for lexmark-z53 cannot be loaded!
> >  Missing PPD-Adobe-4.x header on line 0.
>
> Look inside the rpm for a .ppd file. Move it to
> /usr/share/cups/model/<name of .ppd file> and you may be away :)

It's copied the driver into /etc/cups/ppd/ I think this bit works.
I've checked through /etc/cups/cupsd.conf for permissions &c Most work except 
it doesn't seem possible to POST to /admin - see below.
-----------------------------------------------------------------------------------------------------
/var/log/cups/error_log:
-------------------------------
I [11/Nov/2004:18:47:27 +0000] Listening to 7f000001:631
I [11/Nov/2004:18:47:27 +0000] Listening to c0a80017:631
D [11/Nov/2004:18:47:27 +0000] AddLocation: added location 
'CUPS_INTERNAL_BROWSE_ACL'
D [11/Nov/2004:18:47:27 +0000] AllowIP: CUPS_INTERNAL_BROWSE_ACL allow 
00000000/00000000
D [11/Nov/2004:18:47:27 +0000] AddLocation: added location '/'
D [11/Nov/2004:18:47:27 +0000] DenyIP: / deny 00000000/00000000
D [11/Nov/2004:18:47:27 +0000] AllowIP: / allow 7f000001/ffffffff
D [11/Nov/2004:18:47:27 +0000] AllowIP: / allow c0a80017/ffffffff
D [11/Nov/2004:18:47:27 +0000] AllowHost: / allow xingta.tim.gigl
D [11/Nov/2004:18:47:27 +0000] AddLocation: added location '/jobs'
D [11/Nov/2004:18:47:27 +0000] AddLocation: added location '/admin'
D [11/Nov/2004:18:47:27 +0000] DenyIP: /admin deny 00000000/00000000
D [11/Nov/2004:18:47:27 +0000] AllowIP: /admin allow 7f000001/ffffffff
D [11/Nov/2004:18:47:27 +0000] AllowHost: /admin allow localhost
D [11/Nov/2004:18:47:27 +0000] AllowIP: /admin allow c0a80017/ffffffff
D [11/Nov/2004:18:47:27 +0000] AllowHost: /admin allow xingta.tim.gigl
I [11/Nov/2004:18:47:27 +0000] Loaded configuration file 
"/etc/cups/cupsd.conf"
I [11/Nov/2004:18:47:27 +0000] Configured for up to 23 clients.
I [11/Nov/2004:18:47:27 +0000] Allowing up to 23 client connections per host.
I [11/Nov/2004:18:47:27 +0000] Full reload is required.
D [11/Nov/2004:18:47:27 +0000] LoadAllPrinters: Loading printer lexmark-z53...
D [11/Nov/2004:18:47:27 +0000] LoadAllPrinters: Loading printer Lexmark_z53...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device 
"parallel:/dev/lp0"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "ipp"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "lpd"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "cups-pdf:/"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "socket"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "usb:/dev/usb/lp0"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "usb:/dev/usb/lp1"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "usb:/dev/usb/lp2"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "usb:/dev/usb/lp3"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "usb:/dev/usb/lp4"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "usb:/dev/usb/lp5"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "usb:/dev/usb/lp6"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "usb:/dev/usb/lp7"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "usb:/dev/usb/lp8"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "usb:/dev/usb/lp9"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device 
"usb:/dev/usb/lp10"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device 
"usb:/dev/usb/lp11"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device 
"usb:/dev/usb/lp12"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device 
"usb:/dev/usb/lp13"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device 
"usb:/dev/usb/lp14"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device 
"usb:/dev/usb/lp15"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "http"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "smb"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "epson:/dev/lp0"...
D [11/Nov/2004:18:47:28 +0000] LoadDevices: Added device "canon:/dev/lp0"...
I [11/Nov/2004:18:47:28 +0000] LoadPPDs: Read "/etc/cups/ppds.dat", 2304 
PPDs...
I [11/Nov/2004:18:47:30 +0000] LoadPPDs: No new or changed PPDs...
D [11/Nov/2004:18:47:30 +0000] LoadAllJobs: Scanning /var/spool/cups...
D [11/Nov/2004:18:47:30 +0000] LoadAllJobs: Loading attributes for job 1...
D [11/Nov/2004:18:47:30 +0000] LoadAllJobs: Loading attributes for job 2...
D [11/Nov/2004:18:47:30 +0000] LoadAllJobs: Loading attributes for job 3...
D [11/Nov/2004:18:47:30 +0000] LoadAllJobs: Loading attributes for job 4...
D [11/Nov/2004:18:47:30 +0000] LoadAllJobs: Loading attributes for job 5...
D [11/Nov/2004:18:47:30 +0000] LoadAllJobs: Loading attributes for job 6...
D [11/Nov/2004:18:47:30 +0000] LoadAllJobs: Auto-typing document file 
d00001-001...
D [11/Nov/2004:18:47:30 +0000] LoadAllJobs: Auto-typing document file 
d00002-001...
D [11/Nov/2004:18:47:30 +0000] LoadAllJobs: Auto-typing document file 
d00003-001...
D [11/Nov/2004:18:47:30 +0000] LoadAllJobs: Auto-typing document file 
d00004-001...
D [11/Nov/2004:18:47:30 +0000] LoadAllJobs: Auto-typing document file 
d00005-001...
D [11/Nov/2004:18:47:30 +0000] LoadAllJobs: Auto-typing document file 
d00006-001...
I [11/Nov/2004:18:47:30 +0000] Full reload complete.
D [11/Nov/2004:18:47:30 +0000] StartListening: NumListeners=2
D [11/Nov/2004:18:47:30 +0000] StartListening: address=7f000001 port=631
D [11/Nov/2004:18:47:30 +0000] StartListening: address=c0a80017 port=631
D [11/Nov/2004:18:47:30 +0000] ResumeListening: setting input bits...
D [11/Nov/2004:18:47:39 +0000] AcceptClient: 6 from Xingta.tim.gigl:631.
D [11/Nov/2004:18:47:39 +0000] ReadClient: 6 GET /printers HTTP/1.1
D [11/Nov/2004:18:47:39 +0000] CGI /usr/lib/cups/cgi-bin/printers.cgi started 
- PID = 8592
I [11/Nov/2004:18:47:39 +0000] Started 
"/usr/lib/cups/cgi-bin/printers.cgi" (pid=8592)
D [11/Nov/2004:18:47:39 +0000] SendCommand: 6 file=8
D [11/Nov/2004:18:47:39 +0000] AcceptClient: 9 from localhost:631.
D [11/Nov/2004:18:47:39 +0000] ReadClient: 9 POST / HTTP/1.1
D [11/Nov/2004:18:47:39 +0000] ProcessIPPRequest: 9 status_code=1
D [11/Nov/2004:18:47:39 +0000] ReadClient: 9 POST / HTTP/1.1
D [11/Nov/2004:18:47:39 +0000] ProcessIPPRequest: 9 status_code=1
D [11/Nov/2004:18:47:39 +0000] CloseClient: 9
D [11/Nov/2004:18:47:41 +0000] ReadClient: 6 
GET /admin/?op=start-printer&printer_name=lexmark-z53 HTTP/1.1
D [11/Nov/2004:18:47:41 +0000] SendError: 6 code=401 (Unauthorized)
D [11/Nov/2004:18:47:41 +0000] CloseClient: 6
D [11/Nov/2004:18:47:45 +0000] AcceptClient: 6 from Xingta.tim.gigl:631.
D [11/Nov/2004:18:47:45 +0000] ReadClient: 6 
GET /admin/?op=start-printer&printer_name=lexmark-z53 HTTP/1.1
D [11/Nov/2004:18:47:45 +0000] SendError: 6 code=401 (Unauthorized)
D [11/Nov/2004:18:47:45 +0000] CloseClient: 6
D [11/Nov/2004:18:47:51 +0000] AcceptClient: 6 from Xingta.tim.gigl:631.
D [11/Nov/2004:18:47:51 +0000] ReadClient: 6 
GET /admin/?op=start-printer&printer_name=lexmark-z53 HTTP/1.1
D [11/Nov/2004:18:47:51 +0000] CGI /usr/lib/cups/cgi-bin/admin.cgi started - 
PID = 8596
I [11/Nov/2004:18:47:51 +0000] Started 
"/usr/lib/cups/cgi-bin/admin.cgi" (pid=8596)
D [11/Nov/2004:18:47:51 +0000] SendCommand: 6 file=9
D [11/Nov/2004:18:47:51 +0000] AcceptClient: 8 from localhost:631.
D [11/Nov/2004:18:47:51 +0000] ReadClient: 8 POST /admin/ HTTP/1.1
D [11/Nov/2004:18:47:51 +0000] SendError: 8 code=401 (Unauthorized)
D [11/Nov/2004:18:47:51 +0000] CloseClient: 8
D [11/Nov/2004:18:47:57 +0000] CloseClient: 6

Any bright ideas welcomed, I'm stumped.

cheers

tim hall



More information about the Glastonbury mailing list