Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: ahmed on March 29, 2017, 11:56:14 AM

Title: Job for named.service failed because the control process exited with error code.
Post by: ahmed on March 29, 2017, 11:56:14 AM
after i setup dns and try to restart DNS i get this message

Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.

Any solution ?
Title: Re: Job for named.service failed because the control process exited with error code.
Post by: Administrator on March 29, 2017, 01:26:09 PM
after restart click on the status button and then paste that info here
Title: Re: Job for named.service failed because the control process exited with error code.
Post by: ahmed on March 29, 2017, 03:25:04 PM
this is the information.

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 Wed 2017-03-29 11:23:53 EDT; 20s ago
  Process: 889 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=1/FAILURE)

Mar 29 11:23:53 agapechristianchatroom.com bash[889]: zone NS2.AGAPECHRISTIANCHATROOM.COM/IN: loaded serial 2013071600
Mar 29 11:23:53 agapechristianchatroom.com bash[889]: zone agapechristianchatroom.com/IN: NS 'NS1.AGAPECHRISTIANCHATROOM.COM' has no address records (A or AAAA)
Mar 29 11:23:53 agapechristianchatroom.com bash[889]: zone agapechristianchatroom.com/IN: NS 'NS2.AGAPECHRISTIANCHATROOM.COM' has no address records (A or AAAA)
Mar 29 11:23:53 agapechristianchatroom.com bash[889]: zone agapechristianchatroom.com/IN: not loaded due to errors.
Mar 29 11:23:53 agapechristianchatroom.com bash[889]: _default/agapechristianchatroom.com/IN: bad zone
Mar 29 11:23:53 agapechristianchatroom.com bash[889]: zone whatstruelove.com/IN: loaded serial 2013071600
Mar 29 11:23:53 agapechristianchatroom.com systemd[1]: named.service: control process exited, code=exited status=1
Mar 29 11:23:53 agapechristianchatroom.com systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Mar 29 11:23:53 agapechristianchatroom.com systemd[1]: Unit named.service entered failed state.
Mar 29 11:23:53 agapechristianchatroom.com systemd[1]: named.service failed.
Title: Re: Job for named.service failed because the control process exited with error code.
Post by: josemnunez on March 29, 2017, 06:25:58 PM
Greetings Friend, error is clear, you must create an A record for those dns

NS1.AGAPECHRISTIANCHATROOM.COM 'has no address records (A or AAAA)
Title: Re: Job for named.service failed because the control process exited with error code.
Post by: ahmed on March 29, 2017, 08:32:24 PM
do i need to create A records on domain registrar ? because on domain registrar A records is already there and on hosting where centos web panel is installed A records is there.

What shall i do now ?

Can you confirm.
Title: Re: Job for named.service failed because the control process exited with error code.
Post by: ahmed on March 29, 2017, 08:50:28 PM
i figured out problem by deleting nameserver from centos web panel front page right bottom site by clicking on change and retyping nameservers in small letters.

this is a bug in centos web panel, i think caps doesnt works and it doesnt bind dns.
Title: Re: Job for named.service failed because the control process exited with error code.
Post by: cyfocus on October 23, 2020, 07:26:43 PM
i figured out problem by deleting nameserver from centos web panel front page right bottom site by clicking on change and retyping nameservers in small letters.

this is a bug in centos web panel, i think caps doesnt works and it doesnt bind dns.

This one solved the problem for me.
Title: Re: Job for named.service failed because the control process exited with error code.
Post by: marcoss65 on May 09, 2021, 11:12:20 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 Sun 2021-05-09 13:11:51 CEST; 5s ago
  Process: 11823 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)

May 09 13:11:51 vmi577947.contaboserver.net bash[11823]: _default/ns1.slmbilisim.net/IN: file not found
May 09 13:11:51 vmi577947.contaboserver.net bash[11823]: zone cosareryapi.com/IN: loaded serial 2021050844
May 09 13:11:51 vmi577947.contaboserver.net bash[11823]: zone ns2.slmyonetim.com/IN: loaded serial 2021050860
May 09 13:11:51 vmi577947.contaboserver.net bash[11823]: zone vmi577947.contaboserver.net/IN: loaded serial 2021050858
May 09 13:11:51 vmi577947.contaboserver.net bash[11823]: zone ns3.slmbilisim.net/IN: loaded serial 2013071600
May 09 13:11:51 vmi577947.contaboserver.net bash[11823]: zone ns4.slmbilisim.net/IN: loaded serial 2013071600
May 09 13:11:51 vmi577947.contaboserver.net systemd[1]: named.service: control process exited, code=exited status=1
May 09 13:11:51 vmi577947.contaboserver.net systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
May 09 13:11:51 vmi577947.contaboserver.net systemd[1]: Unit named.service entered failed state.
May 09 13:11:51 vmi577947.contaboserver.net systemd[1]: named.service failed.