Applications Manager not starting after upgrade

Applications Manager not starting after upgrade

If Applications Manager is not starting, it could be due to the following:

1. License would've expired. Please apply valid license using updateLicense.bat/updateLicense.sh.
Refer this link to know how to apply license.
2. Take a look at the log trace in logs/StartupLogs_err.txt file:
org.postgresql.util.PSQLException: FATAL: invalid value for parameter "TimeZone": "EAT"
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2553)
at org.postgresql.core.v3.QueryExecutorImpl.readStartupMessages(QueryExecutorImpl.java:2665)
at org.postgresql.core.v3.QueryExecutorImpl.<init>(QueryExecutorImpl.java:147)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:273)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:51)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:225)
at org.postgresql.Driver.makeConnection(Driver.java:465)
at org.postgresql.Driver.connect(Driver.java:264)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at jdbc.CreateSchema.managePostgresUser(CreateSchema.java:159)
at jdbc.CreateSchema.instantiateConnection(CreateSchema.java:643)
at jdbc.CreateSchema.init(CreateSchema.java:97)
at jdbc.CreateSchema.main(CreateSchema.java:119)
at com.adventnet.appmanager.server.startup.StartServer.startPGSQL(StartServer.java:2684)
at com.adventnet.appmanager.server.startup.StartServer.startmysql(StartServer.java:2417)
at com.adventnet.appmanager.server.startup.StartServer.main(StartServer.java:1562)
If the log looks similar to the one mentioned above, the time zone may not have been configured correctly.

For Windows service mode:
You can update it in the wrapper.conf file and then restart AppManager service.

For example, 
If you are in Nairobi, it'll be:
wrapper.java.additional.5=-Duser.timezone=Africa/Nairobi

For Windows non-service mode/Linux:
You can update it in the startApplicationsManager.bat/.sh file.

For example, 
If you are in Nairobi, it'll be:
-Dfile.encoding=UTF-8 -Duser.timezone=Africa/Nairobi

      New to ADSelfService Plus?

        Resources

            • Related Articles

            • Installing Applications Manager in AWS

              Applications Manager can be installed in EC2 instances in both Windows and Linux platforms.  Applications Manager comes with bundled PostgreSQL. Installing Applications Manager in EC2 for Windows Go to EC2 console and launch an "Windows" instance ...
            • Having problems while starting Applications Manager in Debian machines.

              Solution: For Applications Manager to run in Debian machines, Ensure if the following configurations are done. 1. Check whether the libdb3.so file is located in /lib/ directory. For more information, refer here. 2. Uncomment the following line in ...
            • Migrating the JRE bundled in Applications Manager

              JRE Upgrade Document for Applications Manager This document helps the end-user in upgrading to the latest version of Java used in Applications Manager. The steps for Java upgrade in both Windows (Service and Non-Service mode) and Linux installations ...
            • Prerequisites for upgrading Applications Manager for the version above 14844

              1.Complete the Applications Manager backup for the installation folder & database by referring to the steps in the link below: https://www.manageengine.com/products/applications_manager/help/data-backup.html 2. The required Service Pack should be ...
            • How to start/stop Applications Manager in Linux?

              Starting Applications Manager From the command line, go to <Applications Manager Home> directory (by default it is /opt/ManageEngine/AppManager14) and execute the below command to start the product: nohup sh startApplicationsManager.sh & Execute the ...