cancel
Showing results for 
Search instead for 
Did you mean: 
merlin_world
Level 7

ePO 5.0.0 from 4.9.4 rolling back

Hi,

I'm trying to upgrade ePO 4.9.4. installation to 5.0.0 and it keeps constantly failing - rolling back the installation. It all goes well until the point "..Upgrading database.  Large databases might take several hours..." Soon after this it says: "rolling back".

When checking the logs i see following errors:

\McAfeeLogs\EPO500-Troubleshoot\OutputFiles\epoST.err

Error encountered while running command:ext.install extension=file:///C:/PROGRA~2/McAfee/EPOLIC~1/INSTAL~1/ePO/EXTENS~2/epoST.zip

java.io.IOException: Error 0 :

Installation error:

upgrade:

     [echo] Upgrade called for DataChannel (version 5.0.0.1160)

BUILD FAILED

C:\PROGRA~2\McAfee\EPOLIC~1\server\extensions\installed\DataChannel\5.0.0.1160\install.xml:18: java.sql.SQLException: Invalid column name 'TenantId'.

  at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)

  at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2817)

  at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2255)

  at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:629)

  at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:585)

  at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:547)

......

\McAfeeLogs\EPO500-Install-MSI.LOG

1: 19:51:05 ePO500CALog: Start Prod_InstallEpoCore

Action 19:51:05: RunEPOInstallerUpgrade. Upgrading database.  Large databases might take several hours.

1: 19:51:05 ePO500CALog: checkFilesIntoRepository( C:\Program Files (x86)\McAfee\ePolicy Orchestrator\Installer\ePO\extension-packages, epoST.zip, 6)

1: 19:51:05 ePO500CALog: Checking in bundle "C:\Program Files (x86)\McAfee\ePolicy Orchestrator\Installer\ePO\extension-packages\epoST.zip".

1: 19:51:05 ePO500CALog: Start runRemoteClentCommand(epoST,...)

1: 19:51:05 ePO500CALog: Start setExtendedEnvironmentString.

1: 19:51:05 ePO500CALog: Loading the following DLL for Use: [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}\CommonSetup.DLL]

1: 19:51:05 ePO500CALog: Setting the current directory to [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}].

1: 19:51:05 ePO500CALog: Unloading the following DLL: [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}\CommonSetup.DLL]

1: 19:51:05 ePO500CALog: Setting the current directory to [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}].

1: 19:51:05 ePO500CALog: Loading the following DLL for Use: [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}\CommonSetup.DLL]

1: 19:51:05 ePO500CALog: Setting the current directory to [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}].

1: 19:51:05 ePO500CALog: String converted successfully to Unicode Escaped format.

1: 19:51:05 ePO500CALog: Unloading the following DLL: [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}\CommonSetup.DLL]

1: 19:51:05 ePO500CALog: Setting the current directory to [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}].

1: 19:51:05 ePO500CALog: Loading the following DLL for Use: [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}\CommonSetup.DLL]

1: 19:51:05 ePO500CALog: Setting the current directory to [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}].

1: 19:51:05 ePO500CALog: String converted successfully to Unicode Escaped format.

1: 19:51:05 ePO500CALog: Unloading the following DLL: [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}\CommonSetup.DLL]

1: 19:51:05 ePO500CALog: Setting the current directory to [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}].

1: 19:51:05 ePO500CALog: Loading the following DLL for Use: [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}\CommonSetup.DLL]

1: 19:51:05 ePO500CALog: Setting the current directory to [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}].

1: 19:51:05 ePO500CALog: String converted successfully to Unicode Escaped format.

1: 19:51:05 ePO500CALog: Unloading the following DLL: [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}\CommonSetup.DLL]

1: 19:51:05 ePO500CALog: Setting the current directory to [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}].

1: 19:51:05 ePO500CALog: Loading the following DLL for Use: [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}\CommonSetup.DLL]

1: 19:51:05 ePO500CALog: Setting the current directory to [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}].

1: 19:51:05 ePO500CALog: String converted successfully to Unicode Escaped format.

1: 19:51:05 ePO500CALog: Unloading the following DLL: [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}\CommonSetup.DLL]

1: 19:51:05 ePO500CALog: Setting the current directory to [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}].

1: 19:51:05 ePO500CALog: Loading the following DLL for Use: [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}\CommonSetup.DLL]

1: 19:51:05 ePO500CALog: Setting the current directory to [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}].

