#1 (permalink)  
Old 02-23-2009, 01:39 AM
Registered User
 
Join Date: Nov 2007
Posts: 4
dantium is on a distinguished road
Strange cpanel issues

Something odd has occurred for no apparent reason and i can not work out whats going on, some help would be great.

Firstly i started getting some mysql errors, tables that crashed and need to be repaired, i resolved that by repairing the tables. Also I started getting errors in some PHP scripts trying to access different domains on the same server.

The main problem for now is the mail is not being forwarded for what it seems is all domains. I don't know if its some sort of DNS issue as the websites are working.

This is what i found in /usr/local/cpanel/logs/error_log

2009-02-23 06:09:57 info [cpsrvd] dig failed the usability test!

query failed: query timed out
2009-02-23 06:10:15 info [cpsrvd] /usr/local/cpanel/src/3rdparty/perl/perldig failed the usability test!

2009-02-23 06:10:15 warn [cpsrvd] No working dig found! at /usr/local/cpanel/Cpanel/DnsRoots.pm line 498
Cpanel:nsRoots::_getdigutil() called at /usr/local/cpanel/Cpanel/DnsRoots.pm line 405
Cpanel:nsRoots::_dig('cachetime', 30, 'nsips', ARRAY(0x834cea8), 'query', 'auth.cpanel.net') called at /usr/local/cpanel/Cpanel/DnsRoots.pm line 145
Cpanel:nsRoots::_find_nameservers('auth.cpanel.n et', 30, HASH(0x84b1554)) called at /usr/local/cpanel/Cpanel/DnsRoots.pm line 56
Cpanel:nsRoots::fetchnameservers('auth.cpanel.ne t') called at /usr/local/cpanel/Cpanel/DnsRoots.pm line 341
Cpanel:nsRoots::_resolveIpAddress('auth.cpanel.n et') called at /usr/local/cpanel/Cpanel/CpKeyClt.pm line 160
eval {...} called at /usr/local/cpanel/Cpanel/CpKeyClt.pm line 142
Cpanel::CpKeyClt::cpkeyclt() called at perl/Cpanel/cpsrvd.so.pl line 37


Some help would be great, what can i do to resolve this problem?

Thanks

-Daniel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-23-2009, 03:19 AM
Registered User
 
Join Date: Nov 2007
Posts: 4
dantium is on a distinguished road
Ok i checked the resolv.conf and the IPs in there stops being DNS servers for some reason so i changed the IPs to the 2 nameservers of the same machine and the mail is delivering ok now.

But still i have a PHP problem which would seem to be related to this:

getting some errors like this:

php_network_getaddresses: getaddrinfo failed: Name or service not known

Anyone have any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-23-2009, 04:14 AM
Registered User
 
Join Date: Nov 2007
Posts: 4
dantium is on a distinguished road
resolved

OK this situation has resolved it self fully it would seem after i rebooted the server a few times. However i would like to double check, is it safe to have the resolver IPs (in the resolv.conf) point to the 2 NS IPs of the same machine?

-Dan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-23-2009, 08:16 AM
Registered User
 
Join Date: May 2008
Posts: 1
ItMan is on a distinguished road
Quote:
Originally Posted by dantium View Post
Ok i checked the resolv.conf and the IPs in there stops being DNS servers for some reason so i changed the IPs to the 2 nameservers of the same machine and the mail is delivering ok now.

But still i have a PHP problem which would seem to be related to this:

getting some errors like this:

php_network_getaddresses: getaddrinfo failed: Name or service not known

Anyone have any ideas?
OS - FreeBSD 6.2 ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
dig , dns , forwarding , mail

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:00 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc