No image in Monitor Zoneminder 1.27.0 and CentOS 6.5 X86_64

Forum for questions and support relating to the 1.27.x releases only.
Locked
Tempesta48
Posts: 2
Joined: Sat Sep 27, 2014 5:26 pm

No image in Monitor Zoneminder 1.27.0 and CentOS 6.5 X86_64

Post by Tempesta48 »

Hi, I've been searching the forum, wiki and also Googled but couldn't not find the error in my installation.

I firstly started installing Zoneminder from source and compiling it but then found the zmrepo. I uninstalled the source compiled version and installed zoneminder-1.27.0-1.el6.x86_64 from zmrepo.

I keep getting this error:

Code: Select all

Sep 27 19:40:15 server web_php[27904]: ERR [socket_sendto( /var/lib/zoneminder/sock/zms-923259s.sock ) failed: No such file or directory]
Sep 27 19:40:15 server web_php[4397]: ERR [getStreamCmdResponse stream error: socket_sendto( /var/lib/zoneminder/sock/zms-923259s.sock ) failed: No such file or directory - checkStreamForErrors()]
I've checked the ScriptAlias and it's OK. In the system logs I can see that the IP camera is working, eventhough in the web it's IP is in orange (not red or green), is that OK?

Code: Select all

Sep 27 19:42:15 server zmc_m1[13492]: INF [Monitor-1: 1000 - Capturing at 22.73 fps]
I don't know if it's something related to the first installation of Zoneminder from source, but checking file /usr/share/zoneminder/www/ajax/stream.php I can see that the file /var/lib/zoneminder/sock/zms-947393w.sock is being created but not the same file ended with an "s" and can't find out why.

Can this error have something to do?

Code: Select all

Sep 27 06:51:23 serverr zmwatch[18152]: ERR [Memory map file '/dev/shm/zm.mmap.1' should have been 896 but was instead 0]
I've also followed the instructions in this thread and in README.CentOS: http://www.zoneminder.com/forums/viewto ... =9&t=19119

Any help would be much appreciated!
Tempesta48
Posts: 2
Joined: Sat Sep 27, 2014 5:26 pm

Re: No image in Monitor Zoneminder 1.27.0 and CentOS 6.5 X86

Post by Tempesta48 »

Cheking again the logs in Zoneminder and restarting the service, I've also found this 3 errors:

Code: Select all

2014-09-27 19:58:50.148909	zmc_m1	13492	ERR	Unable to get response	/builddir/build/BUILD/ZoneMinder-1.27.0/src/zm_remote_camera_http.cpp	1110
2014-09-27 19:58:50.106879	zmc_m1	13492	ERR	Unable to read subheader	/builddir/build/BUILD/ZoneMinder-1.27.0/src/zm_remote_camera_http.cpp	938
2014-09-27 19:58:50.064892	zmc_m1	13492	ERR	Select error: Interrupted system call	/builddir/build/BUILD/ZoneMinder-1.27.0/src/zm_remote_camera_http.cpp	162
Does this mean that the IP camera settings are not correct and that's why I can't see any image in the Monitor window? Or are these errors normal because I've just restarted the Zoneminder service?
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: No image in Monitor Zoneminder 1.27.0 and CentOS 6.5 X86

Post by knight-of-ni »

The instructions from zmrepo are intended for those starting from a clean install, not a previous build from source.

Before you started using the zoneminder rpm, did you first do a "make uninstall" to remove the previous installation?
After installing the zoneminder rpm, did you start with a new database or are you trying to use the database that was created from the previous build from source?
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/
Locked