Sockets not created on 1.26.3 on Fedora 19
Posted: Thu Sep 26, 2013 9:04 pm
I'm running Fedora 19 with ZoneMinder 1.26.3, built from source with dependencies from various rpm sources. I have my test camera configured, and it appears okay (orange when in monitor mode, green in other modes), but when I try to view it live, nothing comes up other than the image frame.
Looking at the logs (and filtering out the pconnect warnings and redacting so the forum will let me post), I found this:
...followed by many more similar socket errors. Earlier I had similar problems but it ended up being related to a ScriptAlias configuration line in the default Apache config on Fedora. I commented out that line (which was preventing access to the ZoneMinder binaries), but the socket errors still persist. I looked in /tmp/zm/, but the only socket I ever see created there is "zmdc.sock"--never anything else. Permissions on the directory are 774 apache:apache.
Any ideas?
Edit: I think I may have found the issue. Looking at the internal logs via the web, I get repeated "Error while decoding frame 0" in zm_remote_camera_rtsp.cpp. Still searching for a solution for this now...
Looking at the logs (and filtering out the pconnect warnings and redacting so the forum will let me post), I found this:
Code: Select all
$ grep -v pconnect /var/log/zm/apache-error.log | head
[Thu Sep 26 15:35:55.946229 2013] [suexec:notice] [pid 4153] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Sep 26 15:35:56.019718 2013] [auth_digest:notice] [pid 4153] AH01757: generating secret for digest authentication ...
[Thu Sep 26 15:35:56.020450 2013] [lbmethod_heartbeat:notice] [pid 4153] AH02282: No slotmem from mod_heartmonitor
[Thu Sep 26 15:35:56.098856 2013] [mpm_prefork:notice] [pid 4153] AH00163: Apache/2.4.6 (Fedora) OpenSSL/1.0.1e-fips PHP/5.5.3 mod_perl/2.0.8-dev Perl/v5.16.3 configured -- resuming normal operations
[Thu Sep 26 15:35:56.098923 2013] [core:notice] [pid 4153] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Sep 26 15:36:47.819222 2013] [:error] [pid 4380] [client 192.168.254.53:63113] ERR [socket_sendto( /tmp/zm/zms-454765s.sock ) failed: No such file or directory], referer: <REDACTED>/index.php?view=watch&mid=2
[Thu Sep 26 15:36:53.850089 2013] [:error] [pid 4380] [client 192.168.254.53:63113] ERR [socket_sendto( /tmp/zm/zms-454765s.sock ) failed: No such file or directory], referer: <REDACTED>/index.php?view=watch&mid=2
[Thu Sep 26 15:36:59.922730 2013] [:error] [pid 4380] [client 192.168.254.53:63113] ERR [socket_sendto( /tmp/zm/zms-454765s.sock ) failed: No such file or directory], referer: <REDACTED>/index.php?view=watch&mid=2
...
Any ideas?
Edit: I think I may have found the issue. Looking at the internal logs via the web, I get repeated "Error while decoding frame 0" in zm_remote_camera_rtsp.cpp. Still searching for a solution for this now...