An error occurred / Application error when trying to log in

Hello everyone,

I’ve installed and configured a basic installation of Kaltura 5. When the installation is complete, I try to log in with the administrator’s email/pwd and I’m getting “An error occurred” and “Application error”. I’ve checked the admin_console.log and I have an Exception with message ‘string could not be parsed as XML’ in /opt/kaltura/app/admin_console/lib/Kaltura/Client/ClientBase.php:222

I’ve opened the ClientBase.php file at line 222, and it relates to a private function unmarshal($xmlData)
{
$xml = new SimpleXMLElement($xmlData);
return self::unmarshallItem($xml->result);
}

But this doesn’t tell me more about the origin/cause of the error.

I’ve searched a bit the forum and see a few articles where the same error was mentioned, for example this one:
http://www.kaltura.org/error-occurred-application-error-kaltura-admin-console

I’ve tried the changes in the upper link (mysql:host=localhost or change of IP adress in /etc/hosts) but nothing changed.
In my case, I’ve a local IP of 10.10.10.4 which is natted on the internet into 72.X.X.X
I’ve tried putting either IP adress and it nothing changed.

Can anyone recommend new leads?
Thank you,

I’ve tried researching several ideas to no avail :-(.

I also discovered that I’m getting an error with Sphinx at boot time:
FATAL: stop: pid file /opt/kaltura/sphinx/search.pid does not exist or is not readable
Exit code for stop was 1

I’m not sure though it 1-this means that the Sphinx service is not running and 2-if it is linked with the problem specified earlier. I’m still seeing processes related to Sphinx running afterwards:

root 1610 0.0 0.0 108204 1396 ? Ss 17:17 0:00 /bin/bash /opt/ kaltura/app/plugins/sphinx_search/scripts/watch.daemon.onprem.sh
root 1729 0.1 0.8 322200 17200 ? S 17:18 0:02 php populateFro mLog.php /opt/kaltura/app/plugins/sphinx_search/scripts/configs/server-sphinx.ph p
root 1750 0.0 0.0 23504 1064 ? S 17:18 0:00 /opt/kaltura/bi n/sphinx/searchd --config /opt/kaltura/app/configurations/sphinx/kaltura.conf
root 1751 0.1 0.1 93648 3804 ? Sl 17:18 0:02 /opt/kaltura/bi n/sphinx/searchd --config /opt/kaltura/app/configurations/sphinx/kaltura.conf
root 3142 0.0 0.0 106096 1268 ? Ss 17:28 0:00 /bin/bash /opt/ kaltura/app/plugins/sphinx_search/scripts/watch.daemon.onprem.sh

I’ve tried researching several ideas to no avail :-(.

I also discovered that I’m getting an error with Sphinx at boot time:
FATAL: stop: pid file /opt/kaltura/sphinx/search.pid does not exist or is not readable
Exit code for stop was 1

I’m not sure though it 1-this means that the Sphinx service is not running and 2-if it is linked with the problem specified earlier. I’m still seeing processes related to Sphinx running afterwards:

root 1610 0.0 0.0 108204 1396 ? Ss 17:17 0:00 /bin/bash /opt/ kaltura/app/plugins/sphinx_search/scripts/watch.daemon.onprem.sh
root 1729 0.1 0.8 322200 17200 ? S 17:18 0:02 php populateFro mLog.php /opt/kaltura/app/plugins/sphinx_search/scripts/configs/server-sphinx.ph p
root 1750 0.0 0.0 23504 1064 ? S 17:18 0:00 /opt/kaltura/bi n/sphinx/searchd --config /opt/kaltura/app/configurations/sphinx/kaltura.conf
root 1751 0.1 0.1 93648 3804 ? Sl 17:18 0:02 /opt/kaltura/bi n/sphinx/searchd --config /opt/kaltura/app/configurations/sphinx/kaltura.conf
root 3142 0.0 0.0 106096 1268 ? Ss 17:28 0:00 /bin/bash /opt/ kaltura/app/plugins/sphinx_search/scripts/watch.daemon.onprem.sh