Some, maybe all, of the rc scripts would not execute on startup. If I run the scripts manually, the scripts run okay. Please advice. Thanks in advance.
What files are you manipulating?
In which directory?
Are you booting into multiuser? Are you manipulating the files in the correct directory /etc/rc2.d
look in your rc.2 file under /etc for miss configuration.
Nostradamus
If none of the files are running in the directory then you should:
- make sure you are booting into the correct state.
- check the permissions and owner on the rc2.d directory.
You never know, maybe something or someone changed the permissions or something (it happened to me when the junior SA changed permissions on a directory). You should also watch what happens on bootup for messages or anything out of place (check /var/adm/messages).
I don´t know if it´s like this on Sun but on a SCO machine the scripts must start with a capital letter. For example
S88sendmail will be run but s88sendmail won´t. Probably not what´s wrong here but anyway
Nostradamus
It's also like that on Sun, rc scripts MUST start with an upper case letter (is that a UNIX thing?). That's also worth checking out, but should only happen if you (or someone else) has renamed the script.
Check it out and the other stuff and let us know. Regards.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.