New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
VPS stopped working. Not booting properly
Hi
My VPS stopped working 10 hours ago.
I tried to restart, shutdown and boot for several times. But it's not booting properly.
I submitted several tickets but they can't/don't want to help.
Could somebody help me with a direction where to start troubleshooting ?
My linux knowledge is basic.
from "ps aux" i can see only:
[root@vps tmp]# ps aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 2156 664 ? Ss 12:10 0:00 init [3] root 1501 0.0 0.1 11232 480 ? Ss 12:11 0:00 vzctl: pts/0 root 1502 0.0 0.2 2548 1372 pts/0 Ss 12:11 0:00 -bash root 1745 0.0 0.1 2268 844 pts/0 R+ 12:46 0:00 ps aux
for me seems that its not loaded everything what should load at startup.
This is from console connection.
No ssh/http/ftp
when I try "top" I get this message:
-bash: top: command not found
I should mention that I did not make any modification to linux since 2 months ago.
Everything was perfect till today.
Comments
Have you tried contacting support?
If your linux knowledge is basic and you don't have any valuable data on your VPS you should just reinstall the OS.
Hmmm, I guess you are using the console from SolusVM?
What about
You have connectivity? ping something
Maybe you can take a backup of your data and reinstall if you get ssh working
@breton
¬_¬!!
Yes I tried to contact support but they can't help.
I wouldn't like to reinstall everything. It took me 3 weeks till I made everything perfect.
So reinstall is not an option.
My skills aren't that basic. I installed everything after reading over and over.
I hoped that some of you could help me with an idea.
yomero: yes i can ping the vps. But just Ping.
and yes is from solusvm console
and
Damn...
What do you have in /etc/init.d ?
Also, is a debian based distro? ubuntu? Can you run apt-get?
Isn't the # in the command line a sign that he isn't at root?
Hmm, what's the output of "ls /" and "ls /etc/init.d"
Maybe you're in some sort of recovery?
@drmike, that shouldn't be a problem. Pretty sure it would throw a different error if he tried to do that without privs.
Centos
Could be a virus ? or maybe somebody hacked in to the vps ?
Hmm, I am not expert with EL based distros.. Someone else? I guess this is screwed xD
@yomero:
oh, my bad.
@drmike:
# in my debians is root, don't know about centos.
@dexterx, what were your last actions?
Where can i find the log file with the boot process ?
Maybe there is some error that can help.
In /var/log
dmesg. But I don't think it has something to do with it.
/var is empty. Does that mean something ?
Hmmm, Can you autocomplete with tab? I mean, do you have commands? :P
Have the commands scp or rsync? Probably you can move your data in some way. Also, maybe we can look for a webserver to host your data (do you have wget/curl?).
post output of "mount", "cat /etc/fstab" and "cat /etc/mtab" to some pastebin
i can complete most of the commands but they are not working.
If i type yu and tab I get yum. But if i hit enter i get:
that openvz feel.
openvz-pros, is fstab ok?
Ok, you have access to your data right? Somewhere in your box. Can you use tar to compress it? And I guess you don't have scp or rsync.
Someone knows about an static build of wget/curl and a static tiny webserver? Lol, I know, is funny, but is the only way that comes to my mind to retrieve the data.
PS: Is very important your data? xD
Hehe
the data is not that important
For most of thefiles i have backups and daily backup of sql to email.
The configuration was important.
Installing and configuring every program is the pain.
@dexterx, try
I guess someone like Fran can help more :P (complicated VZ stuff)
But well, if your data isn't important, I suggest you to copy paste your config files and reinstall. Is more complicated trying to fix this mess...
What could cause this ? I didn't change anything on the vps for more than a month.
Everything was perfect till today.
I added that line and restarted
Still no commands?
What caused? Dunno, if nobody touched it, something is bad from the provider side I guess.
The provider changed from centos 6 to centos 5.7 in the last days.
I exchanged 14 messages trough tickets with them but they are not even reading what i write.
I asked 6 times what happend and no real answer.
It looks that i have to reinstall everything.
Many thanks anyway for your time
If I were you, I quit with them ASAP