Problem with connecting to VPS guess [message #28215] |
Tue, 11 March 2008 19:09 |
joelee
Messages: 63 Registered: April 2006
|
Member |
|
|
Hi All, I just noticed a strange problem where I could not ssh into a few of my VE's... I was able to access to those ve's via the hardware node (vzctl enter ve:id)... When I connected to the ve I see that the Hostname suddenly changed to:
I have no name!@host122:/#
Before it had a proper name set which I did not change. Any thoughts, comments/suggest?
BTW, I check all UBC counters and they are all clean. And, I am able to access the web apps running in the ve's with the noticed problem.
Thanks, joe
|
|
|
|
|
Re: Problem with connecting to VPS guess [message #28333 is a reply to message #28318] |
Fri, 14 March 2008 09:00 |
maratrus
Messages: 1495 Registered: August 2007 Location: Moscow
|
Senior Member |
|
|
Hi,
It's difficult to say anything because we haven't got any error message.
Quote: | But, after some while past I would try to ssh back into the vps and I can't
|
1. Please use "strace" utility and provide us with the output of it. It will might be anything there.
2. Any error messages?
Quote: | So, I try to access vps via the HN
|
1. Did you try access VPS via "vzctl enter"?
Quote: | I get in and I see the hostname miraculously changes
|
I'm sorry but seems to me hostname didn't change. I suppose somebody change your /etc/passwd file.
OK, let conduct such experiment:
1. Please check your /etc/passwd file especially pay attention to string concerning root. (inside VE)
2. Please increase LOG_LEVEL parameter to 10 in /etc/vz/vz.conf file. And try enter again from HN. Any error messages?
[Updated on: Fri, 14 March 2008 09:02] Report message to a moderator
|
|
|
|
|