Welcome to WebmasterWorld Guest from 54.167.102.69

Forum Moderators: bakedjake

Message Too Old, No Replies

/etc/init.d/ empty!

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

Junior Member

5+ Year Member

joined:May 16, 2009
posts: 86
votes: 0


Hello,
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?

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

Senior Member from CA 

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

joined:Aug 31, 2003
posts:9063
votes: 2


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 Sept 7, 2010 (gmt 0)

Senior Member from KZ 

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

joined:Jan 10, 2005
posts: 2886
votes: 1


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.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members