[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Hi Ref: CentOS 4 When you su - root via a terminal that is open on a VNC session on the server you get the "RTNETLINK answers: Network is unreachable" message. Does this mean the problem must be in be in the /root folder? The logs haven't given me any info to investagate. does any know if scripts such as /etc/rc.local get called when a ssh user logins in? Is there a way of debuging all activity that is currently happening on the server? Regards Sam ----- Original Message ----- From: "Gordon Henderson" <gordon+dcglug@xxxxxxxxxx> To: "Devon/Cornwall GNU LUG" <list@xxxxxxxxxxxxx> Sent: Thursday, January 29, 2009 8:46 PM Subject: Re: [LUG] Default gateway disappears when a root SSH putty connection is used? > On Thu, 29 Jan 2009, Sam Grabham wrote: > >> Hi >> >> Still haven't cracked the problem. >> >> if you ssh from another linux machine using root you get the following >> "RTNETLINK answers: Network is unreachable " message. and at this point >> the >> default gateway disappears. >> >> The only change that i am aware of is we changed our network ip's, these >> are >> static. >> >> If you VNC to the machine and open a root terminal you don't get the >> problem. >> >> The ssh scripts are as default and have compaired against another >> machine. > > It still seems like there's a script doing something on login.. > > What happens if you login on the console? > > What happens when logging in via VNC, then typing: > > su - > > or ssh as a normal user, then > > su - > > and give the root password. > > Or try this: > > su - -- -x > > > Gordon > > -- > The Mailing List for the Devon & Cornwall LUG > http://mailman.dclug.org.uk/listinfo/list > FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html -------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.10.15/1924 - Release Date: 1/29/2009 5:57 PM -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html