The database ‘kaltura’; database doesn’t exist. And all other kaltura db’s:
kaltura kaltura_sphinx_log kalturadw kalturadw_ds kalturadw_bisources kalturalog
Please advise. I appreciate your help and your time.
Thanks,
Dmitri
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
+--------------------
So the files under /opt/kaltura/sphinx were created with root.root 600 and now when the init script tries to run searchd as the kaltura user, it cannot write there.
I suggest you:
Thanks for reply.
I dont have the kaltura db: kaltura kaltura_sphinx_log kalturadw kalturadw_ds kalturadw_bisources kalturalog
/opt/kaltura/bin/kaltura-db-config.sh localhost root root 13306
Checking MySQL version…
Ver 5.1.73 found compatible
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…
ERROR: Couldn’t make an API request to http://sb-kaltura…com/api_v3/index.php?service=system&action=ping.
Please check your setup and then run /opt/kaltura/bin/kaltura-db-config.sh again.
I’m running DB setup and getting error bellow:
I can see my port is blocked
/opt/kaltura/bin/kaltura-db-config.sh
Removing kaltura…Removing kaltura_sphinx_log…Removing kalturadw…Removing kalturadw_ds…Removing kalturadw_bisources…Removing kalturalog…
Successfully dropped kaltura databases and users
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 make an API request to http://sb-kaltura…com/api_v3/index.php?service=system&action=ping.
Please check your setup and then run /opt/kaltura/bin/kaltura-db-config.sh again.
The hostname you provide MUST be resolvable both from inside the Kaltura server and from any machine you’ll be using the kaltura API/web I/Fs and player embeds from.
According to your output, the curl command trying to verify the hostname is accessible over HTTP failed.
You need to understand why that is.
If the hostname IS resolvable then something must be wrong with your Apache configuration. If that’s the case, what’s the output for:
What should I do with enabled.apps.conf?
I re-run /opt/kaltura/bin/kaltura-config-all.sh
Stopping httpd: [ OK ]
Starting httpd: [Tue Mar 27 10:01:56 2018] [warn] The Alias directive in /opt/kaltura/app/configurations/apache/conf.d/enabled.apps.conf at line 38 will probably never match because it overlaps an earlier Alias.
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
kaltura-front-config.sh FAILED with: 1 on line 282 (282 service httpd restart)
Archving logs to /opt/kaltura/log/log_27_03_18_10_29.tar.gz…
ERROR: /opt/kaltura/bin/kaltura-front-config.sh failed:( You can re-run it when the issue is fixed.
38 Alias /apps/kea “/opt/kaltura/apps/kea”
39 <Directory “/opt/kaltura/apps/kea”>
is just a warning. This is not what’s preventing Apache from successfully restarting.
Is there a different daemon currently listening on port 80 or is it just an errant/orphan Apache proc that cannot be stopped with SIGTERM? If the former, need to either stop it or set up Apache on a diff port, if the latter, try sending SIGKILL to all currently running Apache procs and then make sure restarting Apache with the init script works as expected. Once done, you can re-run the config script.
Thank you for reply. I run in another httpd error:
Starting httpd: [Tue Mar 27 13:07:50 2018] [warn] The Alias directive in /opt/kaltura/app/configurations/apache/conf.d/enabled.apps.conf at line 38 will probably never match because it overlaps an earlier Alias.
Syntax error on line 19 of /etc/httpd/conf.d/zzzkaltura.ssl.conf:
19 SSLCertificateFile @SSL_CERTIFICATE_FILE@
20 SSLCertificateKeyFile @SSL_CERTIFICATE_KEY_FILE@
21 SSLCACertificateFile @SSL_CERTIFICATE_CHAIN_FILE@
SSLCertificateFile: file ‘/etc/httpd/@SSL_CERTIFICATE_FILE@’ does not exist or is empty
[FAILED]
kaltura-batch-config.sh FAILED with: 1 on line 105
PHP Fatal error: Uncaught exception ‘KalturaClientException’ with message ‘couldn’t connect to host’ in /opt/kaltura/app/tests/lib/KalturaClientBase.php:362
Stack trace: #0 /opt/kaltura/app/tests/lib/KalturaClientBase.php(953): KalturaClientBase->doQueue() #1 /opt/kaltura/app/tests/standAloneClient/exec.php(345): KalturaClientBase->doMultiRequest() #2 {main}
thrown in /opt/kaltura/app/tests/lib/KalturaClientBase.php on line 362
359 if ($error)
360 {
361 $this->resetRequest();
362 throw new KalturaClientException($error, KalturaClientException::ERROR_GENERIC);
363 }
364 else
365 {
service httpd reload
Reloading httpd: not reloading due to configuration syntax error
[FAILED]
kaltlog
in /opt/kaltura/app/tests/lib/KalturaClientBase.php:401
Stack trace:
0 /opt/kaltura/app/tests/lib/KalturaClientBase.php(953): KalturaClientBase->doQueue()
2018-03-27 08:34:03 [688530780] [addPermissionsAndItems.php] [addItemToPermissions] ALERT: exception ‘Exception’ with message ‘ERROR - Permission name [BATCH_BASE] for partner [0] not found in database - skipping!’ in /opt/kaltura/app/infra/log/KalturaLog.php:65
-rw-r–r--. 1 root root 5413 Mar 7 10:23 /opt/kaltura/app/infra/log/KalturaLog.php
Stack trace:
0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(284): KalturaLog::alert(‘ERROR - Permiss…’)
tail: cannot open `/opt/kaltura/log/batch/*.log’ for reading: No such file or directory
ls -al /opt/kaltura/log/batch/
total 8
drwxrwxr-x. 2 kaltura apache 4096 Feb 26 07:59 .
drwxrwxr-x. 4 kaltura apache 4096 Mar 27 13:41 …
INFO: Now generating: batchClient using Php5ClientGenerator
WARN: Service [multicenters_filesyncimportbatch] not found
WARN: Service [playready_playreadydrm] not found
WARN: Service [drm_drmprofile] not found
WARN: Missing type [KalturaHuluDistributionField]
id kaltura
uid=7373(kaltura) gid=7373(kaltura) groups=7373(kaltura),48(apache)
php /opt/kaltura/app/deployment/base/scripts/insertContent.php
Queuing action [userRole.add]
Queuing action [user.add]
Executing multirequest
PHP Fatal error: Uncaught exception ‘KalturaClientException’ with message ‘couldn’t connect to host’ in /opt/kaltura/app/tests/lib/KalturaClientBase.php:362
#2 {main}
thrown in /opt/kaltura/app/tests/lib/KalturaClientBase.php on line 362
362 throw new KalturaClientException($error, KalturaClientException::ERROR_GENERIC);
/opt/kaltura/bin/kaltura-sanity.sh
INFO: php5full generated successfully
[Check httpd daemon status] [FAILED, RC: 1] - [.100174303]
Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it…
Napping 2 seconds to allow the daemon httpd to finish its init after monit restarted it…
Napping 3 seconds to allow the daemon httpd to finish its init after monit restarted it…
Hi Jess,
Thank you for reply. I can’t login to admin console. And I can’t get reset password by email. I’m using right email and password. Please advise. Thanks, Dmitri
Are you sure the DB deployment phase completed successfully?
Please check for errors in /opt/kaltura/log/kaltura_api_v3.log, /opt/kaltura/log/kaltura_apache_errors*.log and /opt/kaltura/log/kaltura_prod.log
-----Original Message-----
Sent: March-27-18 2:36 PM
Subject: Your new Kaltura server is up! and 6 Quick Tips For Smooth Kaltura Maintenance
Dear Kaltura administrator,
Thank you for installing Kaltura, the open source media management platform.
This email confirms that you’ve successfully installed a Kaltura server on: