Hello,

After installing Cloudstack, 

IP:8080/client/

gives HTTP ERROR 503
Problem accessing /client/. Reason: Service Unavailable

Tried restarting using 

service cloudstack-management restart

Accessing the URL, and 

grep -i -E 'error|exception' 
/var/log/cloudstack/management/management-server.log gives 

----------------------
2020-05-08 10:46:21,300 WARN  [o.a.c.s.m.c.ResourceApplicationContext] 
(main:null) (logid:) Exception encountered during context initialization - 
cancelling refresh attempt: 
org.springframework.context.ApplicationContextException: Failed to start bean 
'cloudStackLifeCycle'; nested exception is 
com.cloud.utils.exception.CloudRuntimeException: Unable to acquire lock to 
check for database integrity.
org.springframework.context.ApplicationContextException: Failed to start bean 
'cloudStackLifeCycle'; nested exception is 
com.cloud.utils.exception.CloudRuntimeException: Unable to acquire lock to 
check for database integrity.
Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to acquire 
lock to check for database integrity.
2020-05-08 11:28:04,678 ERROR [c.c.u.d.DbUtil] (main:null) (logid:) GET_LOCK() 
throws exception 
java.sql.SQLException: Operation not allowed for a result set of type 
ResultSet.TYPE_FORWARD_ONLY.
        at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
        at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
        at 
com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
2020-05-08 11:28:04,684 WARN  [o.a.c.s.m.c.ResourceApplicationContext] 
(main:null) (logid:) Exception encountered during context initialization - 
cancelling refresh attempt: 
org.springframework.context.ApplicationContextException: Failed to start bean 
'cloudStackLifeCycle'; nested exception is 
com.cloud.utils.exception.CloudRuntimeException: Unable to acquire lock to 
check for database integrity.
org.springframework.context.ApplicationContextException: Failed to start bean 
'cloudStackLifeCycle'; nested exception is 
com.cloud.utils.exception.CloudRuntimeException: Unable to acquire lock to 
check for database integrity.
Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to acquire 
lock to check for database integrity.
----------------------

Please help. 

Reply via email to