Hi,
I had to perform a restore from a backup but now I’m unable to login to the webinterface:
“OpenNebula is not running or there was a server exception. Please check the server logs.”
I have restored the MySQL database and the files in /etc/one and /var/lib/one and changed the ownership to oneadmin.
Started opennebula and opennebula-sunstone.
But when i try to login the oned.log shows the following error:
Tue Sep 4 20:33:42 2018 [Z0][ReM][D]: Req:1360 UID:0 UserInfo invoked , -1
Tue Sep 4 20:33:42 2018 [Z0][ReM][D]: Req:1360 UID:0 UserInfo result SUCCESS, "<USER><ID>0</ID><GID..."
Tue Sep 4 20:33:42 2018 [Z0][AuM][D]: Message received: LOG I 2 Command execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate serveradmin c536aa2689a25c3bbb2332697d33ead094eb10b0 ****
Tue Sep 4 20:33:42 2018 [Z0][AuM][I]: Command execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate serveradmin c536aa2689a25c3bbb2332697d33ead094eb10b0 ****
Tue Sep 4 20:33:42 2018 [Z0][AuM][D]: Message received: LOG I 2 sh: /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied
Tue Sep 4 20:33:42 2018 [Z0][AuM][I]: sh: /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied
Tue Sep 4 20:33:42 2018 [Z0][AuM][D]: Message received: LOG I 2 ExitCode: 126
Tue Sep 4 20:33:42 2018 [Z0][AuM][I]: ExitCode: 126
Tue Sep 4 20:33:42 2018 [Z0][AuM][D]: Message received: AUTHENTICATE FAILURE 2 -
Tue Sep 4 20:33:42 2018 [Z0][AuM][E]: Auth Error:
Tue Sep 4 20:33:42 2018 [Z0][ReM][D]: Req:976 UID:-1 UserInfo invoked , -1
Tue Sep 4 20:33:42 2018 [Z0][ReM][E]: Req:976 UID:- UserInfo result FAILURE [UserInfo] User couldn't be authenticated, aborting call.
sunstone_auth:
serveradmin:37db5f35af90c83a51084dbba931af08a2a2989f
oneuser show 1
USER 1 INFORMATION
ID : 1
NAME : serveradmin
GROUP : oneadmin
PASSWORD : c536aa2689a25c3bbb2332697d33ead094eb10b0
AUTH_DRIVER : server_cipher
ENABLED : Yes
echo -n “37db5f35af90c83a51084dbba931af08a2a2989f” | openssl sha1
(stdin)= c536aa2689a25c3bbb2332697d33ead094eb10b0
So this should be configured ok… ?
What to check next ?
Kind regards,
Tom