From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e431d21d38df2e56 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-23 05:54:08 PST Path: bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!zip.eecs.umich.edu!newsxfer.itd.umich.edu!gatech!howland.reston.ans.net!EU.net!Germany.EU.net!aed-graphics.de!not-for-mail From: siggy@aed-graphics.de (Siggy Hensel) Newsgroups: comp.unix.osf.osf1 Subject: Re: Shutdown on OSF/1 ver. 1.3 Date: 23 Jun 1994 14:10:03 +0200 Organization: AED Graphics GmbH, Bonn, Germany Message-ID: <2ubu2r$4sb@aed.AED-Graphics.DE> References: <1994Jun15.144348.19298@govonca.gov.on.ca> NNTP-Posting-Host: aed.aed-graphics.de Summary: wall in shutdown hangs on phantom ttys Keywords: shutdown utmp wall init In article <1994Jun15.144348.19298@govonca.gov.on.ca>, Dick Abraham wrote: >I have 3 DEC Alpha 3000/300's running OSF/1 ver 1.3 Frequently when I >attempt a shutdown it runs giving me the appropriate messages and >disableing logins but does not shut the computer down. > >Anyone seen this or know what might be causing it. We experienced the same problem. I believe it is a problem with a user, who has logged out (or switched off his X Terminal), but is still registered somewhere in utmp. If you check the logged in users with the "w" or "who" commands, you see him: # w username p8 xterminal9 09:23 10days - If you check the processes you will not find any process associated to the terminal line: # ps -eftp8 USER PID PPID %CPU STARTED TT TIME COMMAND The shutdown process attempts a "wall" to all connected ttys, which hangs at the invalid tty. If you use wall under such circumstances, your terminal will hang. You can see the hanging wall and shutdown processes with "ps -ef", but cannot kill them. WORKARAOUND: Shut down the system without wall, just use "init 0" in such a case. Q: Where come the invalid utmp entries from? Maybe they sometimes stay in the system, when the nice little dxterm or mwm core dumps are created when ending a session. Is there a patch? Somewhere I read you should exit all DECterms before quitting a session. Do you use X Window Terminals in your environment?