ZMS Streaming - socket failure

Forum for questions and support relating to the 1.25.x releases only.
Locked
futureechos
Posts: 10
Joined: Tue Mar 01, 2005 3:52 pm

ZMS Streaming - socket failure

Post by futureechos »

Hi All,

I'm getting the following error, and tried all the usual fixes which google has provided:
(ScriptAlias for cgi-bin)
permissions on apache
hashing of authentication
php short tags is ON
/etc/zm/apache.conf linked into /etc/apache2/conf-enabled/zoneminder.conf

web_php[7348]: ERR [socket_sendto( /tmp/socks/zms-215314s.sock ) failed: No such file or directory]

I also see the file being created /tmp/socks/zms-215314w.sock NOT s.sock as the error indicates.

This is not an apache permission thing - the functions.php seems to be working out the filename wrong, I've no idea why.
It can create the socket owned by www-data (same id as apache2 runs under)

I could reinstall from scratch, feels like I'm sooo close though I don't want to.

Fresh install of ubuntu server, zoneminder 1.25, mysql etc.


/etc/zm/zm.conf:
# cat /etc/zm/apache.conf
Alias /zm /usr/share/zoneminder

<Directory /usr/share/zoneminder>
php_flag register_globals off
Options Indexes FollowSymLinks
AllowOverride All
php_value short_open_tag 1
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>
ilbagatta
Posts: 2
Joined: Sun Dec 15, 2013 2:28 am

Re: ZMS Streaming - socket failure

Post by ilbagatta »

I have the same problem... but i'm using Ubuntu 12.04 LTS and Zoneminder 1.25...

Please help us!

The funny thing is that i've installed the same ubuntu on virtual box before install it on the real pc, and there always works!
After the "test" on a VM, I tried Ubuntu 13.10, Ubuntu 13.04 but the problem is the same, i'm going crazy...
ilbagatta
Posts: 2
Joined: Sun Dec 15, 2013 2:28 am

Re: ZMS Streaming - socket failure

Post by ilbagatta »

http://www.zoneminder.com/forums/viewto ... 321#p80321

this helps me!
Five days in crazy, and when i decide to write i found the answer!
futureechos
Posts: 10
Joined: Tue Mar 01, 2005 3:52 pm

Re: ZMS Streaming - socket failure

Post by futureechos »

I tried all the CGI-BIN stuff but would still not work, i was using ubuntu 13.10.

I fixed by re-installing from scratch using ubuntu 12.04 - the guide here works fine:

http://www.zoneminder.com/wiki/index.ph ... e_easy_way


Thanks to those who replied.
Locked