Lockup

Rick Stevens rstevens at internap.com
Tue Jan 29 21:23:27 UTC 2008


On Tue, 2008-01-29 at 21:02 +0000, tony.chamberlain at lemko.com wrote:
> 
> Someone from my company had the following question/situation:
> 
> He ssh's to a remote site (to get there it is a 204.X.X.X address from
> the router, but the actual eth0 address is a 192.168.X.X addres once
> you get in).
> 
> He logs in (via ssh) as root.
> He does a few things.
> He logs out, and then the system hangs
> until a reboot is done.
> 
> This is about all the information he told me.  Anyway he
> wants me to find out if anyone has had a similar
> situation or has any idea what is going on?  It is
> using CentOS 4.5, and going through a router.

The odds are that he started a program that is keeping the console open.
ssh can't terminate until the program "lets go" of the console.  That
can be done by running it via nohup ("nohup programname &").  In come
cases, it can be done by redirecting stdin, stdout and stderr to/from
/dev/null:

	# program-name </dev/null >/dev/null 2>&1

It'd be a big help if you'd tell us what "does a few things" means.

> 
> Another thing.  In addition to an ethernet driver, there is
> a driver for another card in the system, whose IP address
> is 80.9.130.1.  Anytime someone does ifconfig or something
> similar it call a stats() function, and in /var/log/messages
> there are hunderds of log entries that this function was called
> (every 10 minutes).
> 
> Anyone have any ideas?

"ifconfig -a" should show you what's got that IP address.  If you don't
need it, kill it.

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens at internap.com -
- CDN Systems, Internap, Inc.                http://www.internap.com -
-                                                                    -
-    Overweight:  When you step on your dog's tail...and it dies.    - 
----------------------------------------------------------------------




More information about the fedora-list mailing list