socket_sendto

This is the place for any problems or issues with the website in general or the new forums in particular.
Post Reply
edgarquesada
Posts: 5
Joined: Thu Feb 16, 2012 10:06 pm

socket_sendto

Post by edgarquesada »

:? With Ubuntu 4.12 server, 64 bits, ZoneMinder records in the log the following message:
"socket_sendto( /tmp/zm/zms-380772s.sock ) failed: No such file or directory"

Any solution??

ocket_sendto( /tmp/zm/zms-380772s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-06-05 12:12:03.521863 web_php 31459 ERR socket_sendto( /tmp/zm/zms-380772s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-06-05 12:12:00.501678 web_php 31278 ERR socket_sendto( /tmp/zm/zms-380772s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-06-05 12:11:54.475208 web_php 31278 ERR socket_sendto( /tmp/zm/zms-380772s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-06-05 12:11:48.449488 web_php 31278 ERR socket_sendto( /tmp/zm/zms-380772s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-06-05 12:11:42.416171 web_php 31278 ERR socket_sendto( /tmp/zm/zms-380772s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-06-05 12:11:36.393530 web_php 31278 ERR socket_sendto( /tmp/zm/zms-380772s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-06-05 12:11:35.414938 zmc_m1 31407 INF Parqueo-SUR: 5000 - Capturing at 14.93 fps zm_monitor.cpp
gbengat
Posts: 1
Joined: Thu Jan 21, 2016 8:51 am

Re: socket_sendto

Post by gbengat »

Just in case someone runs into this problem and comes across the question in the post, here is a fix that worked for me. Found the fix under a bug filed here https://bugs.launchpad.net/ubuntu/+sour ... ug/1159361

It is possible CGI isn't enabled on apache.
Enable with: sudo a2enmod cgi

Steam still not working, follow the steps below.

1) Keep the default zone apache.conf without the ScriptAlias.

2) Stop both zoneminder and apache2
sudo service apache2 stop
sudo service zoneminder stop

2) Remove any stale sockets from /tmp/zm (default location):
sudo rm -vf /tmp/zm/*.*

3) Start zoneminder
sudo service zoneminder start

4) Start apache2
sudo service apache2 start

Hope this helps :-)
7even
Posts: 2
Joined: Tue Jan 26, 2016 7:31 pm

Re: socket_sendto

Post by 7even »

Hello,

I tried this (and it helped indeed to reduce the errors), but still there are no sockets created, except zmdc.sock - but I don't think this is the right one.

What else can I do?

Thanks,
7even
7even
Posts: 2
Joined: Tue Jan 26, 2016 7:31 pm

Re: socket_sendto

Post by 7even »

OK, I solved it: after system upgrade everything was broken, therefore I deinstalled zoneminder, deleted the database and remaining files the deinstallation process noted, reinstalled everything as described here: https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way

Now it works!
Post Reply