Second monitor keeps crashing

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
junior466
Posts: 8
Joined: Sun Mar 03, 2019 7:33 pm

Second monitor keeps crashing

Post 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
dougmccrary
Posts: 1172
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Second monitor keeps crashing

Post by dougmccrary »

Is it feasible to switch the cameras? Are they the same firmware?
junior466
Posts: 8
Joined: Sun Mar 03, 2019 7:33 pm

Re: Second monitor keeps crashing

Post by junior466 »

Yes, they are the same firmware and I can't unfortunately.
bbunge
Posts: 2930
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Second monitor keeps crashing

Post 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.
Post Reply