homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

/etc/init.d/ empty!

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

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)

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)

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved