[H-GEN] Flaky printer

Scott Pullen spullen at optusnet.com.au
Sun Mar 31 23:15:57 EST 2002


[ Humbug *General* list - semi-serious discussions about Humbug and  ]
[ Unix-related topics.  Please observe the list's charter.           ]
[ Worthwhile understanding: http://www.humbug.org.au/netiquette.html ]

I am having trouble with my printer under RH7.2 although I must admit 
that I have had this problem on and off since an install of RH7.0.

Sometimes the printer works and sometimes it doesn't.  I thought I had 
it worked out that if I rebooted with the printer off ... problem 
solved.  Unfortunately this doesn't seem to work anymore.  I have looked 
at the man pages and the four books that I own regarding Linux and no 
clues how to fix this problem.  In fact the trouble shooting sections of 
the books are woeful.

I have the printer set up and can veiw it using RH's utilities.  I can 
print raw text by sending it straight to lp0.  As part of the output of 
lpstat it tells me that no server is active and that it is waiting for 
subserver to exit at 14:15:28.906.  The ~time of the reboot.  When I do 
a ps -ef | grep lpd I get the lpd Waiting line but no other processes. 
 If I do a ps -ef | grep with the PID of the lpd there are no other 
processes listed.

If I look at the status file status.epson740 in /var/spool/lpd the last 
line says that it is waiting for subserver to exit and gives a 
process=4273.  There is no such process running.

My assumption is that there is a lock file somewhere that has not been 
cleared and if I delete the lock and restart lpd, my problems will be 
solved.  The only problem is that I don't know where the lock file is. 
 Any hints.

Cheers,

Scott.


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list