This happened a while ago, but I installed some software and it messed up my entire app-get command so I had to do all this manual deleting and stuff. Everything is fixed except now when I restart the server it doesn't start the networking daemon it and won't allow me to connect. I put in a ticket with the vps company and they said there servers and unmanaged and can only restart the daemons manually by doing:
/etc/init.d/networking start /etc/init.d/ssh start
They said they cannot do it for me, but they told me this:
The problem is that the networking script is not being called and in turn the SSH daemon is not being loaded
you need to make some configuration changes to ensure they are started each time.
Worst case you would put these two commands in the /etc/rc.local file as a quick and dirty solution whilst you try to diagnose the cause of the failure.
update-rc.d ssh defaults and still didn't work.
Anyone able to help out? I'm not the best network admin.
My distro is Ubuntu 10.04.