"Invalid credentials provided" after reboot

Our CE edition has been running for few months, but today I had to reboot the VM. Now, after entering the credentials (I use password managers, and 100% sure they are correct) on admin_console screen I get an error “Invalid credentials provided”. Same story for KMC.

Running sudo /opt/kaltura/bin/kaltura-sanity.sh, returns
[Space on /] [PASSED, RC: 0] - [.005392313]
[Space on /opt/kaltura/web] [PASSED, RC: 0] - [.005493113]
[Check httpd daemon status] [PASSED, RC: 0] - [.069637868]
Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it…
And then it stucks

How can I debug this?

Hi,

Start by making sure you have all relevant daemons running, in particular, both kaltura-sphinx and MySQL must run.
When trying to login, on the server’s shell, run:
# kaltlog
and look at the errors being outputted to STDOUT and STDERR.
Since this happened post reboot, again, my guess would be either Sphinx or MySQL are not running.

As for the sanity output:
"Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it…"
give it time, what this test does is stop all relevant daemons, one at a time, and wait for Monit, which is the watchdog daemon to restart them.

For a standalone, single instance, you should have the following running:
SPHINX_DAEMON=kaltura-sphinx
BATCH_DAEMON=kaltura-batch
MEMCACHE_DAEMON=memcached

And, in addition:
on deb:
APACHE_DAEMON=apache2
MYSQL_DAEMON=mysql
MONIT_DAEMON=monit

on RHEL:
APACHE_DAEMON=httpd
MYSQL_DAEMON=mysqld
MONIT_DAEMON=kaltura-monit

Thanks a lot, there was a stray lock file and Sphynx failed to start.