Page 1 of 1

after restart DNS and DHCP server dont start automatically

Posted: Thu Nov 25, 2010 11:46 am
by OldSkul
Watchdog. DNS Server is being monitored 24x7
Start at boot time. DNS Server will not start at boot time


Both settings are enabled in both cases. What could be wrong?

I have F12 with latest upgrades and of course latest amahi.

Re: after restart DNS and DHCP server dont start automatical

Posted: Thu Nov 25, 2010 8:46 pm
by rgmhtt
There can be any number of things wrong with the DNS and DHCP values that can cause it to fail.

Look in /var/log/messages for BIND and DHCP messages. Having 'strange' IP addresses can cause 'strange' results. Now I do this as a matter of course and am always fidlling with these two...

Re: after restart DNS and DHCP server dont start automatical

Posted: Thu Nov 25, 2010 8:56 pm
by cpg
Well, it would not start if there is an incorrect configuration.

By construction, if you use the Amahi UI to configure settings it should _always_ be a correct configuration (otherwise it's a bug).

Re: after restart DNS and DHCP server dont start automatical

Posted: Mon Nov 29, 2010 6:39 am
by OldSkul
it did work in the past, i havent changed anything apart constant updates of F12 and amahi. And thats all.

My server has IP 192.168.1.10... Nothing unusual.

All other services starts without any problems.

Re: after restart DNS and DHCP server dont start automatical

Posted: Tue Nov 30, 2010 6:49 am
by rgmhtt
chkconfig --list will show you the start status.

check /var/log/messages for any error messages.

Re: after restart DNS and DHCP server dont start automatical

Posted: Tue Nov 30, 2010 7:09 am
by OldSkul
Image

Re: after restart DNS and DHCP server dont start automatical

Posted: Tue Nov 30, 2010 6:36 pm
by rgmhtt
Note that both dhcpd and named are 'off' all the way across.

There are two ways to 'fix' this. The Setup Servers has an option for services to start at boot time.

Or type in the commands:

chkconfig dhcpd on
chkconfig named on

This sets them to start on boot.