10.5 Linux Upgrade failure and solutions

10.5 Linux Upgrade failure and solutions

Traces in logs :

1. java.lang.Exception: InitPgsqlScript exited with value :: 1
at com.adventnet.persistence.PostgresPreProcessor.executeInitPgsqlScript(PostgresPreProcessor.java:1733)
2. PGSQL Permission related errors.

3. SDP MSP installed as root user or /var default location in the environment.

Solutions

1. Dont use Snapshot DB backup in Linux server while restoring as it leads to permission issues. It should be avoided.
2.  Always make sure to post restoring the DB and shut down the application. Execute sh stopDB.sh 65432 and make sure no JRE OR Postgres process is running in your task manager or process list.

3. Install the application under <user_home>/ManageEngine/ServiceDeskPlus-MSP instead of var or root using a normal user who has full folder access. 
The application should be installed under /opt/ManageEngine which is owned by you

In 10.5 versions, New pgsql folder will be created during this upgrade. It will be created based on the parent folder permission. ie permissions of <ServiceDeskPlus-MSP>.


4. Errors related to get timezone .

If you installed 64-bit installation file of SDP MSP, make sure the md5sum value of these 2 files are the same

1. ServiceDeskPlus-MSP/tools/postgres/bin -> gettimezone and the file under  ServiceDeskPlus-MSP/bin directory -> gettimezone_64 are same.

If not same, please copy the file from < ServiceDeskPlus-MSP/bin directory> to  ServiceDeskPlus-MSP/tools/postgres/bin and the name should be  gettimezone and not   gettimezone_64 (rename the file as  gettimezone only)

Post changing any activities please start and shut down the application once.

If you still face the issue , please contact support at support@servicedeskplusmsp.com for asssitance.

                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • 9418 ppm- Unable to apply 9418 ppm - warning msg shown (NOT IN USE)

                        During 9418 upgrade, users may face the below warning. "One or More Change Status notifications' subject and content are empty" Note: It is not the upgrade failure its just a warning error. Application will start even after this warning message. How ...
                      • Upgrade failure to 10500 - Linux platforms

                        You may experience an upgrade failure in linux platforms when upgrading to 10500. Here are the traces from logs, Feb 21, 2020 4:55:03 PM  [com.adventnet.tools.update.installer.Unzipper]  [SEVERE] : ERRUnexpected Error. Please click View Log>> for ...
                      • Upgrade failure from 1420X to 14300.

                        Error trace: 5 Sep, 2023 6:08:56 PM [com.adventnet.tools.update.installer.Unzipper] [INFO] : lib/phantomjs/linphantomjs/phantomjs 25 Sep, 2023 6:08:56 PM [com.adventnet.tools.update.installer.Unzipper] [SEVERE] : ERR:Exception while writing ...
                      • Upgrade issue from 14200 to 14300 (LINUX)

                        We have a prerequisiste that when upgrading SDP MSP from version 14200 to 14300 in a Linux environment the GNU C library should be upgrade to version 2.14 or above -> Sometime even if you have upgraded your GNU C library to the 2.14 or above the ...
                      • Linux console commands

                        Linux console commands *. To Install from console mode : - Download bin - Execute the command to make the bin executable - chmod 755 ManageEngine_ServiceDeskPlus_MSP_64bit.bin ( Color of the bin will get changed to green I.e Executable mode ) - ...