New install (1.26.3) on Slackware building but not running
Posted: Fri Oct 04, 2013 10:21 pm
Thanks to everyone who contributed to this great project, I could finally get ZM to run on my slackware64-14 server with version 1.26.3.
I however have serious issues to get it going. After a successful compilation and installation with
[code]./configure --with-ffmpeg=/usr/bin/ --with-webdir=/var/www/htdocs/zm --with-cgidir=/var/www/cgi-bin --enable-mmap=yes ZM_DB_PASS=XXXXX ZM_DB_NAME=zoneminder --with-libarch=/usr/lib64 --with-webuser=apache --with-webgroup=apache
make
make install[/code]
I started the main script by typing
[code]zmpkg.pl start[/code]
Added my Trendnet TV-IP572PI camera to the Monitor using the wiki's instructions, and was greeted by an orange "source" in the monitors list. The live feed also doesnt work. I went to the logs section to see whats going on, and saw these entries:
[code]2013-10-04 17:54:08.959325 web_php 11356 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:54:03.359099 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:54:02.939577 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:56.932616 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:56.914512 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:50.912928 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:50.895123 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:44.893555 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:44.876057 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:43.275972 zmc_m1 17632 INF Monitor-1: 2000 - Capturing at 29.41 fps zm_monitor.cpp 2766
2013-10-04 17:53:38.874388 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:38.856106 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:32.855783 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:32.837707 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:26.836492 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:26.818521 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:20.818513 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:20.799901 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:14.798791 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:14.781154 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:09.958029 zmc_m1 17632 INF Monitor-1: 1000 - Capturing at 28.57 fps zm_monitor.cpp 2766
2013-10-04 17:53:08.779177 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:08.759625 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:02.759506 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:02.741241 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:52:56.739747 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:52:56.722121 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:52:50.720490 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:52:50.702700 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:52:44.700908 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:52:44.682773 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:52:38.680341 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:52:38.663082 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory[/code]
I tried everything I could think of.... Googling for these errors led to a potential misconfiguration in Apache's httpd.conf which I double checked and didnt see anything wrong. /var/run/zm is owned by apache:apache, /var/www/htdocs/zm is also owned by apache:apache..
some config files:
zm.conf:
[code]# ==========================================================================
#
# ZoneMinder Base Configuration, $Date$, $Revision$
#
# ==========================================================================
#
# This file is generated by 'configure'. Care should be taken if manually
# editing this file as an changes may be overwritten by subsequent configuration
# or installations.
#
# Current version of ZoneMinder
ZM_VERSION=1.26.3
# Path to build directory, used mostly for finding DB upgrade scripts
ZM_PATH_BUILD=/root/ZoneMinder-1.26.3
# Build time, used to record when to trigger various checks
ZM_TIME_BUILD=1380923324
# Path to ZoneMinder binaries
ZM_PATH_BIN=/usr/local/bin
# Path to ZoneMinder libraries (none at present, for future use)
ZM_PATH_LIB=/usr/local/lib
# Path to ZoneMinder configuration (this file only at present)
ZM_PATH_CONF=/usr/local/etc
# Path to ZoneMinder web files
ZM_PATH_WEB=/var/www/htdocs/zm
# Path to ZoneMinder cgi files
ZM_PATH_CGI=/var/www/cgi-bin
# Username and group that web daemon (httpd/apache) runs as
ZM_WEB_USER=apache
ZM_WEB_GROUP=apache
# ZoneMinder database hostname or ip address
ZM_DB_HOST=localhost
# ZoneMinder database name
ZM_DB_NAME=zoneminder
# ZoneMinder database user
ZM_DB_USER=XXXXXX
# ZoneMinder database password
ZM_DB_PASS=XXXXXX[/code]
Apache's httpd.conf
[code]ServerRoot "/usr"
ServerName local-server
Listen 80
LoadModule authn_file_module lib64/httpd/modules/mod_authn_file.so
LoadModule authn_dbm_module lib64/httpd/modules/mod_authn_dbm.so
LoadModule authn_anon_module lib64/httpd/modules/mod_authn_anon.so
LoadModule authn_dbd_module lib64/httpd/modules/mod_authn_dbd.so
LoadModule authn_socache_module lib64/httpd/modules/mod_authn_socache.so
LoadModule authn_core_module lib64/httpd/modules/mod_authn_core.so
LoadModule authz_host_module lib64/httpd/modules/mod_authz_host.so
LoadModule authz_groupfile_module lib64/httpd/modules/mod_authz_groupfile.so
LoadModule authz_user_module lib64/httpd/modules/mod_authz_user.so
LoadModule authz_dbm_module lib64/httpd/modules/mod_authz_dbm.so
LoadModule authz_owner_module lib64/httpd/modules/mod_authz_owner.so
LoadModule authz_dbd_module lib64/httpd/modules/mod_authz_dbd.so
LoadModule authz_core_module lib64/httpd/modules/mod_authz_core.so
LoadModule authnz_ldap_module lib64/httpd/modules/mod_authnz_ldap.so
LoadModule access_compat_module lib64/httpd/modules/mod_access_compat.so
LoadModule auth_basic_module lib64/httpd/modules/mod_auth_basic.so
LoadModule auth_form_module lib64/httpd/modules/mod_auth_form.so
LoadModule auth_digest_module lib64/httpd/modules/mod_auth_digest.so
LoadModule allowmethods_module lib64/httpd/modules/mod_allowmethods.so
LoadModule file_cache_module lib64/httpd/modules/mod_file_cache.so
LoadModule cache_module lib64/httpd/modules/mod_cache.so
LoadModule cache_disk_module lib64/httpd/modules/mod_cache_disk.so
LoadModule socache_shmcb_module lib64/httpd/modules/mod_socache_shmcb.so
LoadModule socache_dbm_module lib64/httpd/modules/mod_socache_dbm.so
LoadModule socache_memcache_module lib64/httpd/modules/mod_socache_memcache.so
LoadModule dbd_module lib64/httpd/modules/mod_dbd.so
LoadModule dumpio_module lib64/httpd/modules/mod_dumpio.so
LoadModule echo_module lib64/httpd/modules/mod_echo.so
LoadModule buffer_module lib64/httpd/modules/mod_buffer.so
LoadModule data_module lib64/httpd/modules/mod_data.so
LoadModule ratelimit_module lib64/httpd/modules/mod_ratelimit.so
LoadModule reqtimeout_module lib64/httpd/modules/mod_reqtimeout.so
LoadModule ext_filter_module lib64/httpd/modules/mod_ext_filter.so
LoadModule request_module lib64/httpd/modules/mod_request.so
LoadModule include_module lib64/httpd/modules/mod_include.so
LoadModule filter_module lib64/httpd/modules/mod_filter.so
LoadModule reflector_module lib64/httpd/modules/mod_reflector.so
LoadModule substitute_module lib64/httpd/modules/mod_substitute.so
LoadModule sed_module lib64/httpd/modules/mod_sed.so
LoadModule charset_lite_module lib64/httpd/modules/mod_charset_lite.so
LoadModule deflate_module lib64/httpd/modules/mod_deflate.so
LoadModule xml2enc_module lib64/httpd/modules/mod_xml2enc.so
LoadModule proxy_html_module lib64/httpd/modules/mod_proxy_html.so
LoadModule mime_module lib64/httpd/modules/mod_mime.so
LoadModule ldap_module lib64/httpd/modules/mod_ldap.so
LoadModule log_config_module lib64/httpd/modules/mod_log_config.so
LoadModule log_debug_module lib64/httpd/modules/mod_log_debug.so
LoadModule log_forensic_module lib64/httpd/modules/mod_log_forensic.so
LoadModule logio_module lib64/httpd/modules/mod_logio.so
LoadModule env_module lib64/httpd/modules/mod_env.so
LoadModule mime_magic_module lib64/httpd/modules/mod_mime_magic.so
LoadModule expires_module lib64/httpd/modules/mod_expires.so
LoadModule headers_module lib64/httpd/modules/mod_headers.so
LoadModule usertrack_module lib64/httpd/modules/mod_usertrack.so
LoadModule unique_id_module lib64/httpd/modules/mod_unique_id.so
LoadModule setenvif_module lib64/httpd/modules/mod_setenvif.so
LoadModule version_module lib64/httpd/modules/mod_version.so
LoadModule proxy_module lib64/httpd/modules/mod_proxy.so
LoadModule proxy_connect_module lib64/httpd/modules/mod_proxy_connect.so
LoadModule proxy_ftp_module lib64/httpd/modules/mod_proxy_ftp.so
LoadModule proxy_http_module lib64/httpd/modules/mod_proxy_http.so
LoadModule proxy_fcgi_module lib64/httpd/modules/mod_proxy_fcgi.so
LoadModule proxy_scgi_module lib64/httpd/modules/mod_proxy_scgi.so
LoadModule proxy_fdpass_module lib64/httpd/modules/mod_proxy_fdpass.so
LoadModule proxy_ajp_module lib64/httpd/modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module lib64/httpd/modules/mod_proxy_balancer.so
LoadModule proxy_express_module lib64/httpd/modules/mod_proxy_express.so
LoadModule session_module lib64/httpd/modules/mod_session.so
LoadModule session_cookie_module lib64/httpd/modules/mod_session_cookie.so
LoadModule session_dbd_module lib64/httpd/modules/mod_session_dbd.so
LoadModule slotmem_shm_module lib64/httpd/modules/mod_slotmem_shm.so
LoadModule slotmem_plain_module lib64/httpd/modules/mod_slotmem_plain.so
LoadModule ssl_module lib64/httpd/modules/mod_ssl.so
LoadModule lbmethod_byrequests_module lib64/httpd/modules/mod_lbmethod_byrequests.so
LoadModule lbmethod_bytraffic_module lib64/httpd/modules/mod_lbmethod_bytraffic.so
LoadModule lbmethod_bybusyness_module lib64/httpd/modules/mod_lbmethod_bybusyness.so
LoadModule mpm_event_module lib64/httpd/modules/mod_mpm_event.so
LoadModule unixd_module lib64/httpd/modules/mod_unixd.so
LoadModule dav_module lib64/httpd/modules/mod_dav.so
LoadModule status_module lib64/httpd/modules/mod_status.so
LoadModule autoindex_module lib64/httpd/modules/mod_autoindex.so
LoadModule asis_module lib64/httpd/modules/mod_asis.so
LoadModule info_module lib64/httpd/modules/mod_info.so
LoadModule cgid_module lib64/httpd/modules/mod_cgid.so
LoadModule cgi_module lib64/httpd/modules/mod_cgi.so
LoadModule dav_fs_module lib64/httpd/modules/mod_dav_fs.so
LoadModule dav_lock_module lib64/httpd/modules/mod_dav_lock.so
LoadModule vhost_alias_module lib64/httpd/modules/mod_vhost_alias.so
LoadModule negotiation_module lib64/httpd/modules/mod_negotiation.so
LoadModule dir_module lib64/httpd/modules/mod_dir.so
LoadModule actions_module lib64/httpd/modules/mod_actions.so
LoadModule speling_module lib64/httpd/modules/mod_speling.so
LoadModule userdir_module lib64/httpd/modules/mod_userdir.so
LoadModule alias_module lib64/httpd/modules/mod_alias.so
LoadModule rewrite_module lib64/httpd/modules/mod_rewrite.so
<IfModule unixd_module>
</IfModule>
User apache
Group apache
ServerAdmin xxxx@xxxx.com
DocumentRoot "/srv/httpd/htdocs"
<Directory "/srv/httpd/htdocs">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
AddType application/x-httpd-php text/html .php .phps .php3
</Directory>
<Directory "/var/www/cgi-bin">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride All
php_value short_open_tag 1
</Directory>
<Directory /var/www/htdocs/zm>
Options FollowSymLinks
AllowOverride All
php_value short_open_tag 1
</Directory>
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
<Files ".ht*">
Require all denied
AcceptPathInfo On
</Files>
ErrorLog "/var/log/httpd_error.log"
LogLevel warn
<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
CustomLog "/var/log/httpd_access.log" common
</IfModule>
<IfModule alias_module>
ScriptAlias /cgi-bin "/srv/httpd/cgi-bin"
</IfModule>
<IfModule cgid_module>
</IfModule>
<IfModule mime_module>
TypesConfig /etc/httpd/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
</IfModule>
<IfModule proxy_html_module>
Include /etc/httpd/extra/proxy-html.conf
</IfModule>
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
Include /etc/httpd/mod_php.conf[/code]
I am lost a little.... Can anybody point me in the right direction???
Thanks!
I however have serious issues to get it going. After a successful compilation and installation with
[code]./configure --with-ffmpeg=/usr/bin/ --with-webdir=/var/www/htdocs/zm --with-cgidir=/var/www/cgi-bin --enable-mmap=yes ZM_DB_PASS=XXXXX ZM_DB_NAME=zoneminder --with-libarch=/usr/lib64 --with-webuser=apache --with-webgroup=apache
make
make install[/code]
I started the main script by typing
[code]zmpkg.pl start[/code]
Added my Trendnet TV-IP572PI camera to the Monitor using the wiki's instructions, and was greeted by an orange "source" in the monitors list. The live feed also doesnt work. I went to the logs section to see whats going on, and saw these entries:
[code]2013-10-04 17:54:08.959325 web_php 11356 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:54:03.359099 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:54:02.939577 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:56.932616 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:56.914512 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:50.912928 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:50.895123 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:44.893555 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:44.876057 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:43.275972 zmc_m1 17632 INF Monitor-1: 2000 - Capturing at 29.41 fps zm_monitor.cpp 2766
2013-10-04 17:53:38.874388 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:38.856106 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:32.855783 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:32.837707 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:26.836492 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:26.818521 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:20.818513 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:20.799901 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:14.798791 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:14.781154 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:09.958029 zmc_m1 17632 INF Monitor-1: 1000 - Capturing at 28.57 fps zm_monitor.cpp 2766
2013-10-04 17:53:08.779177 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:08.759625 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:53:02.759506 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:53:02.741241 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:52:56.739747 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:52:56.722121 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:52:50.720490 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:52:50.702700 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:52:44.700908 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:52:44.682773 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory /var/www/htdocs/zm/includes/functions.php 2323
2013-10-04 17:52:38.680341 web_js 11443 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2013-10-04 17:52:38.663082 web_php 11443 ERR socket_sendto( /var/run/zm/zms-148439s.sock ) failed: No such file or directory[/code]
I tried everything I could think of.... Googling for these errors led to a potential misconfiguration in Apache's httpd.conf which I double checked and didnt see anything wrong. /var/run/zm is owned by apache:apache, /var/www/htdocs/zm is also owned by apache:apache..
some config files:
zm.conf:
[code]# ==========================================================================
#
# ZoneMinder Base Configuration, $Date$, $Revision$
#
# ==========================================================================
#
# This file is generated by 'configure'. Care should be taken if manually
# editing this file as an changes may be overwritten by subsequent configuration
# or installations.
#
# Current version of ZoneMinder
ZM_VERSION=1.26.3
# Path to build directory, used mostly for finding DB upgrade scripts
ZM_PATH_BUILD=/root/ZoneMinder-1.26.3
# Build time, used to record when to trigger various checks
ZM_TIME_BUILD=1380923324
# Path to ZoneMinder binaries
ZM_PATH_BIN=/usr/local/bin
# Path to ZoneMinder libraries (none at present, for future use)
ZM_PATH_LIB=/usr/local/lib
# Path to ZoneMinder configuration (this file only at present)
ZM_PATH_CONF=/usr/local/etc
# Path to ZoneMinder web files
ZM_PATH_WEB=/var/www/htdocs/zm
# Path to ZoneMinder cgi files
ZM_PATH_CGI=/var/www/cgi-bin
# Username and group that web daemon (httpd/apache) runs as
ZM_WEB_USER=apache
ZM_WEB_GROUP=apache
# ZoneMinder database hostname or ip address
ZM_DB_HOST=localhost
# ZoneMinder database name
ZM_DB_NAME=zoneminder
# ZoneMinder database user
ZM_DB_USER=XXXXXX
# ZoneMinder database password
ZM_DB_PASS=XXXXXX[/code]
Apache's httpd.conf
[code]ServerRoot "/usr"
ServerName local-server
Listen 80
LoadModule authn_file_module lib64/httpd/modules/mod_authn_file.so
LoadModule authn_dbm_module lib64/httpd/modules/mod_authn_dbm.so
LoadModule authn_anon_module lib64/httpd/modules/mod_authn_anon.so
LoadModule authn_dbd_module lib64/httpd/modules/mod_authn_dbd.so
LoadModule authn_socache_module lib64/httpd/modules/mod_authn_socache.so
LoadModule authn_core_module lib64/httpd/modules/mod_authn_core.so
LoadModule authz_host_module lib64/httpd/modules/mod_authz_host.so
LoadModule authz_groupfile_module lib64/httpd/modules/mod_authz_groupfile.so
LoadModule authz_user_module lib64/httpd/modules/mod_authz_user.so
LoadModule authz_dbm_module lib64/httpd/modules/mod_authz_dbm.so
LoadModule authz_owner_module lib64/httpd/modules/mod_authz_owner.so
LoadModule authz_dbd_module lib64/httpd/modules/mod_authz_dbd.so
LoadModule authz_core_module lib64/httpd/modules/mod_authz_core.so
LoadModule authnz_ldap_module lib64/httpd/modules/mod_authnz_ldap.so
LoadModule access_compat_module lib64/httpd/modules/mod_access_compat.so
LoadModule auth_basic_module lib64/httpd/modules/mod_auth_basic.so
LoadModule auth_form_module lib64/httpd/modules/mod_auth_form.so
LoadModule auth_digest_module lib64/httpd/modules/mod_auth_digest.so
LoadModule allowmethods_module lib64/httpd/modules/mod_allowmethods.so
LoadModule file_cache_module lib64/httpd/modules/mod_file_cache.so
LoadModule cache_module lib64/httpd/modules/mod_cache.so
LoadModule cache_disk_module lib64/httpd/modules/mod_cache_disk.so
LoadModule socache_shmcb_module lib64/httpd/modules/mod_socache_shmcb.so
LoadModule socache_dbm_module lib64/httpd/modules/mod_socache_dbm.so
LoadModule socache_memcache_module lib64/httpd/modules/mod_socache_memcache.so
LoadModule dbd_module lib64/httpd/modules/mod_dbd.so
LoadModule dumpio_module lib64/httpd/modules/mod_dumpio.so
LoadModule echo_module lib64/httpd/modules/mod_echo.so
LoadModule buffer_module lib64/httpd/modules/mod_buffer.so
LoadModule data_module lib64/httpd/modules/mod_data.so
LoadModule ratelimit_module lib64/httpd/modules/mod_ratelimit.so
LoadModule reqtimeout_module lib64/httpd/modules/mod_reqtimeout.so
LoadModule ext_filter_module lib64/httpd/modules/mod_ext_filter.so
LoadModule request_module lib64/httpd/modules/mod_request.so
LoadModule include_module lib64/httpd/modules/mod_include.so
LoadModule filter_module lib64/httpd/modules/mod_filter.so
LoadModule reflector_module lib64/httpd/modules/mod_reflector.so
LoadModule substitute_module lib64/httpd/modules/mod_substitute.so
LoadModule sed_module lib64/httpd/modules/mod_sed.so
LoadModule charset_lite_module lib64/httpd/modules/mod_charset_lite.so
LoadModule deflate_module lib64/httpd/modules/mod_deflate.so
LoadModule xml2enc_module lib64/httpd/modules/mod_xml2enc.so
LoadModule proxy_html_module lib64/httpd/modules/mod_proxy_html.so
LoadModule mime_module lib64/httpd/modules/mod_mime.so
LoadModule ldap_module lib64/httpd/modules/mod_ldap.so
LoadModule log_config_module lib64/httpd/modules/mod_log_config.so
LoadModule log_debug_module lib64/httpd/modules/mod_log_debug.so
LoadModule log_forensic_module lib64/httpd/modules/mod_log_forensic.so
LoadModule logio_module lib64/httpd/modules/mod_logio.so
LoadModule env_module lib64/httpd/modules/mod_env.so
LoadModule mime_magic_module lib64/httpd/modules/mod_mime_magic.so
LoadModule expires_module lib64/httpd/modules/mod_expires.so
LoadModule headers_module lib64/httpd/modules/mod_headers.so
LoadModule usertrack_module lib64/httpd/modules/mod_usertrack.so
LoadModule unique_id_module lib64/httpd/modules/mod_unique_id.so
LoadModule setenvif_module lib64/httpd/modules/mod_setenvif.so
LoadModule version_module lib64/httpd/modules/mod_version.so
LoadModule proxy_module lib64/httpd/modules/mod_proxy.so
LoadModule proxy_connect_module lib64/httpd/modules/mod_proxy_connect.so
LoadModule proxy_ftp_module lib64/httpd/modules/mod_proxy_ftp.so
LoadModule proxy_http_module lib64/httpd/modules/mod_proxy_http.so
LoadModule proxy_fcgi_module lib64/httpd/modules/mod_proxy_fcgi.so
LoadModule proxy_scgi_module lib64/httpd/modules/mod_proxy_scgi.so
LoadModule proxy_fdpass_module lib64/httpd/modules/mod_proxy_fdpass.so
LoadModule proxy_ajp_module lib64/httpd/modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module lib64/httpd/modules/mod_proxy_balancer.so
LoadModule proxy_express_module lib64/httpd/modules/mod_proxy_express.so
LoadModule session_module lib64/httpd/modules/mod_session.so
LoadModule session_cookie_module lib64/httpd/modules/mod_session_cookie.so
LoadModule session_dbd_module lib64/httpd/modules/mod_session_dbd.so
LoadModule slotmem_shm_module lib64/httpd/modules/mod_slotmem_shm.so
LoadModule slotmem_plain_module lib64/httpd/modules/mod_slotmem_plain.so
LoadModule ssl_module lib64/httpd/modules/mod_ssl.so
LoadModule lbmethod_byrequests_module lib64/httpd/modules/mod_lbmethod_byrequests.so
LoadModule lbmethod_bytraffic_module lib64/httpd/modules/mod_lbmethod_bytraffic.so
LoadModule lbmethod_bybusyness_module lib64/httpd/modules/mod_lbmethod_bybusyness.so
LoadModule mpm_event_module lib64/httpd/modules/mod_mpm_event.so
LoadModule unixd_module lib64/httpd/modules/mod_unixd.so
LoadModule dav_module lib64/httpd/modules/mod_dav.so
LoadModule status_module lib64/httpd/modules/mod_status.so
LoadModule autoindex_module lib64/httpd/modules/mod_autoindex.so
LoadModule asis_module lib64/httpd/modules/mod_asis.so
LoadModule info_module lib64/httpd/modules/mod_info.so
LoadModule cgid_module lib64/httpd/modules/mod_cgid.so
LoadModule cgi_module lib64/httpd/modules/mod_cgi.so
LoadModule dav_fs_module lib64/httpd/modules/mod_dav_fs.so
LoadModule dav_lock_module lib64/httpd/modules/mod_dav_lock.so
LoadModule vhost_alias_module lib64/httpd/modules/mod_vhost_alias.so
LoadModule negotiation_module lib64/httpd/modules/mod_negotiation.so
LoadModule dir_module lib64/httpd/modules/mod_dir.so
LoadModule actions_module lib64/httpd/modules/mod_actions.so
LoadModule speling_module lib64/httpd/modules/mod_speling.so
LoadModule userdir_module lib64/httpd/modules/mod_userdir.so
LoadModule alias_module lib64/httpd/modules/mod_alias.so
LoadModule rewrite_module lib64/httpd/modules/mod_rewrite.so
<IfModule unixd_module>
</IfModule>
User apache
Group apache
ServerAdmin xxxx@xxxx.com
DocumentRoot "/srv/httpd/htdocs"
<Directory "/srv/httpd/htdocs">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
AddType application/x-httpd-php text/html .php .phps .php3
</Directory>
<Directory "/var/www/cgi-bin">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride All
php_value short_open_tag 1
</Directory>
<Directory /var/www/htdocs/zm>
Options FollowSymLinks
AllowOverride All
php_value short_open_tag 1
</Directory>
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
<Files ".ht*">
Require all denied
AcceptPathInfo On
</Files>
ErrorLog "/var/log/httpd_error.log"
LogLevel warn
<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
CustomLog "/var/log/httpd_access.log" common
</IfModule>
<IfModule alias_module>
ScriptAlias /cgi-bin "/srv/httpd/cgi-bin"
</IfModule>
<IfModule cgid_module>
</IfModule>
<IfModule mime_module>
TypesConfig /etc/httpd/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
</IfModule>
<IfModule proxy_html_module>
Include /etc/httpd/extra/proxy-html.conf
</IfModule>
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
Include /etc/httpd/mod_php.conf[/code]
I am lost a little.... Can anybody point me in the right direction???
Thanks!