1: 19:51:05 ePO500CALog: String converted successfully to Unicode Escaped format.

1: 19:51:05 ePO500CALog: Unloading the following DLL: [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}\CommonSetup.DLL]

1: 19:51:05 ePO500CALog: Setting the current directory to [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}].

1: 19:51:05 ePO500CALog: End setExtendedEnvironmentString.

1: 19:51:05 ePO500CALog: Setting szLogDirectory to [C:\Users\xxxxxx\AppData\Local\Temp\1\McAfeeLogs\EPO500-Troubleshoot\OutputFiles]

1: 19:51:05 ePO500CALog: Setting working directory to [C:\Users\xxxxxx\AppData\Local\Temp\1\McAfeeLogs\EPO500-Troubleshoot\OutputFiles]

1: 19:51:05 ePO500CALog: Setting szCommandFileName to [C:\Users\xxxxxx\AppData\Local\Temp\1\McAfeeLogs\EPO500-Troubleshoot\OutputFiles\epoST.cmd]

1: 19:51:05 ePO500CALog: Setting szCommandLogFileName to [C:\Users\xxxxxx\AppData\Local\Temp\1\McAfeeLogs\EPO500-Troubleshoot\OutputFiles\epoST.log]

1: 19:51:05 ePO500CALog: Setting szCommandErrorFileName to [C:\Users\xxxxxx\AppData\Local\Temp\1\McAfeeLogs\EPO500-Troubleshoot\OutputFiles\epoST.err]

1: 19:51:05 ePO500CALog: Setup detected the following memory: Physical = [4193848] KB ([4095] MB)   Available = [1048576] KB ([1024] MB)

1: 19:51:05 ePO500CALog: Setup detected more than 512 MB of physical memory so setting up the JAVA memory settings as follows: -Xms256M -Xmx512M

1: 19:51:05 ePO500CALog: Loading the following DLL for Use: [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}\CommonSetup.DLL]

1: 19:51:05 ePO500CALog: Setting the current directory to [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}].

1: 19:51:05 ePO500CALog: String converted successfully to Unicode Escaped format.

1: 19:51:05 ePO500CALog: Unloading the following DLL: [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}\CommonSetup.DLL]

1: 19:51:05 ePO500CALog: Setting the current directory to [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}].

1: 19:51:05 ePO500CALog: RemoteClient Command line set as follows: "C:\PROGRA~2\McAfee\EPOLIC~1\jre\bin\java.exe" -Xms256M -Xmx512M -Duser.language=en -Duser.country=US -classpath "C:\PROGRA~2\McAfee\EPOLIC~1\REMOTE~1\lib\ACTIVA~1.JAR;C:\PROGRA~2\McAfee\EPOLIC~1\REMOTE~1\lib\ANT-CO~1.JAR;C:\PROGRA~2\McAfee\EPOLIC~1\REMOTE~1\lib\ANT-LA~1.JAR;C:\PROGRA~2\McAfee\EPOLIC~1\REMOTE~1\lib\ant-trax.jar;C:\PROGRA~2\McAfee\EPOLIC~1\REMOTE~1\lib\ant.jar;C:\PROGRA~2\McAfee\EPOLIC~1\REMOTE~1\lib\ANTLR-~1.JAR;C:\PROGRA~2\McAfee\EPOLIC~1\REMOTE~1\lib\axis.jar;C:\PROGRA~2\McAfee\EPOLIC~1\REMOTE~1\lib\COMMON~1.JAR;C:\PROGRA~2\McAfee\EPOLIC~1\REMOTE~1\lib\COMMON~2.JAR;C:\PROGRA~2\McAfee\EPOLIC~1\REMOTE~1\lib\COMMON~3.JAR;C:\PROGRA~2\McAfee\EPOLIC~1\REMOTE~1\lib\COMMON~4.JAR;C:\PROGRA~2\McAfee\EPOLIC~1\REMOTE~1\lib\jaxrpc.jar;C:\PROGRA~2\McAfee\EPOLIC~1\REMOTE~1\lib\ORION-~1.JAR;C:\PROGRA~2\McAfee\EPOLIC~1\REMOTE~1\lib\ORION-~2.JAR;C:\PROGRA~2\McAfee\EPOLIC~1\REMOTE~1\lib\saaj.jar;C:\PROGRA~2\McAfee\EPOLIC~1\REMOTE~1\lib\wsdl4j.jar" com.mcafee.orion.remote.client.CommandShellClient -f "C:/Users/xxxxxx/AppData/Local/Temp/1/MCAFEE~1/EPO500~1/OUTPUT~1/epoST.cmd" SERVER111:8443 "<username>" "<password>" https post

