Zoneminder keeps crashing
Posted: Thu Mar 21, 2019 3:11 pm
Hello,
I've zoneminder 1.30.4+dfsg-2~bpo9+1 on Debian 9, installed from backports. It works with php-fpm7.0 on Nginx.
I've installed zoneminder about 6 weeks ago, configured, installed the webcam, everything was fine for what I had tested.
Since maybe 10 days ago zoneminder keeps crashing.
Here something from the log during the crash:
I don't have a clue about what's exactly going on, but I can add that I suspect the crash first occurred after a recent upgrade of the whole php suite, included php-fpm7.0...
Losing the connection to the db is weird, maybe there's a timeout to increase somewhere, I don't know
Thank you for the help
I've zoneminder 1.30.4+dfsg-2~bpo9+1 on Debian 9, installed from backports. It works with php-fpm7.0 on Nginx.
I've installed zoneminder about 6 weeks ago, configured, installed the webcam, everything was fine for what I had tested.
Since maybe 10 days ago zoneminder keeps crashing.
Here something from the log during the crash:
Code: Select all
Mar 21 15:56:51 mycomputer zmaudit[16269]: FAT [Can't execute: Lost connection to MySQL server during query]
Mar 21 15:56:51 mycomputer zmaudit[16269]: FAT [Can't execute log entry 'insert into Logs ( TimeKey, Component, Pid, Level, Code, Message, File, Line ) values ( ?, ?, ?, ?, ?, ?, ?, NULL )': MySQL server has gone away]
Mar 21 15:56:51 mycomputer zmdc[16218]: ERR ['zmaudit.pl -c' exited abnormally, exit status 255]
Mar 21 15:56:51 mycomputer zmdc[16218]: FAT [Can't execute log entry 'insert into Logs ( TimeKey, Component, Pid, Level, Code, Message, File, Line ) values ( ?, ?, ?, ?, ?, ?, ?, NULL )': MySQL server has gone away]
Mar 21 15:56:53 mycomputer zmwatch[16274]: FAT [Can't execute: MySQL server has gone away]
Mar 21 15:56:53 mycomputer zmwatch[16274]: FAT [Can't execute log entry 'insert into Logs ( TimeKey, Component, Pid, Level, Code, Message, File, Line ) values ( ?, ?, ?, ?, ?, ?, ?, NULL )': MySQL server has gone away]
Mar 21 15:57:27 mycomputer zmc_dvideo1[16262]: INF [gspca_sn9c20x: 21000 - Capturing at 19.61 fps]
Mar 21 15:57:47 mycomputer zmfilter[16263]: ERR [Can't execute filter 'SELECT E.*,#012 unix_timestamp(E.StartTime) as Time,#012 M.Name as MonitorName,#012 M.DefaultRate,#012 M.DefaultScale#012 FROM Events as E#012 INNER JOIN Monitors as M on M.Id = E.MonitorId#012 where not isnull(E.EndTime) and ( E.Archived = 0 and 66 >= 95 ) order by E.Id asc limit 0,100', ignoring: MySQL server has gone away]
Mar 21 15:58:18 mycomputer zmc_dvideo1[16262]: INF [gspca_sn9c20x: 22000 - Capturing at 19.61 fps]
Mar 21 15:58:47 mycomputer zmfilter[16263]: ERR [Can't execute filter 'SELECT E.*,#012 unix_timestamp(E.StartTime) as Time,#012 M.Name as MonitorName,#012 M.DefaultRate,#012 M.DefaultScale#012 FROM Events as E#012 INNER JOIN Monitors as M on M.Id = E.MonitorId#012 where not isnull(E.EndTime) and ( E.Archived = 0 and 66 >= 95 ) order by E.Id asc limit 0,100', ignoring: MySQL server has gone away]
Mar 21 15:59:09 mycomputer zmc_dvideo1[16262]: INF [gspca_sn9c20x: 23000 - Capturing at 19.61 fps]
Mar 21 15:59:47 mycomputer zmfilter[16263]: FAT [Can't execute 'SELECT * FROM Filters WHERE Background = 1 and( AutoArchive = 1#012 or AutoVideo = 1#012 or AutoUpload = 1#012 or AutoEmail = 1#012 or AutoMessage = 1#012 or AutoExecute = 1#012 or AutoDelete = 1#012 ) ORDER BY Name': MySQL server has gone away]
Losing the connection to the db is weird, maybe there's a timeout to increase somewhere, I don't know
Thank you for the help