hung SSH on Solaris when starting Oracle

Mike Simpson msimpson at abyssus.doit.wisc.edu
Wed May 16 04:22:21 EST 2001


Another instance of OpenSSH 2.9p1 hanging on exit.  This occurs when 
connecting to a Solaris 8 box (both from other Solaris 8 hosts and 
from Linux hosts, all using OpenSSH 2.9p1).  This problem doesn't appear 
to involve active background jobs;  it is not fixed by either the 
bash fix listed in the FAQ or by zsh's "setopt HUP".  I do not see 
the hang-on-exit behavior with the "sleep 20 &; exit" test.  The 
behavior is repeatable.

Specifically:

(1) ssh to host
(2) change to Oracle admin account
(3) stop Oracle listener
(4) start Oracle listener
(5) exit from Oracle admin account
(6) exit from host (hangs)

No backgrounded processes show in a 'jobs' listing of either the 
original login account or the Oracle admin account.

>From experimentation, stopping the listener does not trigger the 
behavior, only starting it.  Stopping and/or starting the database 
proper (dbshut, dbstart) does not trigger the behavior.

More detailed typescript follows.

-mgs

-------------

[msimpson at abyssus:/home/msimpson]% ssh fibber
msimpson at fibber's password: 
Last login: Tue May 15 13:14:41 2001 from abyssus.doit.wi
Sun Microsystems Inc.   SunOS 5.8       Generic February 2000
[msimpson at fibber:/export/home/msimpson]% sudo su - oracle
Password:
Sun Microsystems Inc.   SunOS 5.8       Generic February 2000
Logged on to fibber
fibber: /export/home/oracle => fibber: /export/home/oracle => lsnrctl stop

LSNRCTL for Solaris: Version 8.0.5.0.0 - Production on 15-MAY-01 13:17:16

(c) Copyright 1997 Oracle Corporation.  All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=fibber.library.wisc.edu)(Port=1521))
The command completed successfully
fibber: /export/home/oracle => lsnrctl start

LSNRCTL for Solaris: Version 8.0.5.0.0 - Production on 15-MAY-01 13:17:19

(c) Copyright 1997 Oracle Corporation.  All rights reserved.

Starting /oracle/app/oracle/product/8.0.5/bin/tnslsnr: please wait...

TNSLSNR for Solaris: Version 8.0.5.0.0 - Production
System parameter file is /oracle/app/oracle/product/8.0.5/network/admin/listener.ora
Log messages written to /oracle/app/oracle/product/8.0.5/network/log/listener.log
Listening on: (ADDRESS=(PROTOCOL=tcp)(DEV=10)(HOST=144.92.11.20)(PORT=1521))
Listening on: (ADDRESS=(PROTOCOL=tcp)(DEV=13)(HOST=144.92.11.55)(PORT=1521))

Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=fibber.library.wisc.edu)(Port=1521))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Solaris: Version 8.0.5.0.0 - Production
Start Date                15-MAY-01 13:17:22
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  OFF
SNMP                      OFF
Listener Parameter File   /oracle/app/oracle/product/8.0.5/network/admin/listener.ora
Listener Log File         /oracle/app/oracle/product/8.0.5/network/log/listener.log
Services Summary...
  FIBR          has 1 service handler(s)
The command completed successfully
fibber: /export/home/oracle =>
fibber: /export/home/oracle => jobs
fibber: /export/home/oracle => exit
[msimpson at fibber:/export/home/msimpson]% jobs
[msimpson at fibber:/export/home/msimpson]% exit
  [ ... session hangs indefinitely ... ]





More information about the openssh-unix-dev mailing list