kaltura/platform-install-packages

Docker All in One Error: kaltura-db-config.sh FAILED with: 1 on line 157

Closed this issue · 0 comments

Hi !
I'm trying to make a fresh docker all in one install, but i have some problems with the config.ans file.
Any idea what's going on ?
thanks !

[root@bfe0bb21a33c /]# /root/install/install.sh
setenforce: SELinux is disabled
Starting mysqld:                                           [  OK  ]
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
mysql-server-5.1.73-8.el6_8.x86_64
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Loaded plugins: fastestmirror, ovl
Setting up Reinstall Process
Loading mirror speeds from cached hostfile
Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64 error was
14: PYCURL ERROR 77 - "Problem with the SSL CA cert (path? access rights?)"
 * base: centos.mirror.ate.info
 * epel: d2lzkl7pfhq30w.cloudfront.net
 * extras: centos.quelquesmots.fr
 * updates: centos.mirror.ate.info
Resolving Dependencies
--> Running transaction check
---> Package ca-certificates.noarch 0:2018.2.22-65.1.el6 will be reinstalled
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================
 Package                                      Arch                                Version                                            Repository                         Size
=============================================================================================================================================================================
Reinstalling:
 ca-certificates                              noarch                              2018.2.22-65.1.el6                                 base                              930 k

Transaction Summary
=============================================================================================================================================================================
Reinstall     1 Package(s)

Total download size: 930 k
Installed size: 2.6 M
Downloading Packages:
ca-certificates-2018.2.22-65.1.el6.noarch.rpm                                                                                                         | 930 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : ca-certificates-2018.2.22-65.1.el6.noarch                                                                                                                 1/1 
  Verifying  : ca-certificates-2018.2.22-65.1.el6.noarch                                                                                                                 1/1 

Installed:
  ca-certificates.noarch 0:2018.2.22-65.1.el6                                                                                                                                

Complete!
Running base config...


kaltura-base-14.12.0-11.noarch
Welcome to Kaltura Server 14.12.0 post install setup.
Checking MySQL version..
Ver 5.1.73 found compatible

========================================================================================================================
Kaltura install answer file written to /tmp/kaltura_09_10_12_32.ans  -  Please save it!
This answers file can be used to silently-install re-install this machine or deploy other hosts in your cluster.
========================================================================================================================


Generating client libs...
This can take a few minutes to complete, see log at /opt/kaltura/log/generate.php.log.

        Configuration of 14.12.0 finished successfully!
Running FrontEnd config...


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


kaltura-front-14.12.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_09_10_12_32.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: httpd: Could not reliably determine the server's fully qualified domain name, using 10.0.17.131 for ServerName
                                                           [  OK  ]
Stopping memcached:                                        [  OK  ]
Starting memcached:                                        [  OK  ]
Shutting down monit:                                       [FAILED]
Starting monit:  New Monit id: 883263575d3e27ccbb8600f1d0b5ad7c
 Stored in '/root/.monit.id'
Starting Monit 5.25.2 daemon with http interface at [127.0.0.1]:2812
                                                           [  OK  ]
Running Sphinx config...


kaltura-sphinx-2.2.1-23.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

Starting monit: Starting Monit 5.25.2 daemon with http interface at [127.0.0.1]:2812
                                                           [  OK  ]
Configuring your Kaltura DB...

Checking MySQL version..
Ver 5.1.73 found compatible
ERROR 1193 (HY000) at line 1: Unknown system variable 'innodb_log_file_size'
/opt/kaltura/bin/kaltura-functions.rc: line 110: [: : integer expression expected

CREATE USER kaltura;
CREATE USER etl;
CREATE DATABASE kaltura;
ERROR 1071 (42000) at line 2374: Specified key was too long; max key length is 1000 bytes

kaltura-db-config.sh FAILED with: 1 on line 157

Archving logs to /opt/kaltura/log/log_09_10_20_12_33.tar.gz...
ERROR: we failed on something else..

Here is my config.ans file

# local TZ to be used by PHP code. Note that it MUST be the same as your DB TZ.
TIME_ZONE="Europe/Paris"

# Apache port
KALTURA_VIRTUAL_HOST_PORT="80"
KALTURA_VIRTUAL_HOST_NAME="XXXXXX"

# host and port
KALTURA_FULL_VIRTUAL_HOST_NAME="$KALTURA_VIRTUAL_HOST_NAME:$KALTURA_VIRTUAL_HOST_PORT"
PROTOCOL="http"
SERVICE_URL="$PROTOCOL://$KALTURA_FULL_VIRTUAL_HOST_NAME"

# Operational DB MySQL 
DB1_HOST="127.0.0.1"
DB1_PORT="3306"
DB1_NAME="kaltura"
DB1_USER="kaltura"
DB1_PASS="XXXXXX"

# MySQL super user, this is only used for bootstrap, the app itself will not connect with it.
SUPER_USER="root"
SUPER_USER_PASSWD="XXXXXX"

SPHINX_SERVER1="127.0.0.1"
SPHINX_SERVER2="localhost"
SPHINX_DB_HOST="127.0.0.1"
SPHINX_DB_PORT="3306"

# user name for the Kaltura Admin Console, MUST be in the form of an email
ADMIN_CONSOLE_ADMIN_MAIL="XXXXXX"
# passwd for the Kaltura Admin Console
ADMIN_CONSOLE_PASSWORD="XXXXXX"

# for installs that have no remote CDN storage, use the same as $KALTURA_VIRTUAL_HOST_NAME
CDN_HOST="XXXXXX"

# display name used when sending the 'welcome' mail.
ENVIRONMENT_NAME="Kaltura Video Platform"

# what web I/F would you want to enable, options:
# 0 - All web interfaces 
# 1 - Kaltura Management Console [KMC], Hosted Apps, HTML5 lib and ClipAp
# 2 - KAC - Kaltura Admin Console
CONFIG_CHOICE="0"

# are we working over SSL? needed since, if so, we perform cert validity checks
IS_SSL="n"
# hostname for Red5
RED5_HOST="XXXXXXX"

# allow the install scripts to send install data for analytics and support purposes:
# 1 - allow
# 0 - prevent
USER_CONSENT=0

# SSL cert path
CRT_FILE=/etc/ssl/certs/localhost.crt
# SSL key path
KEY_FILE=/etc/pki/tls/private/localhost.key
# if such exists enter path here, otherwise leave as is.
CHAIN_FILE=NONE

# analytics MySQL DB
DWH_HOST="127.0.0.1"
# analytics MySQL port 
DWH_PORT="3306"
# analytics MySQL password 
DWH_PASS="XXXXXX"


# For nginx packager module
VOD_PACKAGER_HOST="127.0.0.1"
VOD_PACKAGER_PORT="80"
# whether or not to configure Nginx over SSL
IS_NGINX_SSL="N"
# path to SSL cert 
# SSL_CERT=
# path to SSL key
# SSL_KEY=
# NGINX SSL PORT - note, if you have Apache running over SSL as well and on port 443, do not select 443 here too
# VOD_PACKAGER_SSL_PORT=8443
WWW_HOST="@API_HOST_TO_USE_FOR_NGINX@"
# Port to use with Nginx's RTMP module
RTMP_PORT=1935

# Range of ip addresses belonging to internal kaltura servers
# The range is used when checking service actions permissions and allowing to access certain services without KS from the internal servers.
# The default is only good for testing, on a production ENV you should adjust according to your network.
IP_RANGE="0.0.0.0-255.255.255.255"