Copyright © 2012 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
I've spent most of today trying to get various bits of v4 CE to work. I'm up to the services enabling now, and have the serviceBatchMgr running fine.
However I'm stuck with sphinx stuff. I couldn't get anything else to run via chkconfig (CentOS 6) so put these commands into /etc/init.d/rc.local:
/opt/kaltura/app/scripts/sphinx_watch.sh start
which tells me that..
"Starting Sphinx Watch Daemon: OK"
BUT produces this error on loop:
"
Fri Oct 28 15:29:56 BST 2011 searchd on kaltura.hull-college.ac.uk was restarted
sudo: sorry, you must have a tty to run sudo
Exit code for stop was 1
sudo: sorry, you must have a tty to run sudo
"
ALSO
php /opt/kaltura/app/plugins/sphinx_search/scripts/populateFromLog.php /opt/kaltura/app/plugins/sphinx_search/config/kaltura-conf.php
produces this error on a loop when trying to run the sql:
"[2011-10-28 15:23:15]SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)"
I've manually edited the config file to include the correct root password in the array that contains it (without specifying the config file, I got an error message telling me without the config file it wouldn't do anything).
Any ideas?
Thanks,
Dave
Hey Dave
I ran into similar question and posted my reply into another (similar) thread: http://www.kaltura.org/content-stale-manage-content-screen.
I also noticed the way you are invoking populateFromLog.php and the parameter you pass into looks wrong. Take a close look at how I invoke the the "watch" script (watch.populate.sh) and the parameter I pass into (/opt/kaltura/app/plugins/sphinx_search/scripts/configs/server-sphinx.php).
Hope this gets you running.
EDIT:
You should also ensure the user account you're invoking populateFromLog.php (or the watch script) from has access to the MySql Repository i.e. if you invoke under "anotherUser" then ensure anotherUser@localhost can log into MySql
Gavin.