Agent Management Startup Error

Publication Date:  2015-06-30 Views:  204 Downloads:  0
Issue Description
When you start the Agent Management, the following error occurs:
Cause: java.sql.SQLException: An SQL data change is not permitted for a read-only connection, user or database.
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined,
At least one of these environment variables is needed to run this program
touch: cannot touch `/home/gaea/tomcat7/logs/catalina.out": Permission denied,
/home/gaea/tomcat7/bin/catalina.sh: line 378: /home/gaea/tomcat7/logs/catalina.out: Permission denied
Handling Process
Step 1 Log in to the Agent Management Server as the gaea user.
The password is Gaea123!.
Step 2 Access the /bin directory.
cd /home/gaea/tomcat7/bin
Step 3 Restart the Agent Management process.
./shutdown.sh //Stop the Agent Management process.
./startup.sh //Start the Agent Management process.
Root Cause
The Agent Management process is not started by the gaea user. 

END