Problem with socket_sendto mismatch?
Posted: Sun Jul 19, 2015 1:02 pm
Hi, and thanks in advance for any help given.
After making some updates to zoneminder configuration (through the web) I restarted the service and I'm now getting issues presenting in the /var/log/syslog.
Here's a sample of the issue:
I've restarted both apache2 and zoneminder services in varying orders, and the issue doesn't seem to be going away. cgi is enabled in apache2 and everything was up and running perfectly before the service restart.
Further information: I'm running zoneminder 1.28.1 (just installed from the PPA) on Ubuntu Trusty and there don't appear to be any updates available. This was all working fine not long ago. The only reason I restarted was that I was difficulty getting background filters to fire (manually executing an email filter was working well from the web).
Any ideas?
Thanks Again, Christian.
After making some updates to zoneminder configuration (through the web) I restarted the service and I'm now getting issues presenting in the /var/log/syslog.
Here's a sample of the issue:
As you can see, the web_php process is trying to send to socket zms-089690s.sock, but in the /var/run/zm directory is the same number, but a w instead. Is this a mismatch, or is the equivalent s sock just not being created. This seems to be causing issues with accessing zoneminder on the web (which was fine before).Jul 19 22:48:53 plovercentral web_php[27328]: ERR [socket_sendto( /var/run/zm/zms-089690s.sock ) failed: No such file or directory]
Jul 19 22:49:03 plovercentral web_php[27310]: ERR [socket_sendto( /var/run/zm/zms-089690s.sock ) failed: No such file or directory]
Jul 19 22:49:11 plovercentral zmc_m1[18443]: INF [Front-Left: 11000 - Capturing at 12.66 fps]
Jul 19 22:49:13 plovercentral web_php[27299]: ERR [socket_sendto( /var/run/zm/zms-089690s.sock ) failed: No such file or directory]
Jul 19 22:49:14 plovercentral zma_m1[18485]: INF [Front-Left: 11000 - Processing at 12.50 fps]
Jul 19 22:49:53 plovercentral web_php[27417]: ERR [socket_sendto( /var/run/zm/zms-089690s.sock ) failed: No such file or directory]
Jul 19 22:50:04 plovercentral web_php[27366]: ERR [socket_sendto( /var/run/zm/zms-089690s.sock ) failed: No such file or directory]
Jul 19 22:50:24 plovercentral web_php[27322]: ERR [socket_sendto( /var/run/zm/zms-089690s.sock ) failed: No such file or directory]
Jul 19 22:50:31 plovercentral zmc_m1[18443]: INF [Front-Left: 12000 - Capturing at 12.50 fps]
Jul 19 22:50:34 plovercentral zma_m1[18485]: INF [Front-Left: 12000 - Processing at 12.50 fps]
Jul 19 22:50:44 plovercentral web_php[27372]: ERR [socket_sendto( /var/run/zm/zms-814210s.sock ) failed: No such file or directory]
Jul 19 22:50:54 plovercentral web_php[27674]: ERR [socket_sendto( /var/run/zm/zms-089690s.sock ) failed: No such file or directory]
root@plovercentral:/var/run/zm# ls -al /var/run/zm
total 4
drwxr-xr-x 2 www-data www-data 100 Jul 19 22:50 .
drwxr-xr-x 23 root root 760 Jul 19 11:06 ..
srwxr-xr-x 1 www-data www-data 0 Jul 19 22:34 zmdc.sock
-rw-r--r-- 1 www-data www-data 5 Jul 19 22:34 zm.pid
srwxr-xr-x 1 www-data www-data 0 Jul 19 22:50 zms-089690w.sock
I've restarted both apache2 and zoneminder services in varying orders, and the issue doesn't seem to be going away. cgi is enabled in apache2 and everything was up and running perfectly before the service restart.
Further information: I'm running zoneminder 1.28.1 (just installed from the PPA) on Ubuntu Trusty and there don't appear to be any updates available. This was all working fine not long ago. The only reason I restarted was that I was difficulty getting background filters to fire (manually executing an email filter was working well from the web).
Any ideas?
Thanks Again, Christian.