Operating System - HP-UX
1834780 Members
2857 Online
110070 Solutions
New Discussion

Re: NIS and NFS starts and stop at run level 3

 
siva baskaran
Regular Advisor

NIS and NFS starts and stop at run level 3

amiable
who can set as nis and nfs starts whenever user enter into run 3 only like wise it should stop whenever user come out from run level 3
by using rc
3 REPLIES 3
Senthil Kumar .A_1
Honored Contributor

Re: NIS and NFS starts and stop at run level 3

hi Siva,

Though it can be done, I do not know the reasons for doing so...

In the default setting..

runlevel -1
nfs core - stop
nfs client - stop
nis client/server - stop
nis+ client/server - stop

runlevel -2
nfs core - start
nfs client - start
nfs server - stop
nis client/server - start
nis+ client/server - start

runlevel -3
nfs server -start

Though it can be done by moving the links appropiately among /sbin/rc1.d ,/sbin/rc2.d and /sbin/rc3.d and changing the sequence numbers.. but not too sure,, there might be any other issues by doing so..

Please wait till the other experienced member respond to this query..

Regards,
Senthil Kumar .A
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
siva baskaran
Regular Advisor

Re: NIS and NFS starts and stop at run level 3

actually there was some missentance actually my question is nfs.server should start at run level 3 only whenever we enter into there and similarly should stop whenever we changing run level 3 to other (any)
Senthil Kumar .A_1
Honored Contributor

Re: NIS and NFS starts and stop at run level 3

Hi Siva,

That indeed is the default behaviour, anyway to cross check, can you give the output of the following commands,

ll /sbin/rc2.d
ll /sbin/rc3.d

regards,
Senthil Kumar .A
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)