Hello,
okay, this is a bit strange issue....
scenario:
2 servers, one is the remote mysql server for another...
server1 has been set up with a remote mysql server with server2
now, when we try and update stats for a particular client on server1 we get the below error.
=============================================================
[email protected] [/tmp]# /scripts/runweblogs joelgj
Log checker loaded ok..
cpbandwd is already running.
(internal warning while parsing ) Sun Sep 16 15:23:03 2007 [5171] warn: DBI connect('eximstats:"server2 IP"','eximstats',...) failed: Unknown MySQL server host '"server2 IP"' (1) at /usr/local/cpanel/cpanellogd line 1145
at /usr/lib/perl5/site_perl/5.8.8/i686-linux/DBI.pm line 652
DBI::__ANON__('undef', 'undef') called at /usr/lib/perl5/site_perl/5.8.8/i686-linux/DBI.pm line 706
DBI::connect('DBI', 'DBI:mysql:eximstats:"server2 IP"', 'eximstats', 'undef') called at /usr/local/cpanel/cpanellogd line 1145
main::dbconnect() called at /usr/local/cpanel/cpanellogd line 177
(internal warning while parsing ) Sun Sep 16 15:23:03 2007 [5171] warn: Can not connect at /usr/local/cpanel/cpanellogd line 1147.
at /usr/local/cpanel/cpanellogd line 1147
main::dbconnect() called at /usr/local/cpanel/cpanellogd line 177
[an error occurred while processing this directive][an error occurred while processing this directive]Processing joelgj...
Run Logs domain: domainname.com BW Limit: 26214400000 Domains: [domainname.com]
Update status for /var/cpanel/bandwidth/joelgj-http.rrd: (42)
Update status for /var/cpanel/bandwidth/joelgj-all.rrd: (42)
WEBLANG english
Archive Status: 0
About to fork for joelgj [ALL DOMAINS: domainname.com]
Complete
==============================================================
one of many questions:
the eximstats uses the /root/.my.cnf file for the mysql server details which on our server happens to be the remote server entries... is this correct ? does the eximstats user connect to the remote server ?
in short who to resolve this issue..
Please help.....
okay, this is a bit strange issue....
scenario:
2 servers, one is the remote mysql server for another...
server1 has been set up with a remote mysql server with server2
now, when we try and update stats for a particular client on server1 we get the below error.
=============================================================
[email protected] [/tmp]# /scripts/runweblogs joelgj
Log checker loaded ok..
cpbandwd is already running.
(internal warning while parsing ) Sun Sep 16 15:23:03 2007 [5171] warn: DBI connect('eximstats:"server2 IP"','eximstats',...) failed: Unknown MySQL server host '"server2 IP"' (1) at /usr/local/cpanel/cpanellogd line 1145
at /usr/lib/perl5/site_perl/5.8.8/i686-linux/DBI.pm line 652
DBI::__ANON__('undef', 'undef') called at /usr/lib/perl5/site_perl/5.8.8/i686-linux/DBI.pm line 706
DBI::connect('DBI', 'DBI:mysql:eximstats:"server2 IP"', 'eximstats', 'undef') called at /usr/local/cpanel/cpanellogd line 1145
main::dbconnect() called at /usr/local/cpanel/cpanellogd line 177
(internal warning while parsing ) Sun Sep 16 15:23:03 2007 [5171] warn: Can not connect at /usr/local/cpanel/cpanellogd line 1147.
at /usr/local/cpanel/cpanellogd line 1147
main::dbconnect() called at /usr/local/cpanel/cpanellogd line 177
[an error occurred while processing this directive][an error occurred while processing this directive]Processing joelgj...
Run Logs domain: domainname.com BW Limit: 26214400000 Domains: [domainname.com]
Update status for /var/cpanel/bandwidth/joelgj-http.rrd: (42)
Update status for /var/cpanel/bandwidth/joelgj-all.rrd: (42)
WEBLANG english
Archive Status: 0
About to fork for joelgj [ALL DOMAINS: domainname.com]
Complete
==============================================================
one of many questions:
the eximstats uses the /root/.my.cnf file for the mysql server details which on our server happens to be the remote server entries... is this correct ? does the eximstats user connect to the remote server ?
in short who to resolve this issue..
Please help.....