Hi, I've found lots of posts on this issue but I've been searching for hours and I cannot find a solution. I have zm 1.30.0 up and running with 4 ip cameras and it all appears to be recording and streaming fine. I have installed php 5.4 from a 3rd-party repo, and zmninja setup wizard reports portal and api detection is ok. But then I get the red cross - cgi-bin detection failed. This is using the windows version of zmninja on windows 10 x64. As per the instructions I have tried changing PATH_ZMS from the default /cgi-bin/zm/nph-zms to https://<serverip>/cgi-bin/zm/nph-zms, but it makes no difference. My apache config is stock, I have not messed with it. At this point I don't know what else to try. Any help appreciated.
thanks.
zmninja centos 6 cgi-bin detection failed
Re: zmninja centos 6 cgi-bin detection failed
Zoneminder and zmNinja require different URL settings.
PATH_ZMS is used by Zoneminder and must always be a relative path. For example
First make sure you are able to view live feeds and events footage in zoneminder web console.
Do not try zmNinja till you are able to confirm web console works.
Once you have that working in zmNinja cgi bin specify the absolute path and without nph-zms
Example
PATH_ZMS is used by Zoneminder and must always be a relative path. For example
Code: Select all
/zm/cgi-bin/nph-zms
Do not try zmNinja till you are able to confirm web console works.
Once you have that working in zmNinja cgi bin specify the absolute path and without nph-zms
Example
Code: Select all
https://server/zm/cgi-bin/
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
-
- Posts: 2
- Joined: Sat Feb 04, 2017 3:59 pm
Re: zmninja centos 6 cgi-bin detection failed
Thanks Asker I think I fixed it last night. The wizard wouldnet get past the cgi-bin detection, but if I cancelled the wizard and just set it up manually like so:
ZM portal: https://serverip/zm
path to cgi-bin: https://serverip/cgi-bin/zm
ZM api url: https://serverip/zm/api
then it just seemed to spring into life. don't know why. So now that I know my setup is ok I will purchase the android version. thanks for your help.
ZM portal: https://serverip/zm
path to cgi-bin: https://serverip/cgi-bin/zm
ZM api url: https://serverip/zm/api
then it just seemed to spring into life. don't know why. So now that I know my setup is ok I will purchase the android version. thanks for your help.
Re: zmninja centos 6 cgi-bin detection failed
Sounds good. Yes, the wizard doesn't alway work (I don't know why)
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs