Hi,
I'm stuck with this one... anyone got any clues?
ZM is showing live streams and recording events fine, and the events appear in the list under the live stream. However, when I click on an event to play it back, I get a window with the video controls at the bottom, event details at the top, but no video in the middle.
The video playback component just shows the event name and a little icon top left of its frame. Status line is stuck on "Transferring data from localhost" - presumably trying to connect to the stream? The URL it's trying to pull from, according to the properties, is:
http://localhost/cgi-bin/nph-zms?source ... 1237036260
Firebug is showing an error, "streamStatus is undefined -
http://localhost/zm/skins/classic/views/js/event.js , Line 46".
Apache's error_log has this kind of thing each time:
----------
[Sat Mar 14 13:14:19 2009] [error] [client ::1] socket_sendto( /var/run/zm/zms-656990s.sock ) failed: No such file or directory, referer: http://localhost/zm/index.php?view=even ... 1=1&page=1
[Sat Mar 14 13:14:19 2009] [error] [client ::1] array (\n 0 => \n array (\n 'file' => '/srv/www/htdocs/zm/ajax/stream.php',\n 'line' => 51,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /var/run/zm/zms-656990s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/srv/www/htdocs/zm/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/srv/www/htdocs/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://localhost/zm/index.php?view=even ... 1=1&page=1
[Sat Mar 14 13:15:35 2009] [warn] [client ::1] Timeout waiting for output from CGI script /srv/www/cgi-bin/nph-zms, referer: http://localhost/zm/index.php?view=watch&mid=2
------------
I've tried un-checking the "use Cambozola" option in config - makes no difference. Also tried this on IE7 browser as well as FF3, similar result at the browser and same Apache errors.
It looks like nph-zms is failing to open a socket. ZM and Apache both run as wwwrun/www and the perms on /var/run/zm would allow that user to write. There are usually a couple of zm files in there, including zm.pid and zmdc.sock, but whenever this happens, the socket mentioned in the Apache error log is not present in /var/run/zm.
What creates these sockets and tells nph-zms the socket path? Is there something I can do to track down why they're not being created?
Any suggestions welcome...
Thanks,
Jeff
Unable to play back events - Apache socket_sendto failing
I suspect Selinux. See if it is enabled by typing "getenforce". If it is, try temporarily disabling it, by typing "setenforce 0", and then see if everything works. If it does you must then choose to either perm disable selinux (via /etc/selinux/config), or to update the selinux policy to allow zm to create and use the socket files (check the /var/log/alert.log and use the restorecon command it suggests).
-
- Posts: 22
- Joined: Fri May 11, 2007 7:13 pm
-
- Posts: 22
- Joined: Fri May 11, 2007 7:13 pm