On Wed, May 01, 2002 at 07:33:54PM +0530, Vijay Kumar wrote:
> 
> We have a startup script that is put in  /etc/init.d and it has been 
> linked in rc3.d directory. The script dosen't start when the machine 
> reboots, but when I run script ./VIS5T it runs  without  giving  any 
> errors. Where am I going wrong ??

There are no hard and fast rules for init scripts, and  depending upon
your system/ distro there would be variations. As a rule, all  distros
(except debian) has a file called rc.local which is the last  thing to
be loaded at boot ... it is safest to put your own stuff there.

To know why it is not being picked up  from  /etc/init.d/rc3.d  please
step through the init process for your distro. Normally the file /etc/
inittab will have  annotation as to  where the process starts off, and
follow the links from there.

>
> I have done the same thing for sshd script, which works perfectly fine.
> 

If this be true, that sshd can run from rc3.d, but not the other script
please re-check your soft-link.

Also check up /var/log/messages, in case of any hints there ...

HTH

Bish

--
:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Sysadmin utils (hostname)                      LOST #106

To change the host name of your machine, as root edit the file
/etc/hostname. Alternatively, use the 'hostname' program. "man
hostname" for details ... 

####<[EMAIL PROTECTED]>####################################
:

Reply via email to