1: 19:51:05 ePO500CALog: Loading the following DLL for Use: [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}\CommonSetup.DLL]

1: 19:51:05 ePO500CALog: Setting the current directory to [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}].

1: 19:51:05 ePO500CALog: String converted successfully to Unicode Escaped format.

1: 19:51:05 ePO500CALog: Unloading the following DLL: [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}\CommonSetup.DLL]

1: 19:51:05 ePO500CALog: Setting the current directory to [C:\Users\xxxxxx\AppData\Local\Temp\1\{424FEB85-17D9-4372-BB4F-52B8C004E70D}].

1: 19:51:05 ePO500CALog: Creating file [epoST.cmd] in folder [C:\Users\xxxxxx\AppData\Local\Temp\1\McAfeeLogs\EPO500-Troubleshoot\OutputFiles].

1: 19:51:05 ePO500CALog: Setting szCommandBatFileName to ["C:\Users\xxxxxx\AppData\Local\Temp\1\McAfeeLogs\EPO500-Troubleshoot\OutputFiles\epoST.bat"]

1: 19:51:05 ePO500CALog: Start executeExternalCommand()

1: 19:51:30 ePO500CALog: FAILURE: In LaunchApplication while trying to run the following program:

"C:\Users\xxxxxx\AppData\Local\Temp\1\McAfeeLogs\EPO500-Troubleshoot\OutputFiles\epoST.bat"

Return code: 1

Error Message: Incorrect function.

1: 19:51:30 ePO500CALog: Service MCAFEETOMCATSRV500 is running

InstallShield 19:51:30: CallScriptFunctionFromMsiCA() ends

1: 19:51:31 ePO500CALog (RB): Start executeExternalCommand()

1: 19:51:33 ePO500CALog (RB): FAILURE: In LaunchApplication while trying to run the following program:

"C:\PROGRA~2\McAfee\EPOLIC~1\jre\bin\java.exe"

Return code: 1

Error Message: Incorrect function.

1: 19:51:33 ePO500CALog (RB): Service MCAFEETOMCATSRV500 is running

1: 19:51:33 ePO500CALog (RB): Install is in rollback mode, so not aborting.

1: 19:51:33 ePO500CALog (RB): End executeExternalCommand()

Please help!

0 Kudos
5 Replies
tkinkead
Level 12

Re: ePO 5.0.0 from 4.9.4 rolling back

Do you mean ePO 4.6.4?  That should work.  Did you follow the steps here? 

McAfee Corporate KB - How to upgrade and migrate ePolicy Orchestrator 4.x to 5.x and from a 32-bit t...

Also, are you upgrading to ePO 5.0?  5.0 is end of life, you should be upgrading to a 5.1 version at the very least. 

0 Kudos
merlin_world
Level 7

Re: ePO 5.0.0 from 4.9.4 rolling back

I'm sorry, I meant 4.6.9 (build 130). Yes I followed all the steps, and read tons of KBs on this site which helped me resolve some other errors, but not this one.

I started with 4.6.4 and wanted to upgrade it to 5.9 (with drive encryption 7.2) so I was just following upgrade path. I tried first with 5.1, but keep getting some error for incompatibility:

McAfee ePolicy Orchestrator Product Compatibility Check

************

These products are incompatible with this ePO version; they must be removed or upgraded before ePO setup can continue:

ePolicy Orchestrator 4.6.9.130 (EPOCore) - no known compatible version

For that reason I tried 5.0 instead hoping for easier upgrade to 5.1 or 5.3.

0 Kudos
tkinkead
Level 12

Re: ePO 5.0.0 from 4.9.4 rolling back

0 Kudos
merlin_world
Level 7

Re: ePO 5.0.0 from 4.9.4 rolling back

Yeah, saw this one, but no, I didn't have duplicate keys... thanks for trying...

0 Kudos
tkinkead
Level 12

Re: ePO 5.0.0 from 4.9.4 rolling back

I'd suggest opening a case with McAfee Support.  While I'm pretty sure 4.6 is EOL, they may still be able to help you, since it's an upgrade to a supported version.

Alternatively, can you build ePO 5.x on a new server, transfer clients from the old server to the new, and then decom the old? 

0 Kudos