sock errors

Forum for questions and support relating to the 1.29.x releases only.
Locked
marciofoz
Posts: 6
Joined: Thu Apr 07, 2016 9:17 pm

sock errors

Post 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.
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: sock errors

Post 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...

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
FvdLaar
Posts: 10
Joined: Sat Apr 02, 2016 12:55 pm

Re: sock errors - webserver issue

Post 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.
Locked