no Live view or playback Ubuntu 13.10 Server

Forum for questions and support relating to the 1.25.x releases only.
Locked
Fozzeybeare
Posts: 3
Joined: Sun Oct 09, 2011 4:56 pm

no Live view or playback Ubuntu 13.10 Server

Post by Fozzeybeare »

Cameras are set up and links showing green. when attempting to view live, I get the archive listing but no video. same thing when looking at the past events. no video. I've walked through every setting for live playback in options.

Log files show

2013-10-20 16:25:19.697059 web_php 2364 ERR socket_sendto( /tmp/zm/zms-517719s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2323

Where does the zms-517719s.sock file get installed and from where? how do I fix this?

Help
bbunge
Posts: 2932
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: no Live view or playback Ubuntu 13.10 Server

Post by bbunge »

Did you:

sudo adduser www-data video

By the way, what entry did you use to create the symbolic link in Apache to Zoneminder? With 13.10 the conf.d directory is not in /etc/apache2 and I've been unable to get to the configuration web page.

bb
Bob1959
Posts: 2
Joined: Wed Nov 06, 2013 7:40 pm

Re: no Live view or playback Ubuntu 13.10 Server

Post by Bob1959 »

To bbunge,,,

For Ubuntu 13.10 apparently, you must now link the file as follows:

sudo ln -s /etc/zm/apache.conf /etc/apache2/conf-available/zoneminder.conf

…then enable it…

sudo a2enconf zoneminder

…then reload apache…

sudo service apache2 reload

Hope this helps.
DrBergie
Posts: 5
Joined: Sat Nov 02, 2013 3:03 pm

Re: no Live view or playback Ubuntu 13.10 Server

Post by DrBergie »

Hi guys, I am also experiencing the socket_sendto file not found problem on Ubuntu 13.10 I have already added the www-data user to the video group, no luck, and no change. Still no live view/ stream when viewing an event. (still images work though.)

Looking in the /tmp/zm folder, there seems to be lots of sockets that come and go. I wonder if it isn't a bug that the zone minder service doesn't talk to the correct socket? Just a thought.

Anyone with other ideas?
victormd
Posts: 3
Joined: Wed Nov 13, 2013 4:48 am

Re: no Live view or playback Ubuntu 13.10 Server

Post by victormd »

I have a similar issue on Ubuntu 12.04. From the logs, I noticed that zm_event.cpp adds an extra forward slash in the path to events (see below):
Can't open /usr/share/zoneminder//mydata/cctv/events/4/13/11/12/22/25/00/0001-capture.jpg: No such file or directory

And immediately after that, I get the following socket error from /usr/share/zoneminder/includes/functions.php:
socket_sendto( /tmp/zm/zms-633365s.sock ) failed: No such file or directory

This error only happens when I try to play back an event - I get live view no problem and the files are being copied correctly into my event folder.

Any suggestions??
bbunge
Posts: 2932
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: no Live view or playback Ubuntu 13.10 Server

Post by bbunge »

See my comments at:
http://www.zoneminder.com/forums/viewto ... 266#p82266

Need someone who knows Apache!

bb
Locked