SUMMARY - Waiting lock /dev/lw

From: Costas Kardasopoulos (cgk@mari.co.uk)
Date: Tue Jun 25 1991 - 03:58:45 CDT


Sorry about the delay in sending a summary. I received so many replies
and I had to make sure that my summary works (at least in my case...
with a postscript laser writer 1).

As luck would have it, the problem did not re-occur until recently
hence the delay. By the way, many sun managers got it right.

This is how I solved the problem.

The first time this happened.

---------------
1) Use 'ps -aux' to find out the pid's of whatever postscript processes
are still running (pscomm or whatever) usually pscomm.

2) kill them.

3) 'lpc restart'... more than once. In my case 4 times.
---------------

The second time it happened

---------------
1) Use 'ps -aux' to find out the pid's of whatever postscript processes
are still running (pscomm or whatever) usually pscomm.

2) kill them.

3) 'ps -aux | grep lpd'

4) 'kill -9 pid_of_lpd_from_above'

5) 'lpc restart'... more than once. In my case 4 times.

6) Start the lpd daemon externally by

         i) 'rm -f /dev/printer /var/spool/lpd.lock'
        ii) '/usr/lib/lpd'
---------------

I do hope this helps everyone cause it is so annoying having to reboot
a system for something so trivial.

My thanks to the following people ( I hope I have not missed anyone out)

Alan Carpenter/casaba <ajc@com.mcm>
Aydin Edguer <edguer@edu.cwru.ces.alpha>
Barry A. Boes" <boes@edu.msstate.itd.corona>
Chris Wilson <cwilson@au.oz.austek.adl>
Daryl Crandall <daryl@org.mitre.oceanus>
Dawn Endico <dawn@edu.wayne.math>
Donna Cornwell <dcornwel@org.mitre.community-chest>
Greg Bean <greg@com.liant.lpi>
Greg Swartwout <fsgreg@gov.nasa.lerc.sarah>
John Stiles <stiles@com.cray.no2sun>
Jon A. Tankersley <zjat02@com.amoco.trc>
Jon Hermit Bentley <hermit@edu.cnc.pcs>
Matthew Donaldson <matthew@au.edu.adelaide.cs>
Narendra Mehta <naren@ca.carleton.sce>
Scott Blandford <bford@edu.cnc.pcs>
Stefan Mochnacki <stefan@ca.utoronto.astro.centaur>
Steven M Cohn <smc@com.desktalk.styx>
T.D.Lee@uk.ac.durham
alex;923-4483" <alexl@com.tek.cna.daemon>
mark kraitchman <mark@edu.berkeley.isis>
r.d. parachoniak" <rap@ca.ubc.physics>
sjh@edu.purdue.math.helicon

Electronically yours,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Costas.Kardasopoulos cgk@mari.co.uk or ...!mcsun!ukc!mari!cgk
Mari Computer Systems Ltd, Old Town Hall, Gateshead, NE8 1HE, UK
Voice:+44 (0)91 490 1515 Fax:+44 (0)91 490 0013 Tlx:537038-GB
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:15 CDT