MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: NetMajom on 2014-10-11, 16:57:08

Title: After Update Bind error, server crashed
Post by: NetMajom on 2014-10-11, 16:57:08
I have updated the kloxo now, and my system crashed. what can i do?

Code: [Select]
*** Process for BIND service ***
A named start:
Error in named configuration:
zone ....IN: loading from master file master/... failed: file not found
zone ...../IN: not loaded due to errors.
_default/....hu/IN: file not found
.
.
.
.                                                           [FAILED]
  - Process with 'rndc': reload
rndc: connect failed: 127.0.0.1#953: connection refused

Title: Re: After Update Bind error, server crashed
Post by: MRatWork on 2014-10-11, 17:40:53
Try switch to dns for awhile.
Title: Re: After Update Bind error, server crashed
Post by: NetMajom on 2014-10-11, 17:41:29
how can i do? My domains not working! Include Kloxo admin!
Title: Re: After Update Bind error, server crashed
Post by: NetMajom on 2014-10-11, 18:05:08
The error continues...

Code: [Select]
Errorcode: ERR_NAME_RESOLUTION_FAILED
Title: Re: After Update Bind error, server crashed
Post by: MRatWork on 2014-10-11, 18:46:30
Using 6.5.0 or 7.0.0?.

A little trouble with 7.0.0 and no update for 6.5.0.
Title: Re: After Update Bind error, server crashed
Post by: NetMajom on 2014-10-11, 18:58:34
My version: Kloxo-MR 7.0.0.b-2014101103

Any advice?
Title: Re: After Update Bind error, server crashed
Post by: MRatWork on 2014-10-11, 19:07:21
Have you run 'sh /script/cleanup'?.
Title: Re: After Update Bind error, server crashed
Post by: NetMajom on 2014-10-11, 19:08:44
Yes, i ran it 3 or 4 times!
Title: Re: After Update Bind error, server crashed
Post by: MRatWork on 2014-10-11, 19:15:17
Update Kloxo-MR and change bind to nsd. It's less memory usage with same features.

It's ok running bind after update.
Title: Re: After Update Bind error, server crashed
Post by: chrisf on 2014-10-11, 22:45:47
Bind is only dns server that works for me under my setup.  Example:

ns1.domain.com x.x.x.1
ns2.domain.com x.x.x.2

Then dedicated ip x.x.x.3 to ns1.somedomain.com using ns2 from above.

All but bind stop working.
Title: Re: After Update Bind error, server crashed
Post by: rAXv2 on 2014-10-12, 22:54:15
i second it bind server or any dns server isnt starting at all
Title: Re: After Update Bind error, server crashed
Post by: MRatWork on 2014-10-13, 04:44:06
Something wrong with bind itself.
Title: Re: After Update Bind error, server crashed
Post by: chrisf on 2014-10-13, 06:20:04
Bind workimg, ALL OTHER DNS fail!  If i switch using any ns2.domain.com wuth a differemt IP than ns1, they start to fail.  Bind is the only one that works.

Something wrong if multiple IP use in other dns.
Title: Re: After Update Bind error, server crashed
Post by: MRatWork on 2014-10-13, 06:27:28
I am not using multiple IP but NSD better than bind. In latest Kloxo-MR 7, add yadifa.

Remember, bind, nsd and yadifa using the same zone format. Because using the same format, running fixdns only re-create zone file in nsd and then bind, nsd or yadifa will be use it if you select in panel.
Title: Re: After Update Bind error, server crashed
Post by: chrisf on 2014-10-13, 06:51:21
Nsd DOES NOT wofk for multiple ips!  Yadifa fails to start!

Unable to reinstall bind due to package NOT found errors!  This is STUPID!  How to get bind back installed!


UPDATE:
I hade to add exclude=bind* under mratwirk release noarch and arch to get bind to reinstall, now intoDns all ok.  If nsd uses same config, then something is wrong.
Title: Re: After Update Bind error, server crashed
Post by: MRatWork on 2014-10-13, 07:01:29
No, yadifa running well in latest upload but yadifa 1.0.3 have a trouble with SPF record.

Remember, bind, nsd and yafida using the same zone file format. So, they are always read the same record. Except nsd bug, no reason nsd not work for multiple ip where in the same situation bind work.
Title: Re: After Update Bind error, server crashed
Post by: chrisf on 2014-10-13, 07:21:24
I have bind installed, intoDNS all green, all ok.  Switch to nsd, nameservers quit responding, red errors intoDns.

I do not know why, but i can switch 100 times, same result, only bind works when using multiple ip's for nameservers.
Title: Re: After Update Bind error, server crashed
Post by: MRatWork on 2014-10-13, 07:39:54
Bind, nsd and yadifa using the same zone file format. Only different are how to list master, zone dan transfer file.

I found yadifa not work with 'include' and then must merge between yadifad.conf + yadifa.master.conf + yadifa.slave.conf to /etc/yadifad.conf. In bind and nsd, just enough 'include' for named.master.conf and named.slave.conf in /etc/named.conf.

That it.

Basically, bind, nsd and yadifa have the same logic. It's different compare to pdns, mydns (still not work) and djbdns.
Title: Re: After Update Bind error, server crashed
Post by: rAXv2 on 2014-10-13, 08:49:49
Bind fail to start after fresh install
Title: Re: After Update Bind error, server crashed
Post by: MRatWork on 2014-10-13, 09:08:26
Find out in log inside /var/log/named/
Title: Re: After Update Bind error, server crashed
Post by: MRatWork on 2014-10-13, 09:09:37
Remember, I didn't fixed bind issue in Kloxo-MR 6.5.0.
Title: Re: After Update Bind error, server crashed
Post by: rAXv2 on 2014-10-13, 09:15:51
its 7 latest 3 hour ago
Title: Re: After Update Bind error, server crashed
Post by: MRatWork on 2014-10-13, 09:39:38
Nothing problem in my testing server. So, choose to another dns server.
Title: Re: After Update Bind error, server crashed
Post by: rAXv2 on 2014-10-13, 10:15:02
u using centos 6 or 6.5 / full or minimal?
Title: Re: After Update Bind error, server crashed
Post by: MRatWork on 2014-10-13, 10:44:44
Always minimal. Try 'chmod 777 /opt/configs/nsd/conf/master;chmod 777 /opt/configs/nsd/conf/slave'.