<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi is a common problem! when you start as user or root</p>
<p style="margin-top:0;margin-bottom:0">service take shell permission not service permission</p>
<p style="margin-top:0;margin-bottom:0">check if exist group and user named if directory and file access mask is right and if owner is right</p>
<p style="margin-top:0;margin-bottom:0">as last check bind log not systemd for any error</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">now I don't remember but should even be a debug mode on daemon startup</p>
<p style="margin-top:0;margin-bottom:0">if I'm not wrong is -d x check bind manuals</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">often is even tmp and specially PID creatiion inside pid directory (if you haven't moved it from conf).</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> bind-users <bind-users-bounces@lists.isc.org> on behalf of Blason R <blason16@gmail.com><br>
<b>Sent:</b> Wednesday, April 18, 2018 10:57 AM<br>
<b>To:</b> Reindl Harald<br>
<b>Cc:</b> bind-users<br>
<b>Subject:</b> Re: Somehow my DNS is not starting up</font>
<div> </div>
</div>
<div>
<div dir="ltr">Well it just loads fine when I run from command line i.e. named -u named -n 4 -c /etc/named.conf</div>
<div class="x_gmail_extra"><br>
<div class="x_gmail_quote">On Wed, Apr 18, 2018 at 2:25 PM, Reindl Harald <span dir="ltr">
<<a href="mailto:h.reindl@thelounge.net" target="_blank" id="LPlnk638964" previewremoved="true">h.reindl@thelounge.net</a>></span> wrote:<br>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
named.service start operation timed out<br>
362086 zones<br>
<br>
well, it may take too long to load them<br>
<br>
TimeoutStartSec defaults to DefaultTimeoutStartSec<br>
on Fedora: DefaultTimeoutStartSec=90s<br>
<br>
<a href="https://www.freedesktop.org/software/systemd/man/systemd.service.html" rel="noreferrer" target="_blank" id="LPlnk98596" previewremoved="true" style="">https://www.freedesktop.org/<wbr>software/systemd/man/systemd.<wbr>service.html</a><br>
TimeoutStartSec=<br>
Configures the time to wait for start-up. If a daemon service does not<br>
signal start-up completion within the configured time, the service will<br>
be considered failed and will be shut down again. Takes a unit-less<br>
value in seconds, or a time span value such as "5min 20s". Pass<br>
"infinity" to disable the timeout logic. Defaults to<br>
DefaultTimeoutStartSec= from the manager configuration file, except when<br>
Type=oneshot is used, in which case the timeout is disabled by default<br>
(see systemd-system.conf(5)).<br>
<div class="x_HOEnZb">
<div class="x_h5"><br>
Am 18.04.2018 um 09:47 schrieb Blason R:<br>
> Not sure what is gone wrong but my DNS is not starting up. and I am<br>
> getting below error. I have around 362086 zones with 4 core CPU and 8<br>
> GB RAM.<br>
> <br>
> This is a sinkhole DNS server<br>
> <br>
> Apr 18 13:09:02 dnsfw named[1644]: command channel listening on<br>
> 127.0.0.1#953<br>
> Apr 18 13:09:02 dnsfw named[1644]: command channel listening on ::1#953<br>
> <br>
> <br>
> Apr 18 13:10:01 dnsfw systemd: named.service start operation timed out.<br>
> Terminating.<br>
> Apr 18 13:10:01 dnsfw systemd: Failed to start Berkeley Internet Name<br>
> Domain (DNS).<br>
> Apr 18 13:10:01 dnsfw systemd: Unit named.service entered failed state.<br>
> Apr 18 13:10:01 dnsfw systemd: named.service failed<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>