fdnven

Well-Known Member
Feb 14, 2006
120
1
168
Hi,

Name wishes not to restart with this error in log:
Starting named:
Error in named configuration:
/etc/init.d/named: line 175: /usr/sbin/named-checkconf: No such file or directory
[FAILED]


And indeed the file named-checkconf does not exist in /usr/sbin/.

Thanks
Frank
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

You may need to reinstall the Bind RPMs. However, first, please try rebuilding your /etc/named.conf file via:

Code:
mv /etc/named.conf /etc/named.conf.backup1
/scripts/rebuilddnsconfig
Let us know if the issue persists.

Thank you.
 

fdnven

Well-Known Member
Feb 14, 2006
120
1
168
Hello :)

You may need to reinstall the Bind RPMs. However, first, please try rebuilding your /etc/named.conf file via:

Code:
mv /etc/named.conf /etc/named.conf.backup1
/scripts/rebuilddnsconfig
Let us know if the issue persists.

Thank you.
After issuing the commands:

'Named could not be restarted, any obvious config errors should show up below this line.
No critical problems found, will attempt to regenerate keys regardless.
Creating rndc.conf
rndc-confgen not located on system, please check the Bind installation at /usr/local/cpanel/scripts/fixrndc line 337."

Thanks
Frank
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Did you take any actions before this issue started? Try reinstalling Bind by first checking to see which Bind RPMs are installed. EX:

Code:
rpm -qa|grep bind
Use the "rpm -e --nodeps package-name" command to remove the Bind RPMs and then reinstall them through YUM.

Thank you.
 

fdnven

Well-Known Member
Feb 14, 2006
120
1
168
Did you take any actions before this issue started? Try reinstalling Bind by first checking to see which Bind RPMs are installed. EX:

Code:
rpm -qa|grep bind
Use the "rpm -e --nodeps package-name" command to remove the Bind RPMs and then reinstall them through YUM.

Thank you.
Hi,

The only issue server had crashed (due to high load) and a FSCK was performed.

As your commands:
[email protected] [~]# rpm -qa|grep bind
bind-devel-9.8.2-0.17.rc1.el6_4.6.x86_64
bind-utils-9.8.2-0.17.rc1.el6_4.6.x86_64
bind-9.8.2-0.17.rc1.el6_4.6.x86_64
rpcbind-0.2.0-11.el6.x86_64
bind-libs-9.8.2-0.17.rc1.el6_4.6.x86_64

So I need to remove and reinstall all the above?

Thanks
Frank
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
You could remove/reinstall just the bind-9.8.2-0.17.rc1.el6_4.6.x86_64 RPM.

Thank you.