Hi,
I'm new in Zoneminder.
I install Zoneminder official plugin on FreeNas 11.3.
But I have a problem. I can't view stream of my camera. I juste see a broken picture.
Here is an error message i have
"getStreamCmdResponse stream error: Socket /var/run/zm/zms-244637s.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/lat ... window-etc for more information. - checkStreamForErrors() "
It works on the zmNinja app
Can someone help me?
I read some other post but nothing help me.
I change the PATH_TO_ZMS to /zm/cgi-bin-zm/nph-zms.
Thank you for help.
Unable to view live stream
Re: Unable to view live stream
the PATH_TO_ZMS is almost certainly wrong.
It is typically either /zm/cgi-bin/nph-zms or /cgi-bin/npg-zms
It is typically either /zm/cgi-bin/nph-zms or /cgi-bin/npg-zms
Re: Unable to view live stream
I have the same problem. my details are in my post...
viewtopic.php?f=40&t=29689#p116310
I set the path to /etc/zm/conf.d/01-system-paths.conf
and it doesn't work.
I think it's a problem with my nginx location block and how it declares location for cgi-bin and api
viewtopic.php?f=40&t=29689#p116310
I set the path to /etc/zm/conf.d/01-system-paths.conf
Code: Select all
# ZoneMinder url path to the zms streaming server
#ZM_PATH_ZMS=/zm/cgi-bin/nph-zms
ZM_PATH_ZMS=/cgi-bin/nph-zms
I think it's a problem with my nginx location block and how it declares location for cgi-bin and api
Re: Unable to view live stream
Finally live view works but I still have the same error message. BUT it works
I change PATH_TO_ZMS to /cgi-bin/nph-zms
And I run this command
adduser www-data video
I change PATH_TO_ZMS to /cgi-bin/nph-zms
And I run this command
adduser www-data video
Re: Unable to view live stream
can you elaborate on the adduser
www-data video
Wont't that add 2 users instead of one
1. www-data
2. video
www-data video
Wont't that add 2 users instead of one
1. www-data
2. video
Re: Unable to view live stream
Are you sure it's PATH_TO_ZMS
The defaults I've read all had this at ZM_PATH_ZMS
please check your syntax.
Re: Unable to view live stream
FYI: that format is adduser [USER] [GROUP]
If you try it twice, it gives the helpful error message below.
The user `www-data' is already a member of `video'.