# /opt/kaltura/bin/kaltura-db-update.sh
Error occurred during DB update:
|| ERROR 1091 (42000) at line 1: Can't DROP 'entry_id_index'; check that column/key exists || ERROR 1050 (42S01) at line 1: Table 'drm_policy' already exists || ERROR 1091 (42000) at line 17: Can't DROP 'profile_id'; check that column/key exists || ERROR 1060 (42S21) at line 1: Duplicate column name 'root_job_id' || ERROR 1050 (42S01) at line 1: Table 'delivery_profile' already exists
Went ahead and ran the config and everything looked good until the script tried to reload apache. The script completely hangs when archiving the logs for some reason.
# /opt/kaltura/bin/kaltura-config-all.sh /root/kaltura.ans
# /opt/kaltura/bin/kaltura-base-config.sh
Reloading httpd: not reloading due to configuration syntax error
[FAILED]
Archving logs to /opt/kaltura/log/log_24_03_15_10_34.tar.gz...
In another ssh session I ran configtest which produces the results below.
#apachectl configtest
httpd: Syntax error on line 223 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zzzkaltura.conf: Include directory '/etc/httpd/@APP_DIR@/configurations/apache/conf.d' not found
The problem is the tokens in /etc/httpd/conf.d/zzzkaltura.conf were not replaced with actual paths. This should happen during the kaltura-base-config.sh phase, can you re-run it and check?
I ran config again and it keps hanging up at the spot below. I let it sit there for 40 minutes and had to escape out of it. It has been doig the same thing when I ran it again.
# /opt/kaltura/bin/kaltura-config-all.sh /root/kaltura.ans
kaltura-front-10.7.0-1.noarch
Enabling Apache config - apps.conf
Enabling Apache config - var.conf
Enabling Apache config - admin.conf
========================================================================================================================
Kaltura install answer file written to /tmp/kaltura_24_03_12_46.ans - Please save it!
This answers file can be used to silently-install re-install this machine or deploy other hosts in your cluster.
========================================================================================================================
Stopping httpd: [ OK ]
Starting httpd: [Tue Mar 24 12:46:22 2015] [error] (EAI 2)Name or service not known: Could not resolve host name emlnx-media1.emcc.edu:443 -- ignoring!
[Tue Mar 24 12:46:22 2015] [warn] NameVirtualHost *:443 has no VirtualHosts
[ OK ]
Shutting down monit: [ OK ]
Starting monit: Starting monit daemon with http interface at [*:2812]
[ OK ]
That is the output for the config-all script. I suggest you start by running only kaltura-base-config.sh. Also, you can run it in debug mode like:
# bash -x /opt/kaltura/bin/kaltura-base-config.sh 2> /tmp/config.log
# bash -x /opt/kaltura/bin/kaltura-base-config.sh /root/kaltura.ans 2> /tmp/config.log
kaltura-base-10.7.0-2.noarch
Welcome to Kaltura Server 10.7.0 post install setup.
========================================================================================================================
Kaltura install answer file written to /tmp/kaltura_24_03_14_15.ans - Please save it!
This answers file can be used to silently-install re-install this machine or deploy other hosts in your cluster.
========================================================================================================================
Configuration of 10.7.0 finished successfully!
# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 14 of /etc/httpd/conf.d/zzzkaltura.ssl.conf:
SSLCertificateFile: file '/etc/httpd/@SSL_CERTIFICATE_FILE@' does not exist or is empty
Sorry jess, I went ahead and just replaced the apache config files with those from my 10.4 install and everything worked. I do not know what kept hosing the config files from the upgrade, but I had to just get it fixed so that I could move on. I appreciate your assistance. This topic can be closed.