Quantcast
Channel: Support Portal
Viewing all articles
Browse latest Browse all 1872

Upgrade Pack 7100 to 7500

$
0
0
We are currently seeing issue with this upgrade path.

System Info:
-------------------
Linux - CentOS 6.7 (64bit)
2 CPU
4GB Memory
25GB Disk space.

We are performing the upgrade from the command line (No GUI available)

Things done so far:
  • upgraded Java from 1.6 to 1.7 using PMP instructions.
  • Performed a soft link redirection for libDiskspace.so
    • updatemanager.sh was trying to use the 32 bit version. We moved that to .NOLOAD then soft linked the 64bit version to where the 32 bit was. This allowed the update manger to start but then...problems.

Currently the upgrade is hanging at the command line. No progress shown and it has been "running" for a good 15 minutes so far.

We did find this log and it looks like it failed on a few different areas but also looks like its waiting for a question to be answered. No prompt displayed though, its just in the Log.

Any assistance would be appreciated, we do have support so if the community is at a lose then that's the next step. We have about 8 upgrade packs to perform. Currently failing on the first one.

Bad parts of the Log:
------------------------------
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.PostgresPreProcessor]  [WARNING] : 7z file [/store/apps/PMP/tools/archiver/7za] already exists, hence binary file copying steps ignored.
Feb 25, 2016 10:29:51 AM  [com.zoho.framework.utils.crypto.CryptoUtil]  [WARNING] : EnDecrypt instance has not been initialized. EnDecryptInstance is [null]
Feb 25, 2016 10:29:51 AM  [com.zoho.framework.utils.crypto.EnDecrypt]  [SEVERE] : Encryption failed
Feb 25, 2016 10:29:51 AM  [com.adventnet.db.adapter.Jdbc20DBAdapter]  [WARNING] : Identifier [pgsql_identifiers.txt] file not exist for this database
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [SEVERE] : Exception occured while extracting Postgres 9.2.4 zip
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [SEVERE] : {0}java.io.FileNotFoundException: 7zip extracter binary not found. [/store/apps/PMP/Patch/ManageEngine_PasswordManager_Pro-7.1.0-SP-1.0.0/PasswordManagerPro/PreInstall/tools/archiver/7za_64]
        at com.adventnet.persistence.PostgresPreProcessor.extractZip(PostgresPreProcessor.java:411)
        at com.adventnet.persistence.PostgresPreProcessor.install(PostgresPreProcessor.java:167)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.adventnet.tools.update.installer.Unzipper.contextPreInstallation(Unzipper.java:311)
        at com.adventnet.tools.update.installer.Unzipper.invokePreInstallationClasses(Unzipper.java:138)
        at com.adventnet.tools.update.installer.ApplyPatch.installPatch(ApplyPatch.java:273)
        at com.adventnet.tools.update.installer.ApplyPatch.run(ApplyPatch.java:223)
        at java.lang.Thread.run(Unknown Source)
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [SEVERE] : Restoring Postgres 9.2.1 database
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Failed to initialise the database cluster with initdb
Feb 25, 2016 10:29:53 AM  [SYSOUT]  [INFO] :
Error occured while migrating postgres database

Full LOG:
-----------------
Feb 25, 2016 10:29:28 AM  [com.adventnet.tools.update.installer.UpdateManager]  [INFO] :


