We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
Error: named restart failed
Error: named restart failed
Hello Everyone,
today in morning i just got new error in my vestacp server. I'm unable to remove any account and named services not working.
when i try to restart my named services from vestacp i got error: Error: named restart failed.
When i try to delete any account from vesta cp i got error : Error: named restart failed<br>Error: dns domain deletion failed.
when i try "service named restart" from shell root i got below result.
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 "service named configtest" then i got
The service command supports only basic LSB actions (start, stop, restart, try-r estart, reload, force-reload, status). For other actions, please try to use syst emctl.
im using CentOS 7.3.1611 (x86_64)
today in morning i just got new error in my vestacp server. I'm unable to remove any account and named services not working.
when i try to restart my named services from vestacp i got error: Error: named restart failed.
When i try to delete any account from vesta cp i got error : Error: named restart failed<br>Error: dns domain deletion failed.
when i try "service named restart" from shell root i got below result.
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 "service named configtest" then i got
The service command supports only basic LSB actions (start, stop, restart, try-r estart, reload, force-reload, status). For other actions, please try to use syst emctl.
im using CentOS 7.3.1611 (x86_64)
Re: Error: named restart failed
i alos do "systemctl status named.service" got result with some error and im not posting result here due to spam policy. let me know if you need i will PM.
Re: Error: named restart failed
Try to Rebuid DNS for your domains first and try to restart named service.
Re: Error: named restart failed
● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2017-03-07 15:25:03 PKT; 12s ago
Process: 14064 ExecStart=/usr/sbin/named -u named $OPTIONS (code=exited, status=1/FAILURE)
Process: 14061 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z /etc/named.conf; else echo "Checking of zone files is disabled"; fi (code=exited, status=0/SUCCESS)
Mar 07 15:25:03 hn.firmlayer.com named[14066]: using 4 UDP listeners per interface
Mar 07 15:25:03 hn.firmlayer.com named[14066]: using up to 4096 sockets
Mar 07 15:25:03 hn.firmlayer.com named[14066]: loading configuration from '/etc/named.conf'
Mar 07 15:25:03 hn.firmlayer.com named[14066]: open: /etc/named.conf: permission denied
Mar 07 15:25:03 hn.firmlayer.com named[14066]: loading configuration: permission denied
Mar 07 15:25:03 hn.firmlayer.com named[14066]: exiting (due to fatal error)
Mar 07 15:25:03 hn.firmlayer.com systemd[1]: named.service: control process exited, code=exited status=1
Mar 07 15:25:03 hn.firmlayer.com systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Mar 07 15:25:03 hn.firmlayer.com systemd[1]: Unit named.service entered failed state.
Mar 07 15:25:03 hn.firmlayer.com systemd[1]: named.service failed.
Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2017-03-07 15:25:03 PKT; 12s ago
Process: 14064 ExecStart=/usr/sbin/named -u named $OPTIONS (code=exited, status=1/FAILURE)
Process: 14061 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z /etc/named.conf; else echo "Checking of zone files is disabled"; fi (code=exited, status=0/SUCCESS)
Mar 07 15:25:03 hn.firmlayer.com named[14066]: using 4 UDP listeners per interface
Mar 07 15:25:03 hn.firmlayer.com named[14066]: using up to 4096 sockets
Mar 07 15:25:03 hn.firmlayer.com named[14066]: loading configuration from '/etc/named.conf'
Mar 07 15:25:03 hn.firmlayer.com named[14066]: open: /etc/named.conf: permission denied
Mar 07 15:25:03 hn.firmlayer.com named[14066]: loading configuration: permission denied
Mar 07 15:25:03 hn.firmlayer.com named[14066]: exiting (due to fatal error)
Mar 07 15:25:03 hn.firmlayer.com systemd[1]: named.service: control process exited, code=exited status=1
Mar 07 15:25:03 hn.firmlayer.com systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Mar 07 15:25:03 hn.firmlayer.com systemd[1]: Unit named.service entered failed state.
Mar 07 15:25:03 hn.firmlayer.com systemd[1]: named.service failed.
Re: Error: named restart failed
i do rebuild DNS but no luck :(
my all clients gonna kill me :(
my all clients gonna kill me :(
Re: Error: named restart failed
service bind9 restart
Redirecting to /bin/systemctl restart bind9.service
Failed to restart bind9.service: Unit not found.
Redirecting to /bin/systemctl restart bind9.service
Failed to restart bind9.service: Unit not found.
Re: Error: named restart failed
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
pid-file "/var/run/named/named.pid";
statistics-file "/var/named/data/named_stats.txt";
version "get lost";
allow-transfer {"none";};
recursion no;
};
include "/etc/rndc.key";
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
pid-file "/var/run/named/named.pid";
statistics-file "/var/named/data/named_stats.txt";
version "get lost";
allow-transfer {"none";};
recursion no;
};
include "/etc/rndc.key";
Re: Error: named restart failed
Show us pls.:
Code: Select all
ls -la /etc/named.conf
Re: Error: named restart failed
in centos it's called namedshonir wrote:service bind9 restart
Redirecting to /bin/systemctl restart bind9.service
Failed to restart bind9.service: Unit not found.
Re: Error: named restart failed
skurudo wrote:Show us pls.:Code: Select all
ls -la /etc/named.conf
-rw-r----- 1 root root 4183 Mar 7 18:49 /etc/named.conf