Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I got a debian VPS last day and installed on it a few things (nodejs, nginx, redis) and as of last night it's mostly inaccessible by ping, after each reboot it works for a few seconds and then goes to blackout, I have no idea what happens. With each reboot I have a few seconds to ssh to it and do a command or two.

I know this is a very vague question, but it's because I don't know what I'm looking for. If you have any idea of what might be the cause, please say.


It was a network issue after all, after restarting networking (eth0) daemon for a few seconds everything is fine, but after that I can't even ping the gateway! iptables are empty, no policy is added.

share|improve this question
Use the virtual console to log in and diagnose the issue. If you have a VPS that doesn't provide one, get rid of it and get another one that does.. – Michael Hampton Sep 23 '13 at 16:06

Sounds like a firewall issue. I would try:

Create file: /root/stop.fw

echo "Stopping firewall and allowing everyone..."
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT


$ sudo chmod +x /root/stop.fw
$ sudo /root/stop.fw
$ sudo iptables -L 




TCPKeepAlive yes
ClientAliveInterval 30
ClientAliveCountMax 999999

restart SSHd

share|improve this answer
nmap says Note: Host seems down, this is why I didn't think of it as a network issue. Any idea? – s1na Sep 22 '13 at 9:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.