Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section DNS Server
  • Search

Error: named restart failed

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
18 posts
  • 1
  • 2
  • Next
shonir
Posts: 42
Joined: Tue Sep 20, 2016 10:58 am
Contact:
Contact shonir
Website Skype

Os: CentOS 6x
Web: apache + nginx
Error: named restart failed
  • Quote

Post by shonir » Tue Mar 07, 2017 10:21 am

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)
Top

shonir
Posts: 42
Joined: Tue Sep 20, 2016 10:58 am
Contact:
Contact shonir
Website Skype

Os: CentOS 6x
Web: apache + nginx
Re: Error: named restart failed
  • Quote

Post by shonir » Tue Mar 07, 2017 10:26 am

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.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Error: named restart failed
  • Quote

Post by skurudo » Tue Mar 07, 2017 11:07 am

Try to Rebuid DNS for your domains first and try to restart named service.
Top

shonir
Posts: 42
Joined: Tue Sep 20, 2016 10:58 am
Contact:
Contact shonir
Website Skype

Os: CentOS 6x
Web: apache + nginx
Re: Error: named restart failed
  • Quote

Post by shonir » Tue Mar 07, 2017 11:14 am

● 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.
Top

shonir
Posts: 42
Joined: Tue Sep 20, 2016 10:58 am
Contact:
Contact shonir
Website Skype

Os: CentOS 6x
Web: apache + nginx
Re: Error: named restart failed
  • Quote

Post by shonir » Tue Mar 07, 2017 11:15 am

i do rebuild DNS but no luck :(

my all clients gonna kill me :(
Top

shonir
Posts: 42
Joined: Tue Sep 20, 2016 10:58 am
Contact:
Contact shonir
Website Skype

Os: CentOS 6x
Web: apache + nginx
Re: Error: named restart failed
  • Quote

Post by shonir » Tue Mar 07, 2017 1:17 pm

service bind9 restart
Redirecting to /bin/systemctl restart bind9.service
Failed to restart bind9.service: Unit not found.
Top

shonir
Posts: 42
Joined: Tue Sep 20, 2016 10:58 am
Contact:
Contact shonir
Website Skype

Os: CentOS 6x
Web: apache + nginx
Re: Error: named restart failed
  • Quote

Post by shonir » Tue Mar 07, 2017 1:42 pm

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";
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Error: named restart failed
  • Quote

Post by skurudo » Tue Mar 07, 2017 1:58 pm

Show us pls.:

Code: Select all

ls -la /etc/named.conf
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Error: named restart failed
  • Quote

Post by skurudo » Tue Mar 07, 2017 1:59 pm

shonir wrote:service bind9 restart
Redirecting to /bin/systemctl restart bind9.service
Failed to restart bind9.service: Unit not found.
in centos it's called named
Top

shonir
Posts: 42
Joined: Tue Sep 20, 2016 10:58 am
Contact:
Contact shonir
Website Skype

Os: CentOS 6x
Web: apache + nginx
Re: Error: named restart failed
  • Quote

Post by shonir » Tue Mar 07, 2017 5:29 pm

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
Top


Post Reply
  • Print view

18 posts
  • 1
  • 2
  • Next

Return to “DNS Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password