1751880 Members
5376 Online
108783 Solutions
New Discussion юеВ

Named on Linux

 
SOLVED
Go to solution
Patrick Chim
Trusted Contributor

Named on Linux

Hi all,

Does anyone know how to automatically bring up the named process whenever I reboot our Redhat linux 6.2 server ?

Regards,
Patrick
4 REPLIES 4
Denver Osborn
Honored Contributor
Solution

Re: Named on Linux

You can run setup for this.

/usr/sbin/setup

go into 'system services' and mark named

Hope this helps
-denver
Patrick Chim
Trusted Contributor

Re: Named on Linux

Hi,

Can I change any configuration file in command prompt to activate this change ?

Regards,
Patrick
Denver Osborn
Honored Contributor

Re: Named on Linux

As far as I can see, setup will create a sym link to /etc/rc.d/init.d/named. With the link in /etc/rc.d/rcX.d it will start at boot. To do it from command prompt;

This would have named start at runlevel 5.

ln -s /etc/rc.d/init.d/named /etc/rc.d/rc5.d/S55named

Hope this helps
-denver
Bernie Vande Griend
Respected Contributor

Re: Named on Linux

Just to make sure you add the link in the right place, do a:

grep initdefault /etc/inittab

This will tell you what user level your computer normally boots up to. By default this is 3.

If it was 3, you'd add the link to /etc/rc.d/rc3.d.
Ye who thinks he has a lot to say, probably shouldn't.