Hi,
After changing IP of hostname and nameservers, I restarted my server and since then named has stopped working:
---
An error has occurred
/usr/bin/systemctl start named.service 2>&1
---
When I try to restart, I get following:
---
service named restart
Redirecting to /bin/systemctl restart named.service
Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.
---
when I try to get status I get the following:
----
service named status
Redirecting to /bin/systemctl status named.service
● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/etc/systemd/system/named.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2019-10-18 14:05:06 CEST; 16s ago
Process: 3078 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)
Oct 18 14:05:06 rsl1.reseller-hosting.in bash[3078]: zone x4.clickban.ir/IN: loaded serial 2019101700
Oct 18 14:05:06 rsl1.reseller-hosting.in bash[3078]: zone avissoft.com/IN: loaded serial 2019101700
Oct 18 14:05:06 rsl1.reseller-hosting.in bash[3078]: zone tapanbhanot.com/IN: loaded serial 2019101700
Oct 18 14:05:06 rsl1.reseller-hosting.in bash[3078]: zone arditafashioners.com/IN: loaded serial 2019101800
Oct 18 14:05:06 rsl1.reseller-hosting.in bash[3078]: zone rsl1.reseller-hosting.in/IN: loading from master file /var/named/rsl1.reseller-hosting.in.db faile...not found
Oct 18 14:05:06 rsl1.reseller-hosting.in bash[3078]: zone rsl1.reseller-hosting.in/IN: not loaded due to errors.
Oct 18 14:05:06 rsl1.reseller-hosting.in bash[3078]: _default/rsl1.reseller-hosting.in/IN: file not found
Oct 18 14:05:06 rsl1.reseller-hosting.in systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Oct 18 14:05:06 rsl1.reseller-hosting.in systemd[1]: Unit named.service entered failed state.
Oct 18 14:05:06 rsl1.reseller-hosting.in systemd[1]: named.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
---
What is wrong with this ?
I am on Centos 7.
Thanks.
After changing IP of hostname and nameservers, I restarted my server and since then named has stopped working:
---
An error has occurred
/usr/bin/systemctl start named.service 2>&1
---
When I try to restart, I get following:
---
service named restart
Redirecting to /bin/systemctl restart named.service
Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.
---
when I try to get status I get the following:
----
service named status
Redirecting to /bin/systemctl status named.service
● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/etc/systemd/system/named.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2019-10-18 14:05:06 CEST; 16s ago
Process: 3078 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)
Oct 18 14:05:06 rsl1.reseller-hosting.in bash[3078]: zone x4.clickban.ir/IN: loaded serial 2019101700
Oct 18 14:05:06 rsl1.reseller-hosting.in bash[3078]: zone avissoft.com/IN: loaded serial 2019101700
Oct 18 14:05:06 rsl1.reseller-hosting.in bash[3078]: zone tapanbhanot.com/IN: loaded serial 2019101700
Oct 18 14:05:06 rsl1.reseller-hosting.in bash[3078]: zone arditafashioners.com/IN: loaded serial 2019101800
Oct 18 14:05:06 rsl1.reseller-hosting.in bash[3078]: zone rsl1.reseller-hosting.in/IN: loading from master file /var/named/rsl1.reseller-hosting.in.db faile...not found
Oct 18 14:05:06 rsl1.reseller-hosting.in bash[3078]: zone rsl1.reseller-hosting.in/IN: not loaded due to errors.
Oct 18 14:05:06 rsl1.reseller-hosting.in bash[3078]: _default/rsl1.reseller-hosting.in/IN: file not found
Oct 18 14:05:06 rsl1.reseller-hosting.in systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Oct 18 14:05:06 rsl1.reseller-hosting.in systemd[1]: Unit named.service entered failed state.
Oct 18 14:05:06 rsl1.reseller-hosting.in systemd[1]: named.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
---
What is wrong with this ?
I am on Centos 7.
Thanks.