zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
Markymark
Posts: 50
Joined: Fri Jan 03, 2014 7:43 am

zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)

Post by Markymark » Sat Jan 26, 2019 4:01 pm

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
Clipboard01.png (147.52 KiB) Viewed 389 times
Clipboard02.png
Clipboard02.png (100.1 KiB) Viewed 389 times
Any help appreciated.

Rgrds,

Mark

Markymark
Posts: 50
Joined: Fri Jan 03, 2014 7:43 am

Re: zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)

Post by Markymark » Sun Jan 27, 2019 10:06 am

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

Markymark
Posts: 50
Joined: Fri Jan 03, 2014 7:43 am

Re: zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)

Post by Markymark » Sun Jan 27, 2019 11:32 am

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

Markymark
Posts: 50
Joined: Fri Jan 03, 2014 7:43 am

Re: zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)

Post by Markymark » Wed Feb 13, 2019 6:16 am

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

bbunge
Posts: 2307
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)

Post by bbunge » Wed Feb 13, 2019 3:58 pm

Remove the sqlmode on my.cnf

Markymark
Posts: 50
Joined: Fri Jan 03, 2014 7:43 am

Re: zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)

Post by Markymark » Wed Feb 13, 2019 4:59 pm

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

SpikeyGG
Posts: 46
Joined: Mon Oct 15, 2012 12:02 am

Re: zmc restarts continuously after upgrade 1.30.4 -> 1.32.3 (Ubuntu 16.04)

Post by SpikeyGG » Mon Apr 22, 2019 12:25 am

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

Post Reply

Who is online

Users browsing this forum: Faudin and 2 guests