Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Shutdown on OSF/1 ver. 1.3
@ 1994-06-15 14:43 Dick Abraham
  1994-06-16  2:02 ` Wuxu Peng
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Dick Abraham @ 1994-06-15 14:43 UTC (permalink / raw)


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.

The following commands have shown the above symptons:

 % shutdow -r now
 % shutdown -h now
 % shutdown now

Anyone seen this or know what might be causing it.

Thanks.

Dick


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Shutdown on OSF/1 ver. 1.3
  1994-06-15 14:43 Shutdown on OSF/1 ver. 1.3 Dick Abraham
@ 1994-06-16  2:02 ` Wuxu Peng
  1994-06-16 12:15 ` Robert Benites
  1994-06-23 12:10 ` Siggy Hensel
  2 siblings, 0 replies; 5+ messages in thread
From: Wuxu Peng @ 1994-06-16  2:02 UTC (permalink / raw)


Dick Abraham (abrahad@govonca.gov.on.ca) 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.

: The following commands have shown the above symptons:

:  % shutdow -r now
:  % shutdown -h now
:  % shutdown now

: Anyone seen this or know what might be causing it.

It happened here yesterday for the first time in about 7 months
after we got the Alphas.  The machine had been up for 123 days
(the longest in the past was 40 days).  I tried different 
combinations of options for "shutdown". Everytime a shutdown
message was sent out, but the machine remained in a normal operation
state.   I finally had to just turn off the power to start
the reboot.

This is 1.3a. We haven't upgrade to 2.0 out of fear of C++ problems.

--

--wuxu peng (peng@pirates.cs.swt.edu)



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Shutdown on OSF/1 ver. 1.3
  1994-06-15 14:43 Shutdown on OSF/1 ver. 1.3 Dick Abraham
  1994-06-16  2:02 ` Wuxu Peng
@ 1994-06-16 12:15 ` Robert Benites
  1994-06-23 12:10 ` Siggy Hensel
  2 siblings, 0 replies; 5+ messages in thread
From: Robert Benites @ 1994-06-16 12:15 UTC (permalink / raw)


Dick Abraham (abrahad@govonca.gov.on.ca) 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...

This happened to me just this morning as a matter of fact, first time
I've seen it. However, we are running OSF/1 ver 2.0.

-- bob


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Shutdown on OSF/1 ver. 1.3
  1994-06-15 14:43 Shutdown on OSF/1 ver. 1.3 Dick Abraham
  1994-06-16  2:02 ` Wuxu Peng
  1994-06-16 12:15 ` Robert Benites
@ 1994-06-23 12:10 ` Siggy Hensel
  1994-06-27 23:41   ` Andrew Rutherford
  2 siblings, 1 reply; 5+ messages in thread
From: Siggy Hensel @ 1994-06-23 12:10 UTC (permalink / raw)


In article <1994Jun15.144348.19298@govonca.gov.on.ca>,
Dick Abraham <abrahad@govonca.gov.on.ca> 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?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Shutdown on OSF/1 ver. 1.3
  1994-06-23 12:10 ` Siggy Hensel
@ 1994-06-27 23:41   ` Andrew Rutherford
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Rutherford @ 1994-06-27 23:41 UTC (permalink / raw)


Siggy Hensel (siggy@aed-graphics.de) wrote:

: 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.

	Other workaround: (after shutdown initiated)

Do a "w" and look for things with a "what" field of "-". Do a
"cat /dev/pty?? &" for each one, where ?? is replaced by the "tty"
field contents.

	Another workaround: (before shutdown initiated)

Create /etc/nologin with "temporary maintenance" or somesuch, and hope
no-one logs out while you're doing this. Start up emacs on /var/adm/utmp.
Search for the offending tty's found by "w" as above. Find the ^G in its
entry. Replace it (I usually use M-x overwrite-mode) with a ^H (ie ^Q^H),
and save. If emacs complains the file has changed while you've been
editing it, abort and try again - someone logged out and changed utmp.

	This tells it that the user has logged out. I do it when I want
to get rid of bad entries that are on a system I don't want to reboot
to clear straight away. Remember to remove /etc/nologin afterwards -
I actually don't user it, I just keep trying - less user impact that way,
takes me sometimes one attempt more than otherwise.

: Q: Where come the invalid utmp entries from?

        In my experience, usually  from users killing {d,}xterm with a -9,
so it doesn't have a chance to remove the utmp entry it created. There are
a lot of users out there who habitually try killing something with -9 first
time, not giving anything a chance to clean up after itself.

: 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? 

        Well, if dxterm is core dumping that's probably it - as the chances
are it's not cleaning up on the way out. I always use xterm rather than
dxterm so I don't see this.

: Somewhere I read you should exit all DECterms before quitting a session.
: Do you use X Window Terminals in your environment?

	I never bother to exit in advance with xterm, and I don't see
that problem. Must be a dxterm-specific thing. :-(

Cya all,
	Andrew.

--
Andrew Rutherford                andrewr@iagu.itd.adelaide.edu
Phone:  +61 8 303 5669             Plaza 1060, Adelaide Uni
Fax:    +61 8 303 4400    Real Programmers always confuse Christmas and
Mobile: +61 414 313 767       Halloween because OCT 31 == DEC 25 !


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1994-06-27 23:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-06-15 14:43 Shutdown on OSF/1 ver. 1.3 Dick Abraham
1994-06-16  2:02 ` Wuxu Peng
1994-06-16 12:15 ` Robert Benites
1994-06-23 12:10 ` Siggy Hensel
1994-06-27 23:41   ` Andrew Rutherford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox