Unable to start name

rams bramesh80 at gmail.com
Fri Apr 9 06:07:52 UTC 2021

Thank you Stuart for your reply.
When I run named-checkconf seeing as below and also status shows always
I have looked into the below zones and not seen any issue with those.

[dev][root at xtld2.usiad42 log]# named-checkconf -z /etc/named.conf
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
loaded serial 0
zone loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
[dev][root at xtld2.usiad42 log]# service named status
rndc: connect failed: connection refused
● named.service - LSB:
start|stop|status|restart|try-restart|reload|force-reload DNS server
   Loaded: loaded (/etc/rc.d/init.d/named; bad; vendor preset: disabled)
   Active: failed (Result: timeout) since Fri 2021-04-09 04:49:29 UTC; 1h
15min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 23987 ExecStop=/etc/rc.d/init.d/named stop (code=exited,
  Process: 1345 ExecStart=/etc/rc.d/init.d/named start (code=killed,

Apr 09 05:19:38  named[1354]: generating session key for dynamic DNS
Apr 09 05:19:38 named[1354]: could not create /var/run/named/session.key
Apr 09 05:19:38 named[1354]: failed to generate session key for dynamic
DNS: permi...ied
Apr 09 05:19:38 named[1354]: sizing zone task pool based on 583 zones
Apr 09 05:19:38  named[1354]: none:100: 'max-cache-size 90%' - setting to
115894MB ...MB)
Apr 09 05:19:39  named[1354]: none:100: 'max-cache-size 90%' - setting to
115894MB ...MB)
Apr 09 05:19:39  named[1354]: configuring command channel from
Apr 09 05:19:39  named[1354]: configuring command channel from
Apr 09 05:19:39  named[1354]: reloading configuration succeeded
Apr 09 05:19:39 named[1354]: zone ref...led
Hint: Some lines were ellipsized, use -l to show in full.
[dev][root at xtld2.usiad42 log]#

On Fri, Apr 9, 2021 at 11:16 AM Stuart at registry.godaddy
<Stuart at registry.godaddy> wrote:

> > From: bind-users <bind-users-bounces at lists.isc.org> on behalf of rams <
> bramesh80 at gmail.com>
> > Date: Friday, 9 April 2021 at 2:56 pm
> > To: bind-users <bind-users at lists.isc.org>
> > Subject: Unable to start name
> > Hi
> > We are using bind on centos7.8. We have large number of zones
> > on disk. When we stop/start , we are not getting successful message and
> > seeing below error. But in log we see named is running and doing
> > axfr/ixfr. Do we need to add any configuration paameter to avoid below
> > error.
> >
> > Starting named (via systemctl):  Job for named.service failed because a
> timeout was exceeded. See "systemctl status named.service" and "journalctl
> -xe" for details
> You mentioned that you have a large number of zones. If there are no error
> messages generated by NAMED starting other than the exceeding of a timeout,
> it could just be the system service-start timing out.
> Have a look at TimeoutSec in the service unit definition:
> https://www.freedesktop.org/software/systemd/man/systemd.service.html#TimeoutSec=
> You may also want to try "named-checkconf -z /etc/named.conf" and see how
> long
> it takes (as this does a similar sort of validation as starting the
> service does).
> Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20210409/d577c518/attachment.htm>

More information about the bind-users mailing list