Upgrade process:
add-apt-repository ppa:iconnor/zoneminder-1.32
aptitude update
aptitude safe-upgrade
rm /etc/mysql/my.cnf
cp /etc/mysql/mysql.conf.d/mysqld.cnf /etc/mysql/my.cnf
nano /etc/mysql/my.cnf
sql_mode = NO_ENGINE_SUBSTITUTION
a2enmod expires
a2enmod headers
-> restartet services
Everything worked fine except 3 of my cameras:
zma_m3[24324]: ERR [zma_m3] [Got empty memory map file size 0, is the zmc process for this monitor running?]
zmdc[16755]: ERR ['zma -m 3' exited abnormally, exit status 255]
-> df -h
tmpfs 3.8G 231M 3.6G 6% /dev/shm
Tried to increase WATCH_MAX_DELAY -> no success
From the process list I can see that zmc restarts continously.
Camera settings:
Any help appreciated.
Rgrds,
Mark
zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)
Re: zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)
From the debug logging there seems to be a SIGTERM signal out of nowhere.
Any suggestions?
How can I dig deeper into the problem?
Rgrds,
Mark
Code: Select all
01/27/19 10:52:43.283587 zmc_m6[19833].DB7-zm_curl_camera.cpp/209 [Got subheader: Content-Type: image/jpeg]
01/27/19 10:52:43.283671 zmc_m6[19833].DB8-zm_curl_camera.cpp/220 [Got subheader data: image/jpeg]
01/27/19 10:52:43.283753 zmc_m6[19833].DB6-zm_curl_camera.cpp/230 [Got content-type subheader: image/jpeg]
01/27/19 10:52:43.283835 zmc_m6[19833].DB7-zm_curl_camera.cpp/209 [Got subheader: Content-Length: 79310]
01/27/19 10:52:43.283916 zmc_m6[19833].DB8-zm_curl_camera.cpp/220 [Got subheader data: 79310]
01/27/19 10:52:43.283998 zmc_m6[19833].DB6-zm_curl_camera.cpp/226 [Got content-length subheader: 79310]
01/27/19 10:52:43.541870 zmc_m6[19833].INF-zm_signal.cpp/40 [Got signal 15 (Terminated), exiting]
01/27/19 10:52:43.784847 zmc_m6[19833].DB7-zm_curl_camera.cpp/209 [Got subheader: --boundary]
01/27/19 10:52:43.784954 zmc_m6[19833].DB8-zm_curl_camera.cpp/220 [Got subheader data: --boundary]
How can I dig deeper into the problem?
Rgrds,
Mark
Re: zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)
I can confirm that SIGTERM is sent by zmdc.pl - which should be pretty obvious anyway.
Please let my know any futher ideas what to check next.
Rgrds,
Mark
Please let my know any futher ideas what to check next.
Rgrds,
Mark
Re: zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)
Hi,
the problem is still persistent.
I would highly apprechiate if anybody could be of any assistence on how to track this issue down. I am out of ideas and zoneminder is useless right at the moment.
Many thanks in advance.
Rgrds,
Mark
the problem is still persistent.
I would highly apprechiate if anybody could be of any assistence on how to track this issue down. I am out of ideas and zoneminder is useless right at the moment.
Many thanks in advance.
Rgrds,
Mark
Re: zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)
Remove the sqlmode on my.cnf
Re: zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)
Code: Select all
[mysqld]
#
# * Basic Settings
#
#sql_mode = NO_ENGINE_SUBSTITUTION
Restarted mysql and zoneminder after the above change was made, but nothing changed so far.
Thanks for your reply - and further suggestions?
Rgrds,
Mark
Re: zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)
I have the same problem after a similar upgrade. I was on 16.04 and 1.30.4 and updated today to 18.04 and 1.32.3 and now I have the same problem you're having. Looks like you were unable to resolve it yet. :-/ I opened a thread for my issue here: viewtopic.php?f=38&t=28234