1

I have been creating an email server with Samba AD and today it did not want to restart the DNS server with which I provisioned the domain. I have not been able to find any answers on the internet.

When I try to restart BIND:

root@cll-mx:/home/miemxadmin# systemctl restart bind9 Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xeu named.service" for details. 

The status of the SystemD service shows:

root@cll-mx:/home/miemxadmin# systemctl status bind9 × named.service - BIND Domain Name Server Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Mon 2025-01-27 16:37:56 CST; 8s ago Docs: man:named(8) Process: 3618 ExecStart=/usr/sbin/named -f $OPTIONS (code=exited, status=1/FAILURE) Main PID: 3618 (code=exited, status=1/FAILURE) CPU: 331ms ene 27 16:37:56 cll-mx.com.ECMX.GROUP systemd[1]: named.service: Scheduled restart job, restart counter is at 5. ene 27 16:37:56 cll-mx.com.ECMX.GROUP systemd[1]: named.service: Start request repeated too quickly. ene 27 16:37:56 cll-mx.com.ECMX.GROUP systemd[1]: named.service: Failed with result 'exit-code'. ene 27 16:37:56 cll-mx.com.ECMX.GROUP systemd[1]: Failed to start named.service - BIND Domain Name Server. 

And the suggested journalctl -xeu named.service gives this:

Automatic restarting of the unit named.service has been scheduled, as the result for ░░ the configured Restart= setting for the unit. ene 27 16:37:56 cll-mx.com.ECMX.GROUP systemd[1]: named.service: Start request repeated too quickly. ene 27 16:37:56 cll-mx.com.ECMX.GROUP systemd[1]: named.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ The unit named.service has entered the 'failed' state with result 'exit-code'. ene 27 16:37:56 cll-mx.com.ECMX.GROUP systemd[1]: Failed to start named.service - BIND Domain Name Server. ░░ Subject: A start job for unit named.service has failed ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ A start job for unit named.service has finished with a failure. ░░ ░░ The job identifier is 4867 and the job result is failed. 

I still don't know where to start to verify what the error is.

1
  • 1
    What's in the logs? The journal output does not provide enough history. Commented Jan 28 at 6:37

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.