News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Possibility to recover boot scripts

Started by nite_man, March 22, 2006, 06:32:26 PM

Previous topic - Next topic

archived

I already created a new topic -  http://plutohome.com/support/phpbb2/viewtopic.php?t=687 about die of DCERouter after reboot my system. After many hours of discovering I found that all Pluto scripts from /etc/rc2.d were deleted:

grep: /etc/rc2.d/S22-030-Pluto_Start_DCERouter.sh: No such file or directory
grep: /etc/rc2.d/S22-040-Pluto_Start_X.sh: No such file or directory
grep: /etc/rc2.d/S22-050-Pluto_Start_ratpoison.sh: No such file or directory
grep: /etc/rc2.d/S22-070-Pluto_Start_LocalDevices.sh: No such file or directory
grep: /etc/rc2.d/S22-020-Pluto_Start_OrbiterGen.sh: No such file or directory
grep: /etc/rc2.d/S22-010-Pluto_Update_StartupScrips.sh: No such file or directory
grep: /etc/rc2.d/S22-015-Pluto_Network_Firewall.sh: No such file or directory
grep: /etc/rc2.d/S22-015-Pluto_Diskless_Setup.sh: No such file or directory
grep: /etc/rc2.d/S22-005-Pluto_SSH_Keys.sh: No such file or directory
grep: /etc/rc2.d/S22-004-Pluto_Update_Packages.sh: No such file or directory
grep: /etc/rc2.d/S22-090-Pluto_WakeMDs.sh: No such file or directory
grep: /etc/rc2.d/S22-002-Pluto_corefile.sh: No such file or directory
grep: /etc/rc2.d/S22-009-Pluto_Config_Device_Changes.sh: No such file or directory
grep: /etc/rc2.d/S22-040-Pluto_Dhcpd-Plugin.sh: No such file or directory
grep: /etc/rc2.d/S22-020-Pluto_qos.pl: No such file or directory
grep: /etc/rc2.d/S22-100-Pluto_Share_IRCodes.sh: No such file or directory
grep: /etc/rc2.d/S22-100-Pluto_Backup_Database.sh: No such file or directory
grep: /etc/rc2.d/S22-099-Pluto_fixMythTvSettings.sh: No such file or directory
grep: /etc/rc2.d/S22-005-Pluto_alsaconf-noninteractive: No such file or directory
grep: /etc/rc2.d/S22-005-Pluto_PlutoVersion.sh: No such file or directory
grep: /etc/rc2.d/S22-001-Pluto_ConfirmInstallation.sh: No such file or directory
grep: /etc/rc2.d/S22-065-Pluto_UpdateMediaDaemon.sh: No such file or directory
grep: /etc/rc2.d/S22-060-Pluto_Net_Mount_All.sh: No such file or directory

I'm handred persents sure that nobody can do it manually ;) But anyway is it possible to recover thos scripts without reinstallation of Pluto?

archived

Michael,

The rc2.d scripts are just links to the real files, which live in /etc/init.d
You should be able to create them from the list that you posted by logging in as root and typing "ln -s /etc/init.d/xxx S_XX_xxx" in the rc2.d directory.
You will need to do this for each one.

I would be a bit worried about why they are not there though, I would have thought that a pluto script creates these and it may even pull them from the database at startup. Hopefully one of the pluto guys can be more helpful than me.

Regards
Darren

archived

Quote from: "darrenmason"
The rc2.d scripts are just links to the real files, which live in /etc/init.d
You should be able to create them from the list that you posted by logging in as root and typing "ln -s /etc/init.d/xxx S_XX_xxx" in the rc2.d directory.
You will need to do this for each one.
Thanks Darren for your replay. I understand that rc2.d scripts are just links to the real files but they don't exist in the /etc/init.d. It seems that when I setup a diskless media director they were deleted by some reason. It might happend becuase I have a 64bit Core but Media Director is 32bit. But it's just guess-work.

archived

It seems there was a some assident on the Core. That's why all Pluto start scripts were deleted.
The best way to solve this problem is re-install Pluto :)

archived

Ther is no need to reinstall Pluto for this issue, you can run the /usr/pluto/bin/generateRcScripts.sh to regenerate the pluto scripts.

If you can supply any information on what you did before seeing this issue i will be pleased to hear from you so we can come up with a fix if the problem is from our side.

archived

Quote from: "razvan.g"Ther is no need to reinstall Pluto for this issue, you can run the /usr/pluto/bin/generateRcScripts.sh to regenerate the pluto scripts.

If you can supply any information on what you did before seeing this issue i will be pleased to hear from you so we can come up with a fix if the problem is from our side.

Thanks for useful tip about generating rc scripts. Regarding my problem with missing rc scripts I cannot give you useful details. It happened right after I installed the first MD. Now Core works fine. I already installed successfully two MD ... So, I think there is no reason to pay attention to this problem :)