ZoneMinder 1.29.x Blue Screen

Forum for questions and support relating to the 1.29.x releases only.
Locked
NotSoTechyLady
Posts: 8
Joined: Wed Mar 16, 2016 2:39 am

ZoneMinder 1.29.x Blue Screen

Post 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.
NotSoTechyLady
Posts: 8
Joined: Wed Mar 16, 2016 2:39 am

Re: ZoneMinder 1.29.x Blue Screen

Post 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
NotSoTechyLady
Posts: 8
Joined: Wed Mar 16, 2016 2:39 am

Re: ZoneMinder 1.29.x Blue Screen

Post 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?
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: ZoneMinder 1.29.x Blue Screen

Post 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
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
NotSoTechyLady
Posts: 8
Joined: Wed Mar 16, 2016 2:39 am

Re: ZoneMinder 1.29.x Blue Screen

Post by NotSoTechyLady »

No, I still can't see the actual feed. I just have a blue screen with a time stamp.
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: ZoneMinder 1.29.x Blue Screen

Post 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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
NotSoTechyLady
Posts: 8
Joined: Wed Mar 16, 2016 2:39 am

Re: ZoneMinder 1.29.x Blue Screen

Post 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
NotSoTechyLady
Posts: 8
Joined: Wed Mar 16, 2016 2:39 am

Re: ZoneMinder 1.29.x Blue Screen

Post 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.
NotSoTechyLady
Posts: 8
Joined: Wed Mar 16, 2016 2:39 am

Re: ZoneMinder 1.29.x Blue Screen

Post 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.
NotSoTechyLady
Posts: 8
Joined: Wed Mar 16, 2016 2:39 am

Re: ZoneMinder 1.29.x Blue Screen

Post 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.
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: ZoneMinder 1.29.x Blue Screen

Post 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.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: ZoneMinder 1.29.x Blue Screen

Post 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
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
Locked