Control Web Panel

WebPanel => Installation => Topic started by: darkside1it on September 01, 2015, 02:21:32 PM

Title: BIND Dns server - Name is stopped
Post by: darkside1it on September 01, 2015, 02:21:32 PM
Good evening everyone. :)
It's first time here, and first of all I want to thank the developers of this really good product! I really like it.

So. Here are the bad news :'(
I'm really a newbie in this field and I'm having difficulties to set up CWP correctly, in particular as regards email.
The BIND DNS server doesn't works and says that "named is stopped".

When I start the BIND DNS server this is the error page I received
Code: [Select]
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 nessuno/IN: loaded serial 2013071600
zone ns1.centos-webpanel.com/IN: loaded serial 2013071600
zone ns2.centos-webpanel.com/IN: loaded serial 2013071600
zone srv1.culturaurbana.it/IN: loaded serial 2013071600
dns_master_load: /var/named/culturaurbana.it.db:7: unexpected end of line
dns_master_load: /var/named/culturaurbana.it.db:6: unexpected end of input
dns_master_load: /var/named/culturaurbana.it.db:9: unexpected end of line
dns_master_load: /var/named/culturaurbana.it.db:8: unexpected end of input
dns_master_load: /var/named/culturaurbana.it.db:11: unexpected end of line
dns_master_load: /var/named/culturaurbana.it.db:10: unexpected end of input
dns_master_load: /var/named/culturaurbana.it.db:11: isc_lex_gettoken() failed: unbalanced parentheses
dns_master_load: /var/named/culturaurbana.it.db:11: unbalanced parentheses
/var/named/culturaurbana.it.db:16: ignoring out-of-zone data (ns2.centos-webpanel.com)
zone culturaurbana.it/IN: loading from master file /var/named/culturaurbana.it.db failed: unexpected end of input
zone culturaurbana.it/IN: not loaded due to errors.
_default/culturaurbana.it/IN: unexpected end of input
zone www.culturaurbana.it/IN: loaded serial 2013071600
zone kungfugenova.com/IN: loaded serial 2013071600
[FAILED]

I'm quite sure I have done something wrong with the hostname configuration.
I have found similar problem to mine on the Internet but sincerelly I haven't found the answer I was searching for.

I'm a real newbbie and I'm searching for a help  ::)
Thank you guys ;)
Title: Re: BIND Dns server - Name is stopped
Post by: Igor S. on September 11, 2015, 05:53:41 PM
Hello.

you have to check your file /var/named/culturaurbana.it.db or recreate the DNS zone from CWP
Title: Re: BIND Dns server - Name is stopped
Post by: Augusto22xb on February 08, 2016, 10:40:34 AM
Excuse me, the more I am having the same problem ...

(http://puu.sh/n0d7V/09f42fefc2.png)

Quote
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
dns_master_load: /var/named/ns1.hoststronger.com..db:5: empty label
dns_master_load: /var/named/ns1.hoststronger.com..db:12: empty label
dns_master_load: /var/named/ns1.hoststronger.com..db:13: empty label
dns_master_load: /var/named/ns1.hoststronger.com..db:14: empty label
zone ns1.hoststronger.com/IN: loading from master file /var/named/ns1.hoststronger.com..db failed: empty label
zone ns1.hoststronger.com/IN: not loaded due to errors.
_default/ns1.hoststronger.com./IN: empty label
dns_master_load: /var/named/ns2.hoststronger.com..db:5: empty label
dns_master_load: /var/named/ns2.hoststronger.com..db:12: empty label
dns_master_load: /var/named/ns2.hoststronger.com..db:13: empty label
dns_master_load: /var/named/ns2.hoststronger.com..db:14: empty label
zone ns2.hoststronger.com/IN: loading from master file /var/named/ns2.hoststronger.com..db failed: empty label
zone ns2.hoststronger.com/IN: not loaded due to errors.
_default/ns2.hoststronger.com./IN: empty label
dns_rdata_fromtext: /var/named/hoststronger.com.db:4: near 'ns1.hoststronger.com..': empty label
dns_rdata_fromtext: /var/named/hoststronger.com.db:11: near 'ns1.hoststronger.com..': empty label
dns_rdata_fromtext: /var/named/hoststronger.com.db:12: near 'ns2.hoststronger.com..': empty label
zone hoststronger.com/IN: loading from master file /var/named/hoststronger.com.db failed: empty label
zone hoststronger.com/IN: not loaded due to errors.
_default/hoststronger.com/IN: empty label
[FAILED]

I searched the file you had quoted up more not seen any problem ...

(http://puu.sh/n0dfa/ff3cbef1ee.png)
Title: Re: BIND Dns server - Name is stopped
Post by: Igor S. on February 14, 2016, 06:25:08 AM
Hello.

Try to remove the files
 /var/named/ns1.hoststronger.com..db
 /var/named/ns2.hoststronger.com..db
and remove lines for them from /etc/named.conf
Title: Re: BIND Dns server - Name is stopped
Post by: Vision on September 06, 2016, 06:05:05 PM
I try this but the problem dont solve
Title: Re: BIND Dns server - Name is stopped
Post by: Igor S. on September 07, 2016, 05:40:53 AM
Hi, contact to CWP support: http://centos-webpanel.com/support-services