Page 1 of 1

sock errors

Posted: Wed Apr 13, 2016 1:57 pm
by marciofoz
Hello !
I have some errors in log files, like:

2016-04-13 09:15:28.862984 web_php 26683 ERR socket_sendto( /var/lib/zoneminder/sock/zms-890100s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2371

This folder really exists and have some files with 0 size. Whats wrong ? Im using Centos 7.2, with Selinux and firewalld disabled.
Thank you.

Re: sock errors

Posted: Wed Apr 13, 2016 4:00 pm
by PacoLM
If you use the search button of the forum, you may notice that is a question that is made every day. I recommend you to read some posts, you will find a solution...

Re: sock errors - webserver issue

Posted: Fri Apr 15, 2016 7:13 pm
by FvdLaar
I had socket errors too. After long investigation I found out it's a webserver config mistake!

Apache2 on Ubuntu 14.04 or later:
- disable all sites (list of sites by executing command line: "sudo ls /etc/apache2/sites-enabled -al")
- enable zoneminder.conf
- restart of reload Apache

Worked form me as long as I followed the regular installation instructions!

Even provides the solution for a similar problem when trying a clean install of Zoneminder on Docker on top op Ubuntu Host.