1826044 Members
3182 Online
109690 Solutions
New Discussion

Re: rc3.d

 
SOLVED
Go to solution
kelvin567
Occasional Advisor

rc3.d

I need my samba server to come up when the system boots up in run level 3.
/sbin/init.d/samba start

what entries i need to make in /sbin/rc3.d?
7 REPLIES 7
Dennis Handly
Acclaimed Contributor
Solution

Re: rc3.d

My system has them in:
$ ll /sbin/rc?.d/*sam*
lrwxr-xr-x /sbin/rc1.d/K100samba@ -> /sbin/init.d/samba
lrwxr-xr-x /sbin/rc2.d/S900samba@ -> /sbin/init.d/samba
skt_skt
Honored Contributor

Re: rc3.d

for you need make the Sxxxsamba link under /sbin/rc3.d
Yogeeraj_1
Honored Contributor

Re: rc3.d

hi,

see also:
http://docs.hp.com/en/934/startup.pdf

well documented.

hope this helps too!
kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Scp_1
Advisor

Re: rc3.d

ln -s /sbin/rc1.d/K100samba /sbin/init.d/samba
ln -s /sbin/rc2.d/S900samba /sbin/init.d/samba
Dennis Handly
Acclaimed Contributor

Re: rc3.d

>Scp: ln -s /sbin/rc1.d/K100samba /sbin/init.d/samba

This would be backwards.
And I would think if you install Samba, it would automatically add those symlinks.
Scp_1
Advisor

Re: rc3.d

Pls ignore prev posting

ln -s /sbin/rc3.d/S900samba /sbin/init.d/samba

mv /sbin/rc2.d/S900samba /sbin/rc2.d/old.S900samba
Scp_1
Advisor

Re: rc3.d

what abt this?