Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

/etc/init.d/ empty!



10:29 pm on Sep 2, 2010 (gmt 0)

5+ Year Member

ubuntu 10.04 vps server here.
I don't know what happened but I lost EVERYTHING in it!
Since I'm running websites on my VPS I had to backup mysql, nginx and php5-fpm remove them and reinstall cause without init.d script I couldn't even start them. Now it's ok but they don't start on system startup along with other programs I had like cron, sendmail and others I dont remember. The only programs that start are sshd and vsftpd.

1- how the hell have I lost them? I'm certain I didn't delete the directory content! I also tried to check access log to see if someone did this but nothing.
2- how can I reput them there or put them in the startup list manually from the command line? what services should I start considering I had just installed mysql, nginx and php5-fpm and syslog-ng on 10.04 minimal?



8:00 pm on Sep 5, 2010 (gmt 0)

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

If you don't have a backup (which you should - but now you know for the next time!), I would suggest getting your files moved to a fresh VPS. It will be quickest and easiest in the long-run.

Other than that, your hosting provider may be able to provide you with the files assuming the installation was relatively unmodified.


2:58 pm on Sep 7, 2010 (gmt 0)

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

I don't know of Ubuntu, but on Centos /etc/init.d is a link to /etc/rc.d/init.d It may well be that the actual files are in another location and that restoring the link to that location makes your /etc/init.d correct again.

Featured Threads

Hot Threads This Week

Hot Threads This Month