Page 1 of 1

ZoneMinder 1.29.x Blue Screen

Posted: Sun Mar 20, 2016 4:46 am
by NotSoTechyLady
Hi all,

I am somewhat new to Linux, and have just recently installed ZoneMinder. I feel I have enough grasp of things to take on an installation and set-up of a webserver and security camera, but this has me stumped. Everything seems to be setup right, I used the installation guide at:

http://zoneminder.readthedocs.org/en/la ... buntu-15-x

Everything went fine with the installation/set-up, except for the fact that I wasn't able to use the systemctl command - I got a command not found error. After installing my DCS-5020L, I get a blue screen. The following error messages are persistent:

2016-03-20 00:42:43.722901
zmc_m1

6609
ERR
Unable to get response, disconnecting
zm_remote_camera_http.cpp
1141
2016-03-20 00:42:43.696436
zmc_m1

6609
ERR
Invalid response status 403: Forbidden
zm_remote_camera_http.cpp
770

I have been googling forever and haven't been able to find anything on the matter. I am using the latest versions of the software, and am running Linux Mint 17.1 Cinnamon. Any help in resolving this matter would be greatly appreciated. Also, if I have failed to provide any other important information, please just ask, and I will try to comply.

Re: ZoneMinder 1.29.x Blue Screen

Posted: Sun Mar 20, 2016 4:53 am
by NotSoTechyLady
Update: I tried to change Remote Host Path to see if that would get rid of the blue screen, which it did not, and was the cause of the 403 error. After reverting back to /video.cgi, this error has replaced the 403 error and is persistent:

2016-03-20 00:52:09.487468
zmc_m1

7137
ERR
Failed authentication:
zm_remote_camera_http.cpp
741

Re: ZoneMinder 1.29.x Blue Screen

Posted: Sun Mar 20, 2016 4:56 am
by NotSoTechyLady
http://localhost/zm/api/ takes me to a page that tells me DebugKit is not installed, and I'm not really sure how to go about installing it. I wonder if it would be helpful to have that installed?

Re: ZoneMinder 1.29.x Blue Screen

Posted: Sun Mar 20, 2016 9:01 am
by SteveGilvarry
Lots of green and one yellow message about debug kit is normal.
http://localhost/zm/api/monitors.json should return details on monitor and show API working.

Also check the wiki install instructions as they may be more up to date for ubuntu, as the readthedocs are locked at release and wiki ones bbunge updates all the time.

Playing with the API assumes you have resolved your issues with zmc? It is what gets data from the camera so if it is failing you are still in trouble. That error sounds like you need username:password@cameraip in remote host name. https://wiki.zoneminder.com/D-Link#DCS- ... _DCS-5025L

Re: ZoneMinder 1.29.x Blue Screen

Posted: Sun Mar 20, 2016 12:59 pm
by NotSoTechyLady
No, I still can't see the actual feed. I just have a blue screen with a time stamp.

Re: ZoneMinder 1.29.x Blue Screen

Posted: Sun Mar 20, 2016 1:15 pm
by knight-of-ni
This camera is in the wiki. Did you follow the instructions there?
https://wiki.zoneminder.com/D-Link#DCS- ... _DCS-5025L
ERR
Failed authentication:
zm_remote_camera_http.cpp
741
This means exactly what it says. The camera expects authentication, which you have either not provided or provided correctly. Look at the wiki to see the format for credentials.

Re: ZoneMinder 1.29.x Blue Screen

Posted: Sun Mar 20, 2016 1:17 pm
by NotSoTechyLady
When I tried the link you posted 'http://localhost/zm/api/monitors.json', I just get the white browser window with a bunch of code to do with the monitor.

Image

Re: ZoneMinder 1.29.x Blue Screen

Posted: Sun Mar 20, 2016 1:20 pm
by NotSoTechyLady
knnniggett wrote:This camera is in the wiki. Did you follow the instructions there?
https://wiki.zoneminder.com/D-Link#DCS- ... _DCS-5025L
ERR
Failed authentication:
zm_remote_camera_http.cpp
741
This means exactly what it says. The camera expects authentication, which you have either not provided or provided correctly. Look at the wiki to see the format for credentials.
The thought did cross my mind, and I did search for my camera on the wiki, and used the details there to set it up in ZM. I'll look into it again, but I'm not sure which authentication to provide, outside of the details provided. I didn't think there was a username/password programmed into the camera.

EDIT: Could it be that I didn't bother with the PTZ control script bit? I really have no idea what to do with that.

Re: ZoneMinder 1.29.x Blue Screen

Posted: Sun Mar 20, 2016 1:37 pm
by NotSoTechyLady
OMG I'm so dumb... i just entered in user:pass@192.168.x.x ...so I need to change the user pass to something valid, but I haven't any idea what that is.


EDIT: I have managed to find the username and password for the camera. Thanks for the help, as it really sped up my processs.

Re: ZoneMinder 1.29.x Blue Screen

Posted: Sun Mar 20, 2016 2:57 pm
by NotSoTechyLady
If anyone knows how to install the control script, or could point me to a guide on it, I'd greatly appreciate it. In the meantime I will see if I can find it on my own.

Re: ZoneMinder 1.29.x Blue Screen

Posted: Mon Mar 21, 2016 8:40 am
by SteveGilvarry
NotSoTechyLady wrote:When I tried the link you posted 'http://localhost/zm/api/monitors.json', I just get the white browser window with a bunch of code to do with the monitor.
FYI API is not a human useable interface, that white screen with data proves it is working. But getting cameras working you should only be in http://localhost/zm which is the web interface.
From what you have posted your API is working, and it looks like you found the issues with monitor setup. These are two very separate things so not sure why you ended up playing with the API, but all good now.

PTZ control scripts I haven't played with so hopefully someone who has can help, some info in the wiki can be dated, but the process is normally similar.

Re: ZoneMinder 1.29.x Blue Screen

Posted: Mon Mar 21, 2016 2:17 pm
by asker
NotSoTechyLady wrote:If anyone knows how to install the control script, or could point me to a guide on it, I'd greatly appreciate it. In the meantime I will see if I can find it on my own.
https://wiki.zoneminder.com/How_to_cont ... eras_-_PTZ may help