Feb 25, 2016 10:29:28 AM  [com.adventnet.tools.update.installer.UpdateManager]  [INFO] : Invoking UpdateManager in CMD mode
Feb 25, 2016 10:29:28 AM  [com.adventnet.tools.update.installer.UpdateManager]  [INFO] : UpdateManager ProductName:ManageEngine PasswordManager Pro
Feb 25, 2016 10:29:28 AM  [com.adventnet.tools.update.installer.UpdateManager]  [INFO] : UpdateManager ProductVersion:7.1.0
Feb 25, 2016 10:29:28 AM  [com.adventnet.tools.update.installer.UpdateManager]  [INFO] : UpdateManager ProductContext:PasswordManagerPro
Feb 25, 2016 10:29:50 AM  [com.adventnet.tools.update.installer.ApplyPatch]  [INFO] : The ppm file path:/store/packages/pmp-upgrade-packs/ManageEngine_PasswordManager_Pro_7100_to_7500.ppm
Feb 25, 2016 10:29:50 AM  [com.adventnet.tools.update.installer.ApplyPatch]  [INFO] : The ppm file path:/store/packages/pmp-upgrade-packs/ManageEngine_PasswordManager_Pro_7100_to_7500.ppm
Feb 25, 2016 10:29:50 AM  [com.adventnet.tools.update.installer.ApplyPatch]  [INFO] : The Patch Version:ManageEngine_PasswordManager_Pro-7.1.0-SP-1.0.0
Feb 25, 2016 10:29:50 AM  [com.adventnet.tools.update.installer.ApplyPatch]  [INFO] : Context NamePasswordManagerPro
Feb 25, 2016 10:29:50 AM  [com.adventnet.tools.update.installer.Unzipper]  [INFO] : Pre Invocation in progress
Feb 25, 2016 10:29:50 AM  [com.adventnet.tools.update.installer.Unzipper]  [INFO] : Executing class:com/adventnet/persistence/PostgresPreProcessor.class
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.UpdateManagerUtil]  [INFO] : Patch version name [ManageEngine_PasswordManager_Pro-7.1.0-SP-1.0.0]
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.UpdateManagerUtil]  [INFO] : context name [PasswordManagerPro]
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.UpdateManagerUtil]  [INFO] : DD-XMLs default Listener class [com.adventnet.persistence.DefaultDDChangeListener]
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.UpdateManagerUtil]  [INFO] : Meta-dd.xml Listener class [com.adventnet.persistence.migration.MetaDDListener]
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.UpdateManagerUtil]  [INFO] : DO-XMLs default Listener class [com.adventnet.persistence.DefaultDOXMLChangeListener]
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.UpdateManagerUtil]  [INFO] : default Configuration Updator class [com.adventnet.persistence.migration.DefaultConfigurationUpdater]
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.UpdateManagerUtil]  [INFO] : Config Change Listener class [com.adventnet.persistence.migration.DefaultConfigChangeListener]
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.UpdateManagerUtil]  [INFO] : server.home.
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.UpdateManagerUtil]  [INFO] : server.dir/store/apps/PMP
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.UpdateManagerUtil]  [INFO] : server.conf/store/apps/PMP/conf
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : serverHome ::: /store/apps/PMP
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : dbHome ::: /store/apps/PMP/./pgsql
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.PostgresPreProcessor]  [WARNING] : 7z file [/store/apps/PMP/tools/archiver/7za] already exists, hence binary file copying steps ignored.
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : DBName ::: postgres
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : startDBServer ::: true
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : isWindows ::: false
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Getting current version using 'postgres' binary.
Feb 25, 2016 10:29:50 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Command to be executed ::: [/store/apps/PMP/./pgsql/bin/postgres, -V]
Feb 25, 2016 10:29:51 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : postgresProcess waitFor :: 0
Feb 25, 2016 10:29:51 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Returning version postgres (PostgreSQL) 9.2.1
Feb 25, 2016 10:29:51 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Current Postgres version before DB migration ::: postgres (PostgreSQL) 9.2.1
Feb 25, 2016 10:29:51 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Versions need to be migrated [9.2.1] to [9.2.4]
Feb 25, 2016 10:29:51 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : proceedMigration returns ::: true
Feb 25, 2016 10:29:51 AM  [com.zoho.framework.utils.crypto.CryptoUtil]  [WARNING] : EnDecrypt instance has not been initialized. EnDecryptInstance is [null]
Feb 25, 2016 10:29:51 AM  [com.zoho.framework.utils.crypto.EnDecrypt]  [SEVERE] : Encryption failed
Feb 25, 2016 10:29:51 AM  [com.adventnet.db.adapter.Jdbc20DBAdapter]  [INFO] : BackUp/Restore Version handler :::: null
Feb 25, 2016 10:29:51 AM  [com.adventnet.db.adapter.Jdbc20DBAdapter]  [WARNING] : Identifier [pgsql_identifiers.txt] file not exist for this database
Feb 25, 2016 10:29:51 AM  [SYSERR]  [INFO] : Exception occured while initializing datasource.
Feb 25, 2016 10:29:51 AM  [SYSERR]  [INFO] :

