every update of cups 1.1.18 (suse 8.2) to .19 or .21 results in disabled

Helge Blischke h.blischke at srz.de
Mon Feb 28 05:28:37 PST 2005


ekkard gerlach wrote:
> 
> A update of cups 1.1.18 (suse 8.2) to .19 or .21 results in disabled
> printers. After reboot all printers are enabled. After few hours one
> printer queue after the other is disables and the queue are not to
> enable, neither with web-fronted  localhost:631  nor with lpadmin -p
> <printer-name> -E.
> 
> [...]
> switch_buero_raw:
>          printer is on device 'lpd' speed -1
>          queuing is enabled
>          printing is enabled
>          no entries
>          daemon present
> switch_zimmer1:
>          printer is on device 'lpd' speed -1
>          queuing is enabled
>          printing is disabled   <<<<<<======= !!!!!!
>          no entries
>          daemon present
> switch_zimmer2:
>          printer is on device 'lpd' speed -1
>          queuing is enabled
>          printing is enabled
>          no entries
>          daemon present
> 
> Both tools seem to work. /var/spool/cups/error.log while trying to enable:
> 
> D [28/Feb/2005:11:07:44 +0100] AcceptClient() 7 from localhost:631.
> D [28/Feb/2005:11:07:44 +0100] ReadClient() 7 POST /admin/ HTTP/1.1
> D [28/Feb/2005:11:07:44 +0100] SendError() 7 code=401
> D [28/Feb/2005:11:07:44 +0100] AcceptClient() 8 from localhost:631.
> D [28/Feb/2005:11:07:44 +0100] ReadClient() 8 POST /admin/ HTTP/1.1
> I [28/Feb/2005:11:07:44 +0100] Setting switch_zimmer1
> printer-is-accepting-jobs to 1 (was 1.)
> I [28/Feb/2005:11:07:44 +0100] Setting switch_zimmer1 printer-state to 3
> (was 5.)
> I [28/Feb/2005:11:07:44 +0100] Saving printers.conf...
> D [28/Feb/2005:11:07:44 +0100] StartJob(2470, 0x809e4d8)
> D [28/Feb/2005:11:07:44 +0100] StartJob() id = 2470, file = 0/1
> D [28/Feb/2005:11:07:44 +0100] StartJob: Sending job to queue tagged as
> raw...
> D [28/Feb/2005:11:07:44 +0100] job-sheets=none,none
> D [28/Feb/2005:11:07:44 +0100] banner_page = 0
> D [28/Feb/2005:11:07:44 +0100] StartJob: argv =
> "switch_zimmer1","2470","zimmer1","A000AI_OxG0.SD","1"
> ,"","/var/spool/cups/d02470-001"
> D [28/Feb/2005:11:07:44 +0100] StartJob:
> envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
> D [28/Feb/2005:11:07:44 +0100] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
> D [28/Feb/2005:11:07:44 +0100] StartJob: envp[2]="USER=root"
> D [28/Feb/2005:11:07:44 +0100] StartJob: envp[3]="CHARSET=iso-8859-15"
> D [28/Feb/2005:11:07:44 +0100] StartJob: envp[4]="LANG=de"
> D [28/Feb/2005:11:07:44 +0100] StartJob: envp[5]=""
> D [28/Feb/2005:11:07:44 +0100] StartJob:
> envp[6]="PPD=/etc/cups/ppd/switch_zimmer1.ppd"
> D [28/Feb/2005:11:07:44 +0100] StartJob: envp[7]="CUPS_SERVERROOT=/etc/cups"
> D [28/Feb/2005:11:07:44 +0100] StartJob: envp[8]="RIP_MAX_CACHE=8m"
> D [28/Feb/2005:11:07:44 +0100] StartJob:
> envp[9]="TMPDIR=/var/spool/cups/tmp"
> D [28/Feb/2005:11:07:44 +0100] StartJob:
> envp[10]="CONTENT_TYPE=application/vnd.cups-raw"
> D [28/Feb/2005:11:07:44 +0100] StartJob:
> envp[11]="DEVICE_URI=lpd://192.168.10.253/lp"
> D [28/Feb/2005:11:07:44 +0100] StartJob: envp[12]="PRINTER=switch_zimmer1"
> D [28/Feb/2005:11:07:44 +0100] StartJob:
> envp[13]="CUPS_DATADIR=/usr/share/cups"
> D [28/Feb/2005:11:07:44 +0100] StartJob:
> envp[14]="CUPS_FONTPATH=/usr/share/cups/fonts"
> D [28/Feb/2005:11:07:44 +0100] StartJob: statusfds = [ 9 10 ]
> D [28/Feb/2005:11:07:44 +0100] StartJob: filterfds[1] = [ 11 -1 ]
> D [28/Feb/2005:11:07:44 +0100] StartJob: backend =
> "/usr/lib/cups/backend/lpd"
> D [28/Feb/2005:11:07:44 +0100] StartJob: filterfds[0] = [ -1 12 ]
> D [28/Feb/2005:11:07:44 +0100]
> start_process("/usr/lib/cups/backend/lpd", 0xbffef9d0, 0xbffeed40, 11,
> 12, 10)
> I [28/Feb/2005:11:07:44 +0100] Started backend /usr/lib/cups/backend/lpd
> (PID 6969) for job 2470.
> I [28/Feb/2005:11:07:44 +0100] Printer 'switch_zimmer1' modified by 'root'.
> D [28/Feb/2005:11:07:44 +0100] ProcessIPPRequest: 8 status_code=0
> D [28/Feb/2005:11:07:44 +0100] CloseClient() 8
> D [28/Feb/2005:11:07:44 +0100] [Job 2470] lpd_command 02 lp
> D [28/Feb/2005:11:07:44 +0100] [Job 2470] Sending command string (4
> bytes)...
> D [28/Feb/2005:11:07:44 +0100] [Job 2470] Reading command status...
> E [28/Feb/2005:11:07:44 +0100] PID 6969 stopped with status 1!
> D [28/Feb/2005:11:07:44 +0100] [Job 2470] lpd_command returning 2
> D [28/Feb/2005:11:07:44 +0100] UpdateJob: job 2470, file 0 is complete.
> D [28/Feb/2005:11:07:44 +0100] StopJob: id = 2470, force = 0
> I [28/Feb/2005:11:07:44 +0100] Saving printers.conf...
> D [28/Feb/2005:11:07:44 +0100] StopJob: printer state is 5
> D [28/Feb/2005:11:08:15 +0100] Closing client 7 after 300 seconds of
> inactivity...
> D [28/Feb/2005:11:08:15 +0100] CloseClient() 7
> D [28/Feb/2005:11:08:24 +0100] CloseClient() 5
> 
> I updated my cups1.1.18 of Suse by replacing
> 
> cups-libs-1.1.22-2
> cups-drivers-stp-1.1.18-34
> cups-drivers-1.1.18-34
> cups-client-1.1.22-2
> cups-devel-1.1.22-2
> cups-1.1.22-2
> 
> by doing: rpm -Uhv --force --nodeps --replacefile cups*1.1.19*
> cups-1.1.19-48.i586.rpm
> cups-client-1.1.19-48.i586.rpm
> cups-devel-1.1.19-48.i586.rpm
> cups-libs-1.1.19-48.i586.rpm
> (the rpm's are the files of
> ftp://ftp.suse.com/pub/people/kssingvo/unsupported/CUPS/8.2/RPMS/)
> 
> BTW: i don't find the drivers of 1.1.19, where are they?
> 
> After restarting cups I have the problems mentioned above.
> 
> Any help will be appreciated,
> 
> thx
> Ekkard, kernel 2.4.26, suse 8.2, some printers (not all)
> are connected with a Switch with parallel printer port.

Look into your cupsd.conf and comment out the RunAsUser directive, if
present.
I suspect that your printer(s) only accept LPD commands coming from a
privileged
port, which is impossible if the backend is running as an ordinary user.
In addition, you must add the option "?reserve=yes" (whichout the
quotes)
to your device-URI.

Let us know if you succeeded.

Helge


-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de
tel: +49 30 75301-360




More information about the cups mailing list