Article View: comp.protocols.appletalk
Article #6316Resurrecting a Daemon on Friday 13
From: Tom Evans
Date: Fri, 13 Sep 1991 00:29
Date: Fri, 13 Sep 1991 00:29
41 lines
2465 bytes
2465 bytes
It is Friday the 13th and I couldn't help myself :-). We had a nasty thing happen to us today. Someone here went to print to lwsrv (the spooled LaserWriter daemon supplied with CAP). Ten minutes later, and with his Mac still locked up, and not having saved the document, he asked me for help. I promptly duplicated the situation on my Mac - locked up with the "Looking for Laserwriter" dialog up. Nothing would stop it - not even command-".". Reboot time? The lwsrv in question was still registered with atis, but had stopped running for some unfathomable reason, and was thus not answering requests from the Macintoshes (but had atis answering the NBP LookUps on its behalf). Apparently this is a situation not considered (or tested for) by the LaserWriter driver and it locks up forever (running 6.0.5 system here). The fix: - See if lwsrv is running - "ps -(appropriate flags)". - If it isn't there (or it is and you want to kill it) then: - "atis dump" - creates "/usr/tmp/nis.db". - Edit this file - remove the entry for the "dead" lwsrv. - "atis reload" to get rid of the registration. - Restart lwsrv (type in the line from your - "start-cap-servers" file again). Unfortunately it didn't run with the same socket address as the first time, but by doing this I was able to get my Mac unstuck and running again. The other Mac is still locked (with the file un-saved)... Time for a reboot and a retype :-(. ======================== Tom Evans tom@wcc.oz.au Webster Computer Corp P/L, 1270 Ferntree Gully Rd Scoresby, Melbourne 3179 Victoria, Australia 61-3-764-1100 FAX ...764-1179 A.C.N. 004 818 455 wcc@cup.portal.com, AppleLink: "WEBSTER.USA" 2109 O'Toole Avenue, Suite J SAN JOSE CA 95131 - 1303 CALIFORNIA 1-408-954-8054 FAX 1-408-954-1832
Technical Details
Message-ID:
<1955@wcc.oz.au>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!munnari.oz.au!ariel!ucsvc.ucs.unimelb.edu.au!luga!latcs1!wcc!tomShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa8e5,de5a7c8c774e39f8,start X-Google-Attributes: gidfa8e5,public X-Google-Thread: 10f675,de5a7c8c774e39f8,start X-Google-Attributes: gid10f675,public X-Google-ArrivalTime: 1991-09-13 15:29:26 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!munnari.oz.au!ariel!ucsvc.ucs.unimelb.edu.au!luga!latcs1!wcc!tom From: tom@wcc.oz.au (Tom Evans) Newsgroups: comp.protocols.appletalk,aus.mac Subject: Resurrecting a Daemon on Friday 13 Message-ID: <1955@wcc.oz.au> Date: 13 Sep 91 00:29:05 GMT Followup-To: comp.protocols.appletalk Organization: Webster Computer Corp, Melbourne, Australia Lines: 41