Page 1 of 1

zmwatch.pl error

Posted: Wed Aug 03, 2005 2:58 pm
by trent
Hi guys,
I checked the zm forum all night long, controlled the FAQ and all the stuff you can find via Google. Also checked the documentation. Anyway, my ZM installation works but I found this annoying message in the zmwatch.log file:

DBD::mysql::st execute failed: MySQL server has gone away at /usr/local/bin/zmwatch.pl line 121.
Can't execute: MySQL server has gone away at /usr/local/bin/zmwatch.pl line 121.

I've checked MySQL installation: no problems whatsoever, the tables are ok (checked the permission, checked the db and the tables via mysqlcheck).

My installation: Linux Fedora Core 4, Apache 2, MySQL 4.1.12, PHP 5.0.4, ffmpeg 0.4.9-pre1, LAME 3.96.1. I built ZM from scratch with

./configure --with-mysql=/usr --with-ffmpeg=/usr/bin --with-lame=/usr/bin --with-webdir=/var/www/html --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache

and everything went smoothly.

Could you please help me?
Thank you in advance!

Posted: Thu Aug 04, 2005 8:23 am
by zoneminder
Is mysql still running after you get this error? Can you check the mysql logs (probably in /var/lig/mysql I think) to see if the server thinks anything odd is happening.

Phil