zmwatch.pl error

Support and queries relating to all previous versions of ZoneMinder
Locked
trent
Posts: 1
Joined: Tue Aug 02, 2005 12:50 pm
Location: Italy - Rome
Contact:

zmwatch.pl error

Post 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!
--
Trent
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
Locked