I am trying to install kaltura server as a cluster on two centOS6 running kaltura server and ubuntu14.04 running apache for loadbalancer urls. I was going on smooth in the hope that it will workout file, but when trying to login on admin console through following url:
_http://balancer.kaltura/admin_console/index.php/_
and gives this error:
An error occurred (error code: API:-1)
After looking on internet I found that kaltura-sanity.sh is used to varify if kaltura is correctly install and I get following errors and can't make anything out of them. Kindly not only help me understand the errors from sanity test, also help solve this issue.
[root@localhost ~]# kaltura-sanity.sh
[Space on /] [PASSED, RC: 0] - [.006444747]
[Space on /opt/kaltura/web] [PASSED, RC: 0] - [.006160854]
[Check httpd daemon status] [PASSED, RC: 0] - [.020289476]
Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it..
^C
[root@localhost ~]# kaltura-sanity.sh -h
[Space on /] [PASSED, RC: 0] - [.007857162]
[Space on /opt/kaltura/web] [PASSED, RC: 0] - [.005485849]
[Check httpd daemon status] [PASSED, RC: 0] - [.023499681]
Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it..
[Check httpd daemon is started by Monit] [PASSED, RC: 0] - [7.437857422]
[check daemon httpd init status] [PASSED, RC: 0] - [.005662061]
[Check kaltura-sphinx daemon status] [PASSED, RC: 0] - [.056904545]
Napping 1 seconds to allow the daemon kaltura-sphinx to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon kaltura-sphinx to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon kaltura-sphinx to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon kaltura-sphinx to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon kaltura-sphinx to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon kaltura-sphinx to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon kaltura-sphinx to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon kaltura-sphinx to finish its init after monit restarted it..
[Check kaltura-sphinx daemon is started by Monit] [PASSED, RC: 0] - [9.119517339]
[check daemon kaltura-sphinx init status] [PASSED, RC: 0] - [.006758208]
[Check kaltura-batch daemon status] [PASSED, RC: 0] - [.030275972]
Napping 1 seconds to allow the daemon kaltura-batch to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon kaltura-batch to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon kaltura-batch to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon kaltura-batch to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon kaltura-batch to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon kaltura-batch to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon kaltura-batch to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon kaltura-batch to finish its init after monit restarted it..
[Check kaltura-batch daemon is started by Monit] [PASSED, RC: 0] - [8.383110784]
[check daemon kaltura-batch init status] [PASSED, RC: 0] - [.004189747]
[Check kaltura-monit daemon status] [PASSED, RC: 0] - [.020497569]
[check daemon kaltura-monit init status] [PASSED, RC: 0] - [.004327382]
[Check memcached daemon status] [PASSED, RC: 0] - [.020393728]
Napping 1 seconds to allow the daemon memcached to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon memcached to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon memcached to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon memcached to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon memcached to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon memcached to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon memcached to finish its init after monit restarted it..
Napping 1 seconds to allow the daemon memcached to finish its init after monit restarted it..
[Check memcached daemon is started by Monit] [PASSED, RC: 0] - [8.539853268]
[check daemon memcached init status] [PASSED, RC: 0] - [.005638040]
[kaltura-html5lib ver in KMC config.ini] [PASSED, RC: 0] - [.088925676]
[kaltura-kdp3 ver in KDP3 config.ini] [PASSED, RC: 0] - [.055358664]
[kaltura-kmc ver in KMC config.ini] [PASSED, RC: 0] - [.058893030]
PHP Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /opt/kaltura/bin/get_kmc_swfs.php on line 9
PHP Warning: file_get_contents(http://kaltura/kmc): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /opt/kaltura/bin/get_kmc_swfs.php on line 9
[Get KMC SWFs] [FAILED, RC: 255] - [.122558997]
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
[check_testme_page] [FAILED, RC: 1] - [.027755783]
[check_kmc_index_page] [FAILED, RC: 1] - [.013454837]
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
[check_admin_console_index_page] [FAILED, RC: 1] - [.021921535]
[check_studio_index_page] [FAILED, RC: 1] - [.482225891]
[Create Partner] [FAILED, RC: 255] - [.135180786]
Partner creation failed. I will skip all tests that require it.
[Red5 file upload] [FAILED, RC: 2] - [.033759035]
Same output for both vms for kaltura-sanity.sh
Apart from that, there are other issues but first this than, I would come to those and may be create a new issue for them.
I am trying to install kaltura server as a cluster on two centOS6 running kaltura server and ubuntu14.04 running apache for loadbalancer urls. I was going on smooth in the hope that it will workout file, but when trying to login on admin console through following url: _http://balancer.kaltura/admin_console/index.php/_
it goes to this url after clicking login: http://balancer.kaltura/admin_console/index.php/user/login
and gives this error: An error occurred (error code: API:-1)
After looking on internet I found that kaltura-sanity.sh is used to varify if kaltura is correctly install and I get following errors and can't make anything out of them. Kindly not only help me understand the errors from sanity test, also help solve this issue.
[root@localhost ~]# kaltura-sanity.sh [Space on /] [PASSED, RC: 0] - [.006444747] [Space on /opt/kaltura/web] [PASSED, RC: 0] - [.006160854] [Check httpd daemon status] [PASSED, RC: 0] - [.020289476] Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it.. ^C [root@localhost ~]# kaltura-sanity.sh -h [Space on /] [PASSED, RC: 0] - [.007857162] [Space on /opt/kaltura/web] [PASSED, RC: 0] - [.005485849] [Check httpd daemon status] [PASSED, RC: 0] - [.023499681] Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it.. [Check httpd daemon is started by Monit] [PASSED, RC: 0] - [7.437857422] [check daemon httpd init status] [PASSED, RC: 0] - [.005662061] [Check kaltura-sphinx daemon status] [PASSED, RC: 0] - [.056904545] Napping 1 seconds to allow the daemon kaltura-sphinx to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon kaltura-sphinx to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon kaltura-sphinx to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon kaltura-sphinx to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon kaltura-sphinx to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon kaltura-sphinx to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon kaltura-sphinx to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon kaltura-sphinx to finish its init after monit restarted it.. [Check kaltura-sphinx daemon is started by Monit] [PASSED, RC: 0] - [9.119517339] [check daemon kaltura-sphinx init status] [PASSED, RC: 0] - [.006758208] [Check kaltura-batch daemon status] [PASSED, RC: 0] - [.030275972] Napping 1 seconds to allow the daemon kaltura-batch to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon kaltura-batch to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon kaltura-batch to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon kaltura-batch to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon kaltura-batch to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon kaltura-batch to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon kaltura-batch to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon kaltura-batch to finish its init after monit restarted it.. [Check kaltura-batch daemon is started by Monit] [PASSED, RC: 0] - [8.383110784] [check daemon kaltura-batch init status] [PASSED, RC: 0] - [.004189747] [Check kaltura-monit daemon status] [PASSED, RC: 0] - [.020497569] [check daemon kaltura-monit init status] [PASSED, RC: 0] - [.004327382] [Check memcached daemon status] [PASSED, RC: 0] - [.020393728] Napping 1 seconds to allow the daemon memcached to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon memcached to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon memcached to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon memcached to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon memcached to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon memcached to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon memcached to finish its init after monit restarted it.. Napping 1 seconds to allow the daemon memcached to finish its init after monit restarted it.. [Check memcached daemon is started by Monit] [PASSED, RC: 0] - [8.539853268] [check daemon memcached init status] [PASSED, RC: 0] - [.005638040] [kaltura-html5lib ver in KMC config.ini] [PASSED, RC: 0] - [.088925676] [kaltura-kdp3 ver in KDP3 config.ini] [PASSED, RC: 0] - [.055358664] [kaltura-kmc ver in KMC config.ini] [PASSED, RC: 0] - [.058893030] PHP Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /opt/kaltura/bin/get_kmc_swfs.php on line 9 PHP Warning: file_get_contents(http://kaltura/kmc): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /opt/kaltura/bin/get_kmc_swfs.php on line 9 [Get KMC SWFs] [FAILED, RC: 255] - [.122558997] curl: no URL specified! curl: try 'curl --help' or 'curl --manual' for more information [check_testme_page] [FAILED, RC: 1] - [.027755783] [check_kmc_index_page] [FAILED, RC: 1] - [.013454837] curl: no URL specified! curl: try 'curl --help' or 'curl --manual' for more information [check_admin_console_index_page] [FAILED, RC: 1] - [.021921535] [check_studio_index_page] [FAILED, RC: 1] - [.482225891] [Create Partner] [FAILED, RC: 255] - [.135180786] Partner creation failed. I will skip all tests that require it. [Red5 file upload] [FAILED, RC: 2] - [.033759035]
Same output for both vms for kaltura-sanity.sh
Apart from that, there are other issues but first this than, I would come to those and may be create a new issue for them.