Page 1 of 1
zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)
Posted: Sat Jan 26, 2019 4:01 pm
by Markymark
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:
- Clipboard01.png (147.52 KiB) Viewed 3602 times
- Clipboard02.png (100.1 KiB) Viewed 3602 times
Any help appreciated.
Rgrds,
Mark
Re: zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)
Posted: Sun Jan 27, 2019 10:06 am
by Markymark
From the debug logging there seems to be a SIGTERM signal out of nowhere.
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]
Any suggestions?
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)
Posted: Sun Jan 27, 2019 11:32 am
by Markymark
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
Re: zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)
Posted: Wed Feb 13, 2019 6:16 am
by Markymark
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
Re: zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)
Posted: Wed Feb 13, 2019 3:58 pm
by bbunge
Remove the sqlmode on my.cnf
Re: zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)
Posted: Wed Feb 13, 2019 4:59 pm
by Markymark
Code: Select all
[mysqld]
#
# * Basic Settings
#
#sql_mode = NO_ENGINE_SUBSTITUTION
Will this do the job?
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)
Posted: Mon Apr 22, 2019 12:25 am
by SpikeyGG
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