Gentoo - Zoneminder 1.25.0 - Socket Errors

Forum for questions and support relating to the 1.25.x releases only.
Locked
qoole
Posts: 1
Joined: Thu May 17, 2012 12:01 pm

Gentoo - Zoneminder 1.25.0 - Socket Errors

Post by qoole »

Hi there,

I have done a quick search of the forums/interwebs and haven't found any satisfactory answers to the problem I'm facing.
I'm running Zoneminder 1.25.0 on Gentoo Linux, using mmap, with 4 cameras.
All _seems_ to be working ok but my log files keep filling up with errors along the lines of:

Code: Select all

web_php[24524]: ERR [socket_sendto( /tmp/zm/zms-871474s.sock ) failed: No such file or directory]
I figured these are actually issues because of their ERR status rather than just info or such.

Please advise!

Alex
badger_fruit
Posts: 24
Joined: Wed Apr 18, 2012 3:49 pm

Re: Gentoo - Zoneminder 1.25.0 - Socket Errors

Post by badger_fruit »

qoole wrote:Hi there,

I have done a quick search of the forums/interwebs and haven't found any satisfactory answers to the problem I'm facing.
I'm running Zoneminder 1.25.0 on Gentoo Linux, using mmap, with 4 cameras.
All _seems_ to be working ok but my log files keep filling up with errors along the lines of:

Code: Select all

web_php[24524]: ERR [socket_sendto( /tmp/zm/zms-871474s.sock ) failed: No such file or directory]
I figured these are actually issues because of their ERR status rather than just info or such.

Please advise!

Alex

Hello Alex

I had a very similar problem, to resolve it I ...

Stopped the ZM service and then went into the /tmp/zm folder.
I manually deleted all the files in there.
Then I made sure that the user that runs apache (usually "wwwrun" but may vary on your distro) and the group that the apache user belongs to (again, in my case it was "www") had FULL permission (RWX or 777) to the folder structure.
When I restarted the ZM service, those errors went away!

Try that and see how you get on!
Locked