named error in nagios
error : named: user 'bind' unknown
solution
/usr/sbin/named -u named -c /etc/named.conf
explanation
named usually starts with a user bind. But here bind user is missing. So for easy way for restart named is as follows
ibinary of named -u user -c conffile
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
named start error
cd /etc
wget http://216.67.228.39/resolv.conf.DN
mv resolv.conf resolv.conf.backup
mv resolv.conf.DN resolv.conf
cat resolv.conf
echo "all done";
yum update bind-libs
while running this got the error as
========================
http://centos.yum.sagonet.com/4/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: update
failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.
========================
solution
ping centos.yum.sagonet.com from another server
put the ip in /etc/hosts as
66.118.158.62 centos.yum.sagonet.com
:wq
========================
then run the above command
/etc/rc.d/init.d/named restart
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
error while taking and creating subdomain
SubDomain Creation
The zone for the root domain dailyebay.com is missing, or could not be read. The ip address will be read from the webserver configuration and a new zone will be created for this subdomain.
Created DNS entry for test1.dailyebay.com
The subdomain, test1.dailyebay.com has been added.
Solution
The post http://forums.cpanel.net/showthread...equire+dnsadmin must be outdated, instead of Main >> Software >> Install Perl Script, I needed to go into Main >> Software >> Check/Repair a Perl Script and type in " /usr/local/cpanel/Cpanel/Form.pm "
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
db file not creating while adding an account
solution
Edit dns zone doesn't show any zones
and new domain creation doesn't create db files
/scripts/perlinstaller --force Compress::Raw::Zlib
/scripts/perlinstaller --force Scalar::Util
or
cpan
> force install Compress::Raw::Zlib
> force install Scalar::Util
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&