Page 1 of 1

Second monitor keeps crashing

Posted: Fri Nov 26, 2021 8:08 pm
by junior466
I have two identical cameras in Zoneminder and while monitor 1 works great, monitor 2 keeps crashing constantly when trying to view it. I see this in the logs:

'zmc -m 1' crashed, signal 8

Any idea where to begin? System is running on a VM with 4vCPUs and 4GB or RAM.

Thank you.

---- Edit

More logs:

Code: Select all

getStreamCmdResponse stream error: Socket /run/zm/zms-194400s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. - checkStreamForErrors()

Code: Select all

?view=watch&mid=2

Re: Second monitor keeps crashing

Posted: Sat Nov 27, 2021 3:04 am
by dougmccrary
Is it feasible to switch the cameras? Are they the same firmware?

Re: Second monitor keeps crashing

Posted: Sat Nov 27, 2021 2:49 pm
by junior466
Yes, they are the same firmware and I can't unfortunately.

Re: Second monitor keeps crashing

Posted: Sun Nov 28, 2021 1:58 am
by bbunge
Check the database to make sure it has sufficient resources. Install mysqltuner and run it as root. Look for sufficient innodb_buffer_pool_size to start.