CUPS printing problem.

Erik Jakobsen eja at urbakken.dk
Tue May 11 09:31:44 CEST 2004


> > Can anybody tell me what is wrong ?.
>
> 1) make sure that the print queue "hl-5040" exist on the CUPS
> server running on localhost

Hi Michael, and thanks for your reply. How can I see that about the 
localhost ?.

By the way, I can print ok via Samba from my Windows computers.

> 3) monitor the file /var/log/cups/error_log (using "tail -f")
> when trying to print something, you might see some meaningful
> error message

Ok, here is the logging:

Server log:

[root at gateway /]# cd ..
[root at gateway /]# tail -f /var/log/cups/error_log
I [10/May/2004:10:48:16 +0200] Started backend /usr/lib/cups/backend/parallel 
(P                                            ID 7021) for job 10.
I [10/May/2004:12:57:46 +0200] Job 11 queued on 'hl5040' by 'nobody'.
I [10/May/2004:12:57:46 +0200] Started backend /usr/lib/cups/backend/parallel 
(P                                            ID 14992) for job 11.
I [11/May/2004:07:17:22 +0200] Job 12 queued on 'hl5040' by 'remroot'.
I [11/May/2004:07:17:22 +0200] Started backend /usr/lib/cups/backend/parallel 
(P                                            ID 14788) for job 12.
I [11/May/2004:07:20:46 +0200] Job 13 queued on 'dj895' by 'remroot'.
I [11/May/2004:07:20:46 +0200] Started backend /usr/lib/cups/backend/usb (PID 
14                                            939) for job 13.
W [11/May/2004:07:20:46 +0200] [Job 13] Media tray empty!
I [11/May/2004:07:23:51 +0200] Job 14 queued on 'hl5040' by 'remroot'.
I [11/May/2004:07:23:51 +0200] Started backend /usr/lib/cups/backend/parallel 
(P                                            ID 15017) for job 14.


Client log:

lajka3:~ # tail -f /var/log/cups/error_log
I [11/May/2004:08:25:43 +0200] Listening to 0:631
I [11/May/2004:08:25:43 +0200] Loaded configuration file 
"/etc/cups/cupsd.conf"
I [11/May/2004:08:25:43 +0200] Configured for up to 100 clients.
I [11/May/2004:08:25:43 +0200] Allowing up to 100 client connections per host.
I [11/May/2004:08:25:43 +0200] Full reload is required.
I [11/May/2004:08:25:45 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 3592 
PPDs...
I [11/May/2004:08:25:47 +0200] LoadPPDs: No new or changed PPDs...
I [11/May/2004:08:25:47 +0200] Full reload complete.
I [11/May/2004:09:13:05 +0200] Denying user "erik" access to printer 
"hl-5040"...
I [11/May/2004:09:20:00 +0200] Denying user "erik" access to printer 
"hl-5040"...

> 2) make sure that a normal user have access to the queue, and
> that there's no ACL in the file /etc/cups/cupsd.conf

Obviously the local user has no access to the queue, even I choosed it setting 
up the kprinter.

There is non ACL either in the server, nor in the clients cupsd.conf

Erik.


More information about the kde-print mailing list