Hi new to forum
i have a cp vps and i keep getting following emails every 4 hours
Cron <root@server> /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache
---
DBD::mysql::st execute failed: Lost connection to MySQL server during query at /usr/local/cpanel/scripts/update_db_cache line 61.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/local/cpanel/scripts/update_db_cache line 63.
it all started with
cPanel ChkServd Service Monitor, spamd and then ftp and the latest was hang
so i done a forced update over several days and it cleared these problems
but now have the top topic error
i have read another simular post on here
http://forums.cpanel.net/f5/cron-ro..._db_cache-scripts-update_db_cache-156453.html
and i altered the following
"answer" Try raising any connection time outs in your /etc/my.cnf:
i cannot find this file only my.cnf.back which dont contain above but update_db_cache does so ive altered the following from and to
interactive_timeout 40 - 80
wait_timeout 8000 - 9000
connect_timeout 15 - 20
also edited the following
max_allowed_packet (default) - 128M
but no change
can anyone help out
im still learning so be gentle
many thanks
jack
i have a cp vps and i keep getting following emails every 4 hours
Cron <root@server> /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache
---
DBD::mysql::st execute failed: Lost connection to MySQL server during query at /usr/local/cpanel/scripts/update_db_cache line 61.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/local/cpanel/scripts/update_db_cache line 63.
it all started with
cPanel ChkServd Service Monitor, spamd and then ftp and the latest was hang
so i done a forced update over several days and it cleared these problems
but now have the top topic error
i have read another simular post on here
http://forums.cpanel.net/f5/cron-ro..._db_cache-scripts-update_db_cache-156453.html
and i altered the following
"answer" Try raising any connection time outs in your /etc/my.cnf:
i cannot find this file only my.cnf.back which dont contain above but update_db_cache does so ive altered the following from and to
interactive_timeout 40 - 80
wait_timeout 8000 - 9000
connect_timeout 15 - 20
also edited the following
max_allowed_packet (default) - 128M
but no change
can anyone help out
im still learning so be gentle
many thanks
jack