Author Topic: BIND DNS Server - named dead but pid file exists  (Read 16675 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
BIND DNS Server - named dead but pid file exists
« on: May 23, 2016, 05:09:29 AM »
Hello,

installed fresh centos 6.7 and cwp, but cant get my sites online, shows bind error, what did I do wrong or how to fix it?

When i try to restart get this:
Stopping named: [  OK  ]
Starting named: [FAILED]

Also the Nameservers are blank!...

Don't forget to restart BIND DNS Server once you are done with the changes.
Changes made here will apply only on the newly added domains.
For more information's check this instructions.

resolves to a.root-servers.net. b.root-servers.net. c.root-servers.net. d.root-servers.net. e.root-servers.net. f.root-servers.net. g.root-servers.net. h.root-servers.net. i.root-servers.net. j.root-servers.net. k.root-servers.net. l.root-servers.net. m.root-servers.net.
resolves to g.root-servers.net. a.root-servers.net. j.root-servers.net. d.root-servers.net. i.root-servers.net. b.root-servers.net. m.root-servers.net. h.root-servers.net. k.root-servers.net. e.root-servers.net. l.root-servers.net. f.root-servers.net. c.root-servers.net.

NS1 SubDomain:       NS1 IP:    
NS2 SubDomain:       NS2 IP:    

Overwrite DNS Zone file:    (this will overwrite ns1 and ns2 zone files) - enabled with a tick
Restart DNS Server:    -enabled with a tick

Please some one help! ! !

Offline
*****
Re: BIND DNS Server - named dead but pid file exists
« Reply #1 on: May 23, 2016, 05:30:39 AM »
Did you add the child name server to the domain registrar dns ?

recommendation :
use free dns service by cwp or by cloudflare

Offline
**
Re: BIND DNS Server - named dead but pid file exists
« Reply #2 on: May 23, 2016, 05:35:34 AM »
Child name server? I think no!

How to do that?

Offline
**
Re: BIND DNS Server - named dead but pid file exists
« Reply #3 on: May 23, 2016, 05:43:34 AM »
If you mean A recodrs lika @ and www that points to my server then yes

Added domain to the free dns, but nothing changed? Replaced old records with registrar to
ns1.centos-webpanel.com
ns2.centos-webpanel.com
ns3.centos-webpanel.com
ns4.centos-webpanel.com
ns5.centos-webpanel.com

Maybe it needs some time, but sensually 15min...

Maybe there is an option to reset all settings from the start? I cant figure out what is wrong....! HELP!

Do i need to set nameservers to ns1.centos-webpanel.com and ns2.centos-webpanel.com?

Stopping named: [  OK  ]
Starting named:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
zone ns1.alksnis.id.lv/IN: loading from master file /var/named/ns1.alksnis.id.lv.db failed: file not found
zone ns1.alksnis.id.lv/IN: not loaded due to errors.
_default/ns1.alksnis.id.lv/IN: file not found
zone ns2.alksnis.id.lv/IN: loading from master file /var/named/ns2.alksnis.id.lv.db failed: file not found
zone ns2.alksnis.id.lv/IN: not loaded due to errors.
_default/ns2.alksnis.id.lv/IN: file not found
zone letubodite.lv/IN: loaded serial 2013071600
zone dealtechnic.com/IN: loaded serial 2013071600
dns_rdata_fromtext: /var/named/ns1.centos-webpanel.com.db:14: near eol: unexpected end of input
zone ns1.centos-webpanel.com/IN: loading from master file /var/named/ns1.centos-webpanel.com.db failed: unexpected end of input
zone ns1.centos-webpanel.com/IN: not loaded due to errors.
_default/ns1.centos-webpanel.com/IN: unexpected end of input
dns_rdata_fromtext: /var/named/ns2.centos-webpanel.com.db:14: near eol: unexpected end of input
zone ns2.centos-webpanel.com/IN: loading from master file /var/named/ns2.centos-webpanel.com.db failed: unexpected end of input
zone ns2.centos-webpanel.com/IN: not loaded due to errors.
_default/ns2.centos-webpanel.com/IN: unexpected end of input
[FAILED]



« Last Edit: May 23, 2016, 06:09:47 AM by johnny09 »

Offline
***
Re: BIND DNS Server - named dead but pid file exists
« Reply #4 on: May 23, 2016, 06:41:48 AM »
http://www.intodns.com/alksnis.id.lv

You already use freedns.centos-webpanel.com, then you can ignore any error abaut named/zone/bidn in your CWP, can disabled too

Offline
**
Re: BIND DNS Server - named dead but pid file exists
« Reply #5 on: May 23, 2016, 07:06:32 AM »
Still no luck...

Offline
*****
Re: BIND DNS Server - named dead but pid file exists
« Reply #6 on: May 23, 2016, 07:45:19 AM »
johnny send me the details of your vps (ip, password and port) and domain control panel (email/username, password and url for your control panel) i need to check the Vps.

Offline
*****
Re: BIND DNS Server - named dead but pid file exists
« Reply #7 on: May 23, 2016, 06:54:46 PM »
Solved

Offline
**
Re: BIND DNS Server - named dead but pid file exists
« Reply #8 on: May 24, 2016, 11:30:54 AM »
Problem solved with a fresh centos and cwp install!

Thanks to Sandeep. Thank you!

Offline
*
Re: BIND DNS Server - named dead but pid file exists
« Reply #9 on: June 03, 2016, 03:44:15 AM »


I think that is the same problem :(
The site does not open when this occurs, I restart the server then it back works normally.

Offline
*****
Re: BIND DNS Server - named dead but pid file exists
« Reply #10 on: June 03, 2016, 05:08:58 AM »
try to remove bind and reinstall it