Error migrating index after update (postgres could not start)

Error migrating index after update (postgres could not start)

Hello.
I have recently updated my EvenlogAnalyzer from build 8051 to 8062. The upgrade went well, no issues. Once i logged in i received a message stating (Original date was from 2013-08-02 to 2013-10-18)

Run migrateIndex.bat at ELA_HOME/troubleshooting

You have indexes pertaining to the older version which affects search/reporting performance for the time range from 2013-08-02 to 2013-09-30

75/135 days indexes have been migrated. migrateIndex.bat is currently not running. Consider running the script for the above mentioned

I ran the migrateIndex.bat script and left it alone and it completed successfully. The following day when i logged in the same message appeared but with different dates. It now shows the date range above.

When i try to run the script again(as admin), i receive the following error.

C:\ManageEngine\EventLog\troubleshooting>MigrateIndex.bat/sh
******************************************ManageEngine Index Migrator Utility***
*********************************************
Option 1 : Migrate indexes for all scheduled reports
Option 2 : Migrate indexes for custom date-range
Option 3 : Cancel
Enter your option: (1/2/3)?2
shutDownStrings :: []
Could not start Postgres database, The port 33335 is in use.
Trying to start PostgresSQL server failed
java.lang.RuntimeException: Trying to start PostgresSQL server failed
        at com.adventnet.persistence.PersistenceInitializer.printErrorMsgAndHalt
(PersistenceInitializer.java:864)
        at com.adventnet.persistence.PersistenceInitializer.startDB(PersistenceI
nitializer.java:789)
        at com.adventnet.persistence.PersistenceInitializer.initializeDB(Persist
enceInitializer.java:391)
        at com.adventnet.logsearch.index.api.MigrateIndex.initializeDBAndMickey(
MigrateIndex.java:231)
        at com.adventnet.logsearch.index.api.MigrateIndex.main(MigrateIndex.java
:97)
Enter the start date in YYYY-MM-DD format, for example 2013-12-25 for Christmas
2013 --  2013-08-02
Enter the end date --2013-09-30
Starting the migration process between 2013-08-02 and 2013-09-30
shutDownStrings :: []
Could not start Postgres database, The port 33335 is in use.
Trying to start PostgresSQL server failed
java.lang.RuntimeException: Trying to start PostgresSQL server failed
        at com.adventnet.persistence.PersistenceInitializer.printErrorMsgAndHalt
(PersistenceInitializer.java:864)
        at com.adventnet.persistence.PersistenceInitializer.startDB(PersistenceI
nitializer.java:789)
        at com.adventnet.persistence.PersistenceInitializer.initializeDB(Persist
enceInitializer.java:391)
        at com.adventnet.logsearch.index.api.MigrateIndex.initializeDBAndMickey(
MigrateIndex.java:231)
        at com.adventnet.logsearch.index.api.MigrateIndex.main(MigrateIndex.java
:97)




I noticed " Could not start Postgres database, The port 33335 is in use." How could i go about resolving this? Do i run the reinitializeDB.bat in the /bin dir? What options would i need to choose?

                New to ADSelfService Plus?