Problems with fresh install (Centos6)

Forum for questions and support relating to the 1.30.x releases only.
Locked
nblracer880
Posts: 2
Joined: Sat Oct 22, 2016 5:41 pm

Problems with fresh install (Centos6)

Post by nblracer880 »

I have installed ZoneMinder using the zmrepo. Everything went smoothly until I received my cameras today. After finding the correct path and successfully viewing the stream in VLC, I tried setting them up in ZM.

The stream never shows in ZM. It does appear to be connecting to the camera per the logs, and when I set to record and checked the events folder, there are images there showing what the camera sees.

I originally thought my path_zms may have been the issue, but that does not appear to be the case as the readme for centos6 does not mention the need to change the path_zms.

Any ideas what I could have done wrong here? Thanks in advance!! Close to pulling my hair out. I hate breaking down and making a forum post but I just can't figure this out.

Image

Image

Image

Image

Code: Select all

[root@johnston-server ~]# tail -f /var/log/messages
Oct 22 12:30:41 johnston-server zmpkg[15525]: INF [Single server configuration detected. Starting up services.]
Oct 22 12:30:42 johnston-server zmdc[15541]: INF ['zmc -m 5' starting at 16/10/22 12:30:42, pid = 15570]
Oct 22 12:30:42 johnston-server zmdc[15570]: INF ['zmc -m 5' started at 16/10/22 12:30:42]
Oct 22 12:30:42 johnston-server zmdc[15541]: ERR ['zmc -m 5' exited abnormally, exit status 255]
Oct 22 12:30:42 johnston-server zmdc[15541]: INF [Starting pending process, zmc -m 5]
Oct 22 12:30:42 johnston-server zmdc[15541]: INF ['zmc -m 5' starting at 16/10/22 12:30:42, pid = 15576]
Oct 22 12:30:42 johnston-server zmdc[15576]: INF ['zmc -m 5' started at 16/10/22 12:30:42]
Oct 22 12:30:42 johnston-server zmc_m5[15576]: INF [Starting Capture version 1.30.0]
Oct 22 12:30:42 johnston-server zmc_m5[15576]: INF [Priming capture from rtsp://192.168.1.225:554/12]
Oct 22 12:30:42 johnston-server zmc_m5[15576]: WAR [Unable to parse ffmpeg option 0 '', expecting key=value]
Oct 22 12:31:49 johnston-server zmc_m5[15576]: INF [Front Door: 1000 - Capturing at 14.93 fps]
Oct 22 12:32:56 johnston-server zmc_m5[15576]: INF [Front Door: 2000 - Capturing at 14.93 fps]
Oct 22 12:34:02 johnston-server zmc_m5[15576]: INF [Front Door: 3000 - Capturing at 15.15 fps]
Oct 22 12:35:09 johnston-server zmc_m5[15576]: INF [Front Door: 4000 - Capturing at 14.93 fps]
Oct 22 12:36:16 johnston-server zmc_m5[15576]: INF [Front Door: 5000 - Capturing at 14.93 fps]
Oct 22 12:37:23 johnston-server zmc_m5[15576]: INF [Front Door: 6000 - Capturing at 14.93 fps]
Oct 22 12:38:30 johnston-server zmc_m5[15576]: INF [Front Door: 7000 - Capturing at 14.93 fps]
Oct 22 12:38:55 johnston-server zms[15766]: ERR [Unable to authenticate user]
Oct 22 12:38:55 johnston-server zms[15769]: ERR [Unable to authenticate user]
Oct 22 12:38:55 johnston-server zms[15772]: ERR [Unable to authenticate user]
Oct 22 12:39:00 johnston-server zms[15775]: ERR [Unable to authenticate user]
Oct 22 12:39:01 johnston-server zms[15778]: ERR [Unable to authenticate user]
Oct 22 12:39:36 johnston-server zmc_m5[15576]: INF [Front Door: 8000 - Capturing at 15.15 fps]
Oct 22 12:40:43 johnston-server zmc_m5[15576]: INF [Front Door: 9000 - Capturing at 14.93 fps]
Oct 22 12:41:50 johnston-server zmc_m5[15576]: INF [Front Door: 10000 - Capturing at 14.93 fps]
Oct 22 12:42:57 johnston-server zmc_m5[15576]: INF [Front Door: 11000 - Capturing at 14.93 fps]
Oct 22 12:44:03 johnston-server zmc_m5[15576]: INF [Front Door: 12000 - Capturing at 15.15 fps]
Oct 22 12:45:10 johnston-server zmc_m5[15576]: INF [Front Door: 13000 - Capturing at 14.93 fps]
Oct 22 12:46:17 johnston-server zmc_m5[15576]: INF [Front Door: 14000 - Capturing at 14.93 fps]
Oct 22 12:46:23 johnston-server zms[16041]: ERR [Unable to authenticate user]
Oct 22 12:46:23 johnston-server zms[16044]: ERR [Unable to authenticate user]
Oct 22 12:46:28 johnston-server web_php[5313]: ERR [socket_sendto( /var/lib/zoneminder/sock/zms-764665s.sock ) failed: No such file or directory]
Oct 22 12:46:28 johnston-server web_php[5313]: ERR [getStreamCmdResponse stream error: socket_sendto( /var/lib/zoneminder/sock/zms-764665s.sock ) failed: No such file or directory - checkStreamForErrors()]
Oct 22 12:46:28 johnston-server zms[16049]: ERR [Unable to authenticate user]
Oct 22 12:46:35 johnston-server web_php[5313]: ERR [socket_sendto( /var/lib/zoneminder/sock/zms-764665s.sock ) failed: No such file or directory]
Oct 22 12:46:35 johnston-server web_php[5313]: ERR [getStreamCmdResponse stream error: socket_sendto( /var/lib/zoneminder/sock/zms-764665s.sock ) failed: No such file or directory - checkStreamForErrors()]
Oct 22 12:46:35 johnston-server zms[16055]: ERR [Unable to authenticate user]
Oct 22 12:46:42 johnston-server web_php[5313]: ERR [socket_sendto( /var/lib/zoneminder/sock/zms-764665s.sock ) failed: No such file or directory]
Oct 22 12:46:42 johnston-server web_php[5313]: ERR [getStreamCmdResponse stream error: socket_sendto( /var/lib/zoneminder/sock/zms-764665s.sock ) failed: No such file or directory - checkStreamForErrors()]
Oct 22 12:46:42 johnston-server zms[16061]: ERR [Unable to authenticate user]
Oct 22 12:46:49 johnston-server web_php[5313]: ERR [socket_sendto( /var/lib/zoneminder/sock/zms-764665s.sock ) failed: No such file or directory]
Oct 22 12:46:49 johnston-server web_php[5313]: ERR [getStreamCmdResponse stream error: socket_sendto( /var/lib/zoneminder/sock/zms-764665s.sock ) failed: No such file or directory - checkStreamForErrors()]
Oct 22 12:46:49 johnston-server zms[16067]: ERR [Unable to authenticate user]
Oct 22 12:46:56 johnston-server web_php[5313]: ERR [socket_sendto( /var/lib/zoneminder/sock/zms-764665s.sock ) failed: No such file or directory]
Oct 22 12:46:56 johnston-server web_php[5313]: ERR [getStreamCmdResponse stream error: socket_sendto( /var/lib/zoneminder/sock/zms-764665s.sock ) failed: No such file or directory - checkStreamForErrors()]
Oct 22 12:46:56 johnston-server zms[16072]: ERR [Unable to authenticate user]
Oct 22 12:47:03 johnston-server web_php[5313]: ERR [socket_sendto( /var/lib/zoneminder/sock/zms-764665s.sock ) failed: No such file or directory]
Oct 22 12:47:03 johnston-server web_php[5313]: ERR [getStreamCmdResponse stream error: socket_sendto( /var/lib/zoneminder/sock/zms-764665s.sock ) failed: No such file or directory - checkStreamForErrors()]
Oct 22 12:47:03 johnston-server zms[16077]: ERR [Unable to authenticate user]
Oct 22 12:47:24 johnston-server zmc_m5[15576]: INF [Front Door: 15000 - Capturing at 14.93 fps]
Oct 22 12:48:30 johnston-server zmc_m5[15576]: INF [Front Door: 16000 - Capturing at 15.15 fps]
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Problems with fresh install (Centos6)

Post by knight-of-ni »

This is the issue:

Code: Select all

Oct 22 12:46:23 johnston-server zms[16041]: ERR [Unable to authenticate user]
From where are you attempting to view video? From the server or remote machine?

Make sure your clock is set correctly, make sure the php timezone set in php.ini is spelled correctly and make sure it exactly matches the timezone set in the operating system.

You can also see this error message if you restart zoneminder with a live view window open.

If you still have problems, please post a screenshot of Options -> System tab, showing the AUTH_ parameters.
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/
nblracer880
Posts: 2
Joined: Sat Oct 22, 2016 5:41 pm

Re: Problems with fresh install (Centos6)

Post by nblracer880 »

Thanks for the reply. I left the house after posting this, and randomly tried viewing the stream on the iOS app expecting it not to work, but it did. When I got home, I tried viewing it in chrome and it worked perfectly. No clue how or why, but it has worked perfectly ever since. I am assuming it was a browser side error.

Thanks again for the help!! Loving this software, saved me from spending a ton of money on a junk Chinese DVR and allowed me to invest in more quality cameras!

Edit: A word.
Locked