Subject: Re: LP troubles in Solaris 2.2 despite patch 101025-08

From: [email-masked] (Casper H.S. Dik)
Date: 5 Jan 1994 10:53:55 GMT

ohnielse@fysik (0000-Admin(0000)) writes:

>We keep having troubles with the lp system in Solaris 2.2, despite
>having installed patch 101025-08 (SunOS 5.2: Jumbo patch fixes for lp system).
>The symptoms we find resemble very much these topics that 101025-08
>claims to solve:
>1145448 too many print jobs can hang around and make /var very full
>1136170 Jobs never disappear from lp queue
>Searching in SunSolve Online did not reveal any further hints or help.

This can also be a symptom of incorrectly setting up your print
clients.  Do you have any Solaris 2.x print clients?  If so, you
must:

	- install the lp jumbo patch there too.
	- make sure you do the printer set-up on the clients as well.

sacadm -l should show something like:

tcp            listen         -    999  ENABLED    /usr/lib/saf/listen tcp # 

pmadm -l should show something similar to:

tcp            listen         lp             -    root     - - p - /var/spool/lp/fifos/listenS5 # 
tcp            listen         lpd            -    root     \x00020203000000000000000000000000 - p - /var/spool/lp/fifos/listenBSD # 
tcp            listen         0              -    root     \x00020ACE000000000000000000000000 - c - /usr/lib/saf/nlps_server # 

And the print server must be in the /etc/lp/Systems file of each client.

The System V print spooler wishes to report success or failure to the print
client.  It can only do so if the client configured as a print server.
(I.e., all the listening services are installed)
Only after the client is notified about success or failure, the print
jobs are removed.  If teh client isn't listening, the jobs remain in
the queue with lpstat saying ``finished''.

Sun has made available an add_printer script that does all this
quite well (Tom Limoncelli just posted this in comp.sys.sun.admin,
``Problems with printing on SunOS 5.2''
article <[email-masked]>)

Casper