I think the problem is not any background/foreground process... I had not
started anything, it was only a clean boot, default services, default
inittab... I just logged in by ssh, and it hangs about 20 seconds after I
press enter on the exit command.
I noticed that this behavior only happens when I log in as root. Logged in
as oracle does exit as it should. Logged in as root I have to wait 20
seconds to ssh close the connection, or use the recently-discovered "~."
escape sequence to kill it.

Mauro
http://mauro.limeiratem.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.


2012/5/2 Brent Kincer <[email protected]>

> Anytime you use the '&' to background a process, you should run a 'disown'
> against the job if you plan on terminating the owning tty.
> On May 2, 2012 5:50 PM, "John Summerfield" <[email protected]>
> wrote:
>
> > On 04/26/12 21:55, Dean, David (I/S) wrote:
> >
> >> Excellent, it worked, thank you.
> >>
> >
> > Has Mauro's problem been fixed?
> >
> > ssh won't close the session if there's a live TCP/IP session running,
> > and "wsftpd&" would have that effect, ssh would still be maintaining the
> > connection for STD*.
> >
> > using the screen command might help in some cases, it would for
> "wsftpd&".
> >
> >
> >> -----Original Message-----
> >> From: Linux on 390 Port [mailto:[email protected].**EDU<
> [email protected]>]
> >> On Behalf Of Mark Post
> >> Sent: Wednesday, April 25, 2012 2:39 PM
> >> To: [email protected]
> >> Subject: Re: SSH don't close session on logout
> >>
> >>  On 4/25/2012 at 02:24 PM, "Dean, David (I/S)"<[email protected]>
> >>>>>  wrote:
> >>>>>
> >>>> I run in to it consistently when I start up our ftp server with
> vsftpd&.
> >>> Always wondered if&  had something to do with it.
> >>>
> >>
> >> It could very well.  Does it happen if you use the vendor provided
> >> interface(s) to start it?
> >> - rcvsftpd start
> >> - /etc/init.d/vsftpd start
> >> - service vsftpd start
> >>
> >>
> >> Mark Post
> >>
> >> ------------------------------**------------------------------**
> >> ----------
> >> For LINUX-390 subscribe / signoff / archive access instructions,
> >> send email to [email protected] with the message: INFO LINUX-390
> or
> >> visit
> >> http://www.marist.edu/htbin/**wlvindex?LINUX-390<
> http://www.marist.edu/htbin/wlvindex?LINUX-390>
> >> ------------------------------**------------------------------**
> >> ----------
> >> For more information on Linux on System z, visit
> >> http://wiki.linuxvm.org/
> >> ------------------------------**-----------------------
> >> Please see the following link for the BlueCross BlueShield of Tennessee
> >> E-mail disclaimer:  http://www.bcbst.com/email_**disclaimer.shtm<
> http://www.bcbst.com/email_disclaimer.shtm>
> >>
> >> ------------------------------**------------------------------**
> >> ----------
> >> For LINUX-390 subscribe / signoff / archive access instructions,
> >> send email to [email protected] with the message: INFO LINUX-390
> or
> >> visit
> >> http://www.marist.edu/htbin/**wlvindex?LINUX-390<
> http://www.marist.edu/htbin/wlvindex?LINUX-390>
> >> ------------------------------**------------------------------**
> >> ----------
> >> For more information on Linux on System z, visit
> >> http://wiki.linuxvm.org/
> >>
> >>
> >
> > --
> >
> > Cheers
> > John
> >
> > -- spambait
> > [email protected]  [email protected]
> > -- Advice
> > http://webfoot.com/advice/**email.top.php<
> http://webfoot.com/advice/email.top.php>
> > http://www.catb.org/~esr/faqs/**smart-questions.html<
> http://www.catb.org/~esr/faqs/smart-questions.html>
> > http://support.microsoft.com/**kb/555375<
> http://support.microsoft.com/kb/555375>
> >
> > You cannot reply off-list:-)
> >
> >
> ------------------------------**------------------------------**----------
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO LINUX-390 or
> > visit
> > http://www.marist.edu/htbin/**wlvindex?LINUX-390<
> http://www.marist.edu/htbin/wlvindex?LINUX-390>
> >
> ------------------------------**------------------------------**----------
> > For more information on Linux on System z, visit
> > http://wiki.linuxvm.org/
> >
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to