[CentOS] Name failed to restart with service named restart command

Tariq Ismail Dalvi tariqdalvi at gmail.com
Wed Nov 25 20:45:19 UTC 2009


Hello Nate,

In my case reload works fine but if i use restart the it show
Stopping named                                            OK
Starting named:                                            [FAILED]
and syslog message shows following entry:-
Nov 26 01:23:15 localhost named[4413]: starting BIND
9.3.6-P1-RedHat-9.3.6-4.P1.el5 -u named -D -t /var/named/chroot
Nov 26 01:23:15 localhost named[4413]: adjusted limit on open files
from 1024 to 1048576
Nov 26 01:23:15 localhost named[4413]: found 1 CPU, using 1 worker thread
Nov 26 01:23:15 localhost named[4413]: using up to 4096 sockets
Nov 26 01:23:15 localhost named[4413]: loading configuration from
'/etc/named.conf'
Nov 26 01:23:15 localhost named[4413]: using default UDP/IPv4 port
range: [1024, 65535]
Nov 26 01:23:15 localhost named[4413]: using default UDP/IPv6 port
range: [1024, 65535]
Nov 26 01:23:15 localhost named[4413]: listening on IPv4 interface lo,
127.0.0.1#53
Nov 26 01:23:15 localhost named[4413]: listening on IPv4 interface
eth0, 192.168.1.12#53
Nov 26 01:23:15 localhost named[4413]: listening on IPv4 interface
eth0:0, 192.168.1.16#53
Nov 26 01:23:15 localhost named[4413]: listening on IPv4 interface
eth0, 192.168.1.10#53
Nov 26 01:23:15 localhost named[4413]: command channel listening on
127.0.0.1#953
Nov 26 01:23:15 localhost named[4413]: command channel listening on
192.168.1.12#953
Nov 26 01:23:15 localhost named[4413]: zone
0.in-addr.arpa/IN/internal: loaded serial 42
Nov 26 01:23:15 localhost named[4413]: zone
0.0.127.in-addr.arpa/IN/internal: loaded serial 1
Nov 26 01:23:15 localhost named[4413]: zone
168.192.in-addr.arpa/IN/internal: loaded serial 6
Nov 26 01:23:15 localhost named[4413]: zone
255.in-addr.arpa/IN/internal: loaded serial 42
Nov 26 01:23:15 localhost named[4413]: zone
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN/internal:
loaded serial 1997022700
Nov 26 01:23:15 localhost named[4413]: zone example4.in/IN/internal:
loaded serial 6
Nov 26 01:23:15 localhost named[4413]: zone example1.in/IN/internal:
loaded serial 6
Nov 26 01:23:15 localhost named[4413]: zone localdomain/IN/internal:
loaded serial 42
Nov 26 01:23:15 localhost named[4413]: zone localhost/IN/internal:
loaded serial 42
Nov 26 01:23:15 localhost named[4413]: zone example3.net/IN/internal:
loaded serial 6
Nov 26 01:23:15 localhost named[4413]: zone example2.net/IN/internal:
loaded serial 6
Nov 26 01:23:15 localhost named[4413]: zone
83.57.in-addr.arpa/IN/external: loaded serial 6
Nov 26 01:23:15 localhost named[4413]: zone example4.in/IN/external:
loaded serial 1
Nov 26 01:23:15 localhost named[4413]: zone example1.in/IN/external:
loaded serial 6
Nov 26 01:23:15 localhost named[4413]: zone example3.net/IN/external:
loaded serial 1
Nov 26 01:23:15 localhost named[4413]: zone example2.net/IN/external:
loaded serial 6


one more error i have noticed in Service configuration panel while trying
to start named is :-
rndc: connect failed: 127.0.0.1#953: connection refused
named is stopped.

Best regards.

On Wed, Nov 25, 2009 at 1:54 PM, nate <centos at linuxpowered.net> wrote:
> Tariq Ismail Dalvi wrote:
>> I have Centro 5.4 it named starts at bootup but fails to restart when
>> I give command service named restart and it there is no any error in
>> syslog messages.
>>
>> With reload command I get the following message in syslog :-
>
> You running *restart* or *reload* as they are often different
> things.
>
> Your subject says restart your text above says reload.
>
> reload uses ndc and restart uses start/stop
>
> I prefer restart myself, ndc doesn't work well with my
> configuration for whatever reason.
>
> nate
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



More information about the CentOS mailing list