preview/recording stops

Forum for questions and support relating to the 1.30.x releases only.
Locked
mattspc
Posts: 13
Joined: Wed Aug 10, 2016 12:26 pm

preview/recording stops

Post by mattspc »

Foscam stops recording, only fix is to reboot the server.

running v1.30.2

Every so often I see, what I think might be a timeout happening? The video in the web UI just never loads on a few cameras. When I check the log, I see the following error. It seems like the only way to get it back is to reboot the server or restart the zm service.
Running ubuntu and loads are pretty low.

Jan 2 16:04:16 zoneminder web_php[1206]: ERR [Socket 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/lat ... window-etc for more information.]
Attachments
Screen Shot 2018-01-02 at 4.06.32 PM.png
Screen Shot 2018-01-02 at 4.06.32 PM.png (112.89 KiB) Viewed 6482 times
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: preview/recording stops

Post by bbunge »

Camera model?
Ubuntu version?
Camera settings?
rockedge
Posts: 1198
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: preview/recording stops

Post by rockedge »

I had a problem with 1.30.1 or 1.30.2 that my Foscam clone (HOOTOO) would drop out occasionally with the "cause" then being "Signal"...the problem was the zmc process would remain and ZM would reaquire the camera and create a new process....this would happen over a period of time until the /dev/shm would go to 100% and zoneminder would need a restart. This was fixed and does not happen with 1.30.4. I am not at all sure if this is anything near what you are seeing...but I do see these errors you describe experimenting with 1.31.* and have not tracked down the true cause...which could be the "experimenting" part.

please include some more information as bbunge has pointed out.
mattspc
Posts: 13
Joined: Wed Aug 10, 2016 12:26 pm

Re: preview/recording stops

Post by mattspc »

Ubuntu 16.04.3 LTS
Foscam FI9800P

I'd love to upgrade to 1.30.4 but when I do then zmninja breaks. I've tried a bunch of troubleshooting but end up reverting to a snapshot prior to the install, when the API fails.
Attachments
2018-01-03_1400.png
2018-01-03_1400.png (32.2 KiB) Viewed 6449 times
rockedge
Posts: 1198
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: preview/recording stops

Post by rockedge »

The API stops working when you upgrade to 1.30.4?
mattspc
Posts: 13
Joined: Wed Aug 10, 2016 12:26 pm

Re: preview/recording stops

Post by mattspc »

rockedge wrote: Wed Jan 03, 2018 7:03 pm The API stops working when you upgrade to 1.30.4?
Sorry to 1.31.4... maybe my answer here is to upgrade to 1.30.4
mattspc
Posts: 13
Joined: Wed Aug 10, 2016 12:26 pm

Re: preview/recording stops

Post by mattspc »

I guess my problem is now I don't know how to upgrade manually, the iconnor ppa upgrades me to 1.31.x
rockedge
Posts: 1198
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: preview/recording stops

Post by rockedge »

you need to change to the "Stable" branch on the iconner PPA here : https://launchpad.net/~iconnor/+archive ... zoneminder

add this to your repos and you will be able to install 1.30.4...... uninstall the 1.31.* first.
mattspc
Posts: 13
Joined: Wed Aug 10, 2016 12:26 pm

Re: preview/recording stops

Post by mattspc »

Upgrade went okay once I fixed the repos. Noticed the camera did the black screen once today. I almost wonder if its a connection issue. It is a wireless camera, although when I launch the web interface of the cam, everything seems to work.
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: preview/recording stops

Post by bbunge »

You did not say what install instructions you used. Some work and some don't work so well...

See: https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way
mattspc
Posts: 13
Joined: Wed Aug 10, 2016 12:26 pm

Re: preview/recording stops

Post by mattspc »

bbunge wrote: Fri Jan 05, 2018 2:03 am You did not say what install instructions you used. Some work and some don't work so well...

See: https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way
As far as the initial deployment? I've been running virtualized ZM on ubuntu since May 2015.
Locked