Feb 25, 2016 10:29:51 AM  [com.adventnet.db.adapter.postgres.PostgresSQLGenerator]  [INFO] : Encryption algorithm used :: [aes256]
Feb 25, 2016 10:29:51 AM  [com.adventnet.db.adapter.postgres.PostgresSQLGenerator]  [INFO] : Encryption s2k-mode used :: [1]
Feb 25, 2016 10:29:51 AM  [com.adventnet.db.adapter.postgres.DefaultPostgresDBInitializer]  [INFO] : db.home ::: ./pgsql
Feb 25, 2016 10:29:51 AM  [com.adventnet.db.adapter.postgres.DefaultPostgresDBInitializer]  [INFO] : dataDirectory :: /store/apps/PMP/pgsql/data
Feb 25, 2016 10:29:51 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Stoping Postgres DB server forcefully if it is already running
Feb 25, 2016 10:29:51 AM  [com.adventnet.db.adapter.postgres.DefaultPostgresDBInitializer]  [INFO] : Stopping PgSQL Server ...
Feb 25, 2016 10:29:51 AM  [com.adventnet.db.adapter.postgres.DefaultPostgresDBInitializer]  [INFO] : Going to stop DB server using pg_ctl utility.
Feb 25, 2016 10:29:51 AM  [com.adventnet.db.adapter.postgres.DefaultPostgresDBInitializer]  [INFO] : Command to be executed ::: [stat, -c, %U, /store/apps/PMP/pgsql/data]
Feb 25, 2016 10:29:51 AM  [com.adventnet.db.adapter.postgres.DefaultPostgresDBInitializer]  [INFO] : dataDirectoryOwnerName :::: pmp
Feb 25, 2016 10:29:51 AM  [com.adventnet.db.adapter.postgres.DefaultPostgresDBInitializer]  [INFO] : Command to be executed [su, -, pmp, -c, LD_LIBRARY_PATH=/lib:/store/apps/PMP/pgsql/extlib:$LD_LIBRARY_PATH /store/apps/PMP/pgsql/bin/pg_ctl -D /store/apps/PMP/pgsql/data -o "-p2345" stop -s -m fast ]
Feb 25, 2016 10:29:51 AM  [pglog]  [INFO] : pg_ctl: PID file "/store/apps/PMP/pgsql/data/postmaster.pid" does not exist
Feb 25, 2016 10:29:51 AM  [pglog]  [INFO] : Is server running?
Feb 25, 2016 10:29:52 AM  [com.adventnet.db.adapter.postgres.DefaultPostgresDBInitializer]  [INFO] : Command to be executed [su, -, pmp, -c, LD_LIBRARY_PATH=/lib:/store/apps/PMP/pgsql/extlib:$LD_LIBRARY_PATH /store/apps/PMP/pgsql/bin/pg_ctl status -D /store/apps/PMP/pgsql/data ]
Feb 25, 2016 10:29:52 AM  [com.adventnet.db.adapter.postgres.DefaultPostgresDBInitializer]  [INFO] : Server status :: pg_ctl: no server running
Feb 25, 2016 10:29:53 AM  [com.adventnet.db.adapter.postgres.DefaultPostgresDBInitializer]  [INFO] : isServerStopped :: going to return :: true
Feb 25, 2016 10:29:53 AM  [com.adventnet.db.adapter.postgres.DefaultPostgresDBInitializer]  [INFO] : is DB registered as a service ::: false
Feb 25, 2016 10:29:53 AM  [com.adventnet.db.adapter.postgres.DefaultPostgresDBInitializer]  [INFO] : Check PID status default timeout
Feb 25, 2016 10:29:53 AM  [com.adventnet.db.adapter.postgres.DefaultPostgresDBInitializer]  [INFO] : postmaster.pid file doesn't exist.
Feb 25, 2016 10:29:53 AM  [com.adventnet.db.adapter.postgres.DefaultPostgresDBInitializer]  [INFO] : isServerStopped method returning status ::: true
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Move /store/apps/PMP/./pgsql To /store/apps/PMP/./pgsql_old
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Postgres 9.2.1 successfully renamed to ./pgsql_old
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Returning zipFileName ::: pgsql_64_lin.7z
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Zip file to be extracted ::: /store/apps/PMP/Patch/ManageEngine_PasswordManager_Pro-7.1.0-SP-1.0.0/PasswordManagerPro/PreInstall/pgsql_patch/pgsql_64_lin.7z
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Destination directory    ::: .
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Is 7zip exists ::: false
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Is zip file exists ::: false
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [SEVERE] : Exception occured while extracting Postgres 9.2.4 zip
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [SEVERE] : {0}java.io.FileNotFoundException: 7zip extracter binary not found. [/store/apps/PMP/Patch/ManageEngine_PasswordManager_Pro-7.1.0-SP-1.0.0/PasswordManagerPro/PreInstall/tools/archiver/7za_64]
        at com.adventnet.persistence.PostgresPreProcessor.extractZip(PostgresPreProcessor.java:411)
        at com.adventnet.persistence.PostgresPreProcessor.install(PostgresPreProcessor.java:167)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.adventnet.tools.update.installer.Unzipper.contextPreInstallation(Unzipper.java:311)
        at com.adventnet.tools.update.installer.Unzipper.invokePreInstallationClasses(Unzipper.java:138)
        at com.adventnet.tools.update.installer.ApplyPatch.installPatch(ApplyPatch.java:273)
        at com.adventnet.tools.update.installer.ApplyPatch.run(ApplyPatch.java:223)
        at java.lang.Thread.run(Unknown Source)

Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [SEVERE] : Restoring Postgres 9.2.1 database
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Move /store/apps/PMP/./pgsql_old To /store/apps/PMP/./pgsql
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Excecuting initPgsql script to change data directory permission after reverting
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Command to be executed ::: [chmod, -R, 755, /store/apps/PMP/bin/initPgsql.sh]
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Command to be executed ::: [/store/apps/PMP/bin/initPgsql.sh]
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : User account 'postgres' already exists
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : initdb: directory "/store/apps/PMP/pgsql/data" exists but is not empty
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : If you want to create a new database system, either remove or empty
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : the directory "/store/apps/PMP/pgsql/data" or run initdb
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : with an argument other than "/store/apps/PMP/pgsql/data".
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : The files belonging to this database system will be owned by user "postgres".
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : This user must also own the server process.
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] :
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : The database cluster will be initialized with locale "C".
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : The default text search configuration will be set to "english".
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] :
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : Failed to initialise the database cluster with initdb
Feb 25, 2016 10:29:53 AM  [SYSOUT]  [INFO] :
Error occured while migrating postgres database.
Feb 25, 2016 10:29:53 AM  [SYSOUT]  [INFO] :

Feb 25, 2016 10:29:53 AM  [com.adventnet.tools.update.installer.RevertPatch]  [INFO] : Uninstalling post invocation classes
Feb 25, 2016 10:29:53 AM  [com.adventnet.tools.update.installer.RevertPatch]  [INFO] : No post invocation class files are present for uninstalling.
Feb 25, 2016 10:29:53 AM  [com.adventnet.tools.update.installer.RevertPatch]  [INFO] : Uninstalling pre invocation classes
Feb 25, 2016 10:29:53 AM  [com.adventnet.tools.update.installer.RevertPatch]  [INFO] : Executing class:class com.adventnet.persistence.PostgresPreProcessor
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : serverHome ::: /store/apps/PMP
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : dbHome ::: /store/apps/PMP/./pgsql
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : DBName ::: postgres
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : startDBServer ::: true
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : isWindows ::: false
Feb 25, 2016 10:29:53 AM  [com.adventnet.persistence.PostgresPreProcessor]  [INFO] : ./pgsql_old file not found, hence ignoring DB migration steps.
Feb 25, 2016 10:29:53 AM  [SYSOUT]  [INFO] :
Uninstallation Completed
Feb 25, 2016 10:29:53 AM  [SYSOUT]  [INFO] :

Feb 25, 2016 10:29:53 AM  [SYSOUT]  [INFO] :
Do you want to continue ?
Feb 25, 2016 10:29:53 AM  [SYSOUT]  [INFO] :

Feb 25, 2016 10:29:53 AM  [SYSOUT]  [INFO] :
Yes(y) No(n)


Viewing all articles
Browse latest Browse all 1872

Trending Articles