Have tried multiple times to install and keeps crashing when it goes to complete the sphinx integration.
Running Sphinx config…
kaltura-sphinx-2.2.1-16.x86_64
base-config completed successfully, if you ever want to re-configure your system (e.g. change DB hostname) run the following script:
rm /opt/kaltura/app/base-config.lock
/opt/kaltura/bin/kaltura-base-config.sh
Archving logs to /opt/kaltura/log/log_09_10_14_19_28.tar.gz...
ERROR: /opt/kaltura/bin/kaltura-sphinx-config.sh failed:( You can re-run it when the issue is fixed.
using config file ‘/opt/kaltura/app/configurations/sphinx/kaltura.conf’…
FATAL: stop: pid file ‘/opt/kaltura/sphinx/searchd.pid’ does not exist or is not readable
echo -n 'Starting searchd: '
Starting searchd: + su kaltura -c '/opt/kaltura/sphinx/bin/searchd --config /opt/kaltura/app/configurations/sphinx/kaltura.conf’
This account is currently not available.
Starting searchd: + su kaltura -c '/opt/kaltura/sphinx/bin/searchd --config
/opt/kaltura/app/configurations/sphinx/kaltura.conf'
This account is currently not available.
The ‘kaltura’ user should have /bin/sh as shell, like so:
kaltura:x:7373:7373:Kaltura server:/opt/kaltura:/bin/bash
From your output, it seems like either the kaltura user does not exist or it has no shell.
The user is created during kaltura-base’s preinstall like so:
# create user/group, and update permissions
groupadd -r kaltura -g7373 2>/dev/null || true
useradd -M -r -u7373 -d /opt/kaltura -s /bin/bash -c “Kaltura server” -g kaltura kaltura 2>/dev/null || true
getent group apache >/dev/null || groupadd -g 48 -r apache
getent passwd apache >/dev/null ||
useradd -r -u 48 -g apache -s /sbin/nologin
-d /var/www -c “Apache” apache
usermod -a -G kaltura apache
usermod -g kaltura kaltura 2>/dev/null || true
Do you have the user? have you perhaps manually changed its shell to /sbin/nologin?
I did try to just connect to the kaltura database as the kaltura mysql user and kaltura did not exist, so I ran just the db_config, and got tables created, but ran into sphinx again:
CREATE USER kaltura;
CREATE USER etl;
CREATE DATABASE kaltura;
CREATE DATABASE kaltura_sphinx_log;
CREATE DATABASE kalturadw;
CREATE DATABASE kalturadw_ds;
CREATE DATABASE kalturadw_bisources;
CREATE DATABASE kalturalog;
Checking connectivity to needed daemons…
Connectivity test passed:)
ERROR: Couldn’t connect to Sphinx with mysql -h127.0.0.1 -P9312.
Please check your setup and then run /opt/kaltura/bin/kaltura-db-config.sh again
Are you able to login to admin console? Also, did the install complete successfully? did you get the welcome message in the end and the welcome email?
Finally, what does:
# apachectl -t -DDUMP_VHOSTS
returns?
Jess, all is working now. But of course now I want to use it with SSL.
I have removed, and am working through the re-install questions. Only problem is right now I never get a chance to answer the question if I want to use SSL. It just automatically says:
It is recommended that you do work using HTTPs. Would you like to continue anyway?[N/y]
So I’m trying to determine which lock file I’m missing to get to answer Y first to the fact that I want to use SSL now.
Now I get a Console, but it fails to populate, so looking at apache error log:
[Wed Oct 15 23:45:14 2014] [error] [client 158.104.3.2] PHP Warning: mkdir(): Permission denied in /opt/kaltura/app/vendor/symfony/log/sfLogger/sfFileLogger.class.php on line 41
[Wed Oct 15 23:45:14 2014] [error] [client 158.104.3.2] Unable to open the log file “/opt/kaltura/app/alpha/log/p_-1.log” for writing