Skip to Content
0
Former Member
Apr 05, 2016 at 04:24 PM

HCI Agent Installation Issue

491 Views

Hi

We faced an issue while installing HCI Agent. The installation failed and later, un-install or re-install or re-configure option are not available.. here is error log which we received after the installation failed..

My query is on how to re-install agent after this error? appreciate your response

START of LOG

[Apr 04, 2016 13:25:06] INFO : ========== Enviroment Prerequisite Check ==========

[Apr 04, 2016 13:25:06] INFO : OS Name: Windows 7

[Apr 04, 2016 13:25:06] INFO : OS Version: 6.1

[Apr 04, 2016 13:25:06] INFO : OS Architecture: 64

[Apr 04, 2016 13:25:06] INFO : DSConfig file path: null\conf\DSConfig.txt

[Apr 04, 2016 13:25:06] INFO : Package Agent Version: 1.0.10.2165

[Apr 04, 2016 13:25:06] INFO : Package Repository Version: 14.2.5.0000

[Apr 04, 2016 13:25:06] INFO : No DataServices and DataServices Agent installed. Fresh install mode

[Apr 04, 2016 13:26:38] INFO : ========== Validation ==========

[Apr 04, 2016 13:26:38] INFO : Installation path: C:\Program Files\SAP\DataServicesAgent

[Apr 04, 2016 13:26:38] INFO : Installation path (Canonical): C:\Program Files\SAP\DataServicesAgent

[Apr 04, 2016 13:26:38] INFO : Current Working Directory: C:\Users\xxxxxxx021\AppData\Local\Temp\7zS14DD.tmp

[Apr 04, 2016 13:26:38] INFO : Execute Command: SETX DS_USER_DIR "C:\Users\xxxxxxx021\AppData\Local\Temp\7zS14DD.tmp\DS_USER_DIR"

[Apr 04, 2016 13:26:43] INFO : Working directory: C:\Users\xxxxxxx021\AppData\Local\Temp\7zS14DD.tmp

[Apr 04, 2016 13:26:43] INFO : Return Code: 0

[Apr 04, 2016 13:26:43] INFO : Execute Command: AWServerConfig.exe -k -n

[Apr 04, 2016 13:26:44] INFO : Working directory: C:\Users\xxxxxxx021\AppData\Local\Temp\7zS14DD.tmp\DataServicesAgent\bin

[Apr 04, 2016 13:26:44] INFO : Return Code: 0

[Apr 04, 2016 13:26:46] INFO : Execute Command: al_jobservice.exe -validate -ek -Dnam -Uxxxxxxx021 -P******

[Apr 04, 2016 13:26:47] INFO : Working directory: C:\Users\xxxxxxx021\AppData\Local\Temp\7zS14DD.tmp\DataServicesAgent\bin

[Apr 04, 2016 13:26:47] INFO : Return Code: 0

[Apr 04, 2016 13:26:47] INFO : Execute Command: SETX DS_USER_DIR ""

[Apr 04, 2016 13:26:48] INFO : Working directory: C:\Users\xxxxxxx021\AppData\Local\Temp\7zS14DD.tmp

[Apr 04, 2016 13:26:48] INFO : Return Code: 0

[Apr 04, 2016 13:26:48] INFO : Drive letter is C

[Apr 04, 2016 13:26:48] INFO : Free Disk Space (GB):112.0

[Apr 04, 2016 13:26:48] INFO : ========== Install Action ==========

[Apr 04, 2016 13:26:48] INFO : Dump install properties:

[Apr 04, 2016 13:26:48] INFO : AGENT_VERSION = 1.0.10.2165

[Apr 04, 2016 13:26:48] INFO : SQLA_PORT = 2638

[Apr 04, 2016 13:26:48] INFO : OS = Windows 7

[Apr 04, 2016 13:26:48] INFO : ADAPTER_PORT = 4001

[Apr 04, 2016 13:26:48] INFO : DBA_PWD = ********

[Apr 04, 2016 13:26:48] INFO : AGENT_REPO_VERSION = 14.2.5.0000

[Apr 04, 2016 13:26:48] INFO : INSTALLMODE = install

[Apr 04, 2016 13:26:48] INFO : INSTALL_DIR = C:\Program Files\SAP\DataServicesAgent

[Apr 04, 2016 13:26:48] INFO : LINK_DIR = C:\Program Files\SAP\DataServicesAgent

[Apr 04, 2016 13:26:48] INFO : SANDBOX_PWD = ********

[Apr 04, 2016 13:26:48] INFO : JSERVICE_PWD = ********

[Apr 04, 2016 13:26:48] INFO : JSERVICE_UID = nam\xxxxxxx021

[Apr 04, 2016 13:26:48] INFO : PACKAGE_DIR = C:\Users\MMISHR~1\AppData\Local\Temp\7zS14DD.tmp\DataServicesAgent

[Apr 04, 2016 13:26:48] INFO : SERVICE_NAME = SAP Data Services Agent

[Apr 04, 2016 13:26:48] INFO : PROD_PWD = ********

[Apr 04, 2016 13:26:48] INFO : DS_COMMON_DIR = C:\ProgramData\SAP\DataServicesAgent

[Apr 04, 2016 13:26:48] INFO : SQLA_SERVER_NAME = dsod_agent_repo

[Apr 04, 2016 13:26:48] INFO : JOBSERVER_PORT = 3500

[Apr 04, 2016 13:26:48] INFO : DBA_DEFAULT_PWD = ********

[Apr 04, 2016 13:26:48] INFO : DS_USER_DIR = C:\Users\xxxxxxx021\AppData\Local\SAP\DataServicesAgent

[Apr 04, 2016 13:26:48] INFO : MDS_PORT = 4010

[Apr 04, 2016 13:26:48] INFO : === Installing files

[Apr 04, 2016 13:26:51] INFO : Execute Command: icacls "C:\ProgramData\SAP\DataServicesAgent" /grant *S-1-5-32-545:(OI)(CI)F /C

[Apr 04, 2016 13:26:52] INFO : Working directory: C:\WINDOWS\system32

[Apr 04, 2016 13:26:52] INFO : Return Code: 0

[Apr 04, 2016 13:26:52] INFO : Creating Add Remove Programs shortcut.

[Apr 04, 2016 13:26:52] INFO : Execute Command: REG /? > C:\Users\MMISHR~1\AppData\Local\Temp\dsagentregtemp.txt

[Apr 04, 2016 13:26:52] INFO : Working directory: C:\Program Files\SAP\DataServicesAgent\bin

[Apr 04, 2016 13:26:52] INFO : Return Code: 0

[Apr 04, 2016 13:26:52] INFO : Execute Command: DSAgentARPShortcut-Create.bat 1.0.10.2165

[Apr 04, 2016 13:26:53] INFO : Working directory: C:\Program Files\SAP\DataServicesAgent\bin

[Apr 04, 2016 13:26:53] INFO : Return Code: 0

[Apr 04, 2016 13:26:53] INFO : Execute Command: CSCRIPT DSAgentShortcut-Create.vbs

[Apr 04, 2016 13:26:53] INFO : Working directory: C:\Program Files\SAP\DataServicesAgent\bin

[Apr 04, 2016 13:26:53] INFO : Return Code: 0

[Apr 04, 2016 13:26:53] INFO : === Done

[Apr 04, 2016 13:26:53] INFO : === Configuring environment

[Apr 04, 2016 13:26:53] INFO : Execute Command: C:\Program Files\SAP\DataServicesAgent/ext/jre/bin/java -classpath DSConfigMerge.jar;commons-beanutils.jar;commons-codec-1.3.jar;commons-collections-3.1.jar;commons-configuration-1.6.jar;commons-digester-1.6.jar;commons-jxpath-1.2.jar;commons-lang-2.6.jar;commons-logging.jar com.sap.ds.configmerge.DSConfigMerge

[Apr 04, 2016 13:26:56] INFO : Working directory: C:\Program Files\SAP\DataServicesAgent\lib

[Apr 04, 2016 13:26:56] INFO : Return Code: 0

[Apr 04, 2016 13:26:56] INFO : Generate DSConfig.txt file success

[Apr 04, 2016 13:26:56] INFO : Copy DSConfig.txt to DS_COMMON_DIR success

[Apr 04, 2016 13:26:56] INFO : Generated DSConfig.txt file successfully

[Apr 04, 2016 13:26:56] INFO : Initializing the LINK_DIR place holder in XML file

[Apr 04, 2016 13:26:56] INFO : Setting the environment variables

[Apr 04, 2016 13:26:56] INFO : Execute Command: SETX LINK_DIR "C:\Program Files\SAP\DataServicesAgent" /M

[Apr 04, 2016 13:26:56] INFO : Working directory: C:\Program Files\SAP\DataServicesAgent\bin

[Apr 04, 2016 13:26:56] INFO : Return Code: 0

[Apr 04, 2016 13:26:56] INFO : Execute Command: SETX DS_COMMON_DIR "C:\ProgramData\SAP\DataServicesAgent" /M

[Apr 04, 2016 13:26:57] INFO : Working directory: C:\Program Files\SAP\DataServicesAgent\bin

[Apr 04, 2016 13:26:57] INFO : Return Code: 0

[Apr 04, 2016 13:26:57] INFO : Execute Command: SETX DS_USER_DIR "C:\Users\xxxxxxx021\AppData\Local\SAP\DataServicesAgent"

[Apr 04, 2016 13:26:57] ERROR: java.io.IOException: WaitForMultipleObjects error=6, The handle is invalid

java.lang.ProcessImpl.waitForInterruptibly(Native Method)

java.lang.ProcessImpl.waitFor(ProcessImpl.java:445)

com.sap.im.dsod.util.CallExtProgram.executeImpl(CallExtProgram.java:97)

com.sap.im.dsod.util.CallExtProgram.execute(CallExtProgram.java:41)

com.sap.im.dsod.util.CallExtProgram.execute(CallExtProgram.java:23)

com.sap.im.dsod.agentinstaller.action.ActionInitialEnv.actionWin(ActionInitialEnv.java:129)

com.sap.im.dsod.agentinstaller.action.ActionInitialEnv.execute(ActionInitialEnv.java:67)

com.sap.im.dsod.agentinstaller.action.InstallHandler.execute(InstallHandler.java:156)

com.sap.im.dsod.agentinstaller.action.InstallHandler.run(InstallHandler.java:212)

[Apr 04, 2016 13:26:57] ERROR: Failed with errors.

[Apr 04, 2016 13:26:57] INFO : === Done

[Apr 04, 2016 13:26:57] INFO : === Generating certificates

[Apr 04, 2016 13:26:57] INFO : Execute Command: CreateDemoCerts.bat

[Apr 04, 2016 13:27:21] INFO : Working directory: C:\Program Files\SAP\DataServicesAgent\bin

[Apr 04, 2016 13:27:21] INFO : Return Code: 0

[Apr 04, 2016 13:27:21] INFO : Execute Command: SetupJavaKeystore.bat

[Apr 04, 2016 13:27:27] INFO : Working directory: C:\Program Files\SAP\DataServicesAgent\bin

[Apr 04, 2016 13:27:27] INFO : Return Code: 0

[Apr 04, 2016 13:27:27] INFO : Execute Command: MDSSetupJavaKeystore.bat

[Apr 04, 2016 13:27:36] INFO : Working directory: C:\Program Files\SAP\DataServicesAgent\bin

[Apr 04, 2016 13:27:36] INFO : Return Code: 1

[Apr 04, 2016 13:27:36] ERROR: Failed to setup the keystore for Metadata Browsing Server.

[Apr 04, 2016 13:27:36] ERROR: Failed to setup the keystore for Metadata Browsing Server.

[Apr 04, 2016 13:27:36] INFO : === Done

[Apr 04, 2016 13:27:36] INFO : === Configuring internal database

[Apr 04, 2016 13:27:36] INFO : Execute Command: dbinit -o "%DS_COMMON_DIR%\sqla\dsod_agent_repo_out.txt" -t "%DS_COMMON_DIR%\sqla\dsod_agent_repo.log" -z UTF8 "%DS_COMMON_DIR%\sqla\dsod_agent_repo.db"

[Apr 04, 2016 13:27:41] INFO : Working directory: C:\Program Files\SAP\DataServicesAgent\sqla

[Apr 04, 2016 13:27:41] INFO : Return Code: 0

[Apr 04, 2016 13:27:41] INFO : Execute Command: regsvr32 /s dbodbc12DSAgent.dll

[Apr 04, 2016 13:27:41] INFO : Working directory: C:\Program Files\SAP\DataServicesAgent\sqla

[Apr 04, 2016 13:27:41] INFO : Return Code: 0

[Apr 04, 2016 13:27:41] INFO : Execute Command: dbdsn -y -pe -ws "dsod_agent_repo" -c "Server=dsod_agent_repo;Driver=SQL Anywhere 12 - DSAgent;DBF=%DS_COMMON_DIR%\sqla\dsod_agent_repo.db;START=%LINK_DIR%\sqla\dbsrv12 -gk all -n dsod_agent_repo -qi -x tcpip(localonly=yes;port=2638);autostop=no"

[Apr 04, 2016 13:27:41] INFO : Working directory: C:\Program Files\SAP\DataServicesAgent\sqla

[Apr 04, 2016 13:27:41] INFO : Return Code: 0

[Apr 04, 2016 13:27:42] INFO : === Done

[Apr 04, 2016 13:27:42] INFO : === Create an event to purge SQLA log files

[Apr 04, 2016 13:27:42] INFO : Execute Command: dbisqlc -nogui -q -c dsn=dsod_agent_repo;uid=dba;pwd=*****; "C:\Program Files\SAP\DataServicesAgent\bin\dsodpurge.sql"

[Apr 04, 2016 13:27:42] INFO : Working directory: C:\Program Files\SAP\DataServicesAgent\sqla

[Apr 04, 2016 13:27:42] INFO : Return Code: 0

[Apr 04, 2016 13:27:42] INFO : detect dbsrv12.exe process

[Apr 04, 2016 13:27:42] INFO : Execute Command: tasklist

[Apr 04, 2016 13:27:43] INFO : Working directory: C:\Users\xxxxxxx021

[Apr 04, 2016 13:27:43] INFO : Return Code: 0

[Apr 04, 2016 13:27:43] ERROR: process dbsrv12.exe still running

[Apr 04, 2016 13:27:43] INFO : Execute Command: dbstop.exe –y dsod_agent_repo

[Apr 04, 2016 13:27:43] INFO : Working directory: C:\Program Files\SAP\DataServicesAgent\sqla

[Apr 04, 2016 13:27:43] INFO : Return Code: 255

[Apr 04, 2016 13:27:43] INFO : Execute Command: taskkill /F /IM dbsrv12.exe

[Apr 04, 2016 13:27:43] INFO : Working directory: C:\Program Files\SAP\DataServicesAgent\sqla

[Apr 04, 2016 13:27:43] INFO : Return Code: 0

[Apr 04, 2016 13:27:43] INFO : process dbsrv12.exe already stop

[Apr 04, 2016 13:27:43] INFO : sleep 5s

[Apr 04, 2016 13:27:48] INFO : === Done

[Apr 04, 2016 13:27:48] INFO : === Creating repositories

[Apr 04, 2016 13:27:48] INFO : Creating repository

[Apr 04, 2016 13:27:48] ERROR: java.io.FileNotFoundException: C:\ProgramData\SAP\DataServicesAgent\conf\DSConfig.key (The system cannot find the file specified)

java.io.FileInputStream.open(Native Method)

java.io.FileInputStream.<init>(FileInputStream.java:138)

java.io.FileInputStream.<init>(FileInputStream.java:97)

com.sap.im.dsod.util.FileReplaceAll.readFile(FileReplaceAll.java:51)

com.sap.im.dsod.agentinstaller.action.ActionCreateRepo.actionWin(ActionCreateRepo.java:52)

com.sap.im.dsod.agentinstaller.action.ActionCreateRepo.execute(ActionCreateRepo.java:44)

com.sap.im.dsod.agentinstaller.action.InstallHandler.execute(InstallHandler.java:156)

com.sap.im.dsod.agentinstaller.action.InstallHandler.run(InstallHandler.java:212)

[Apr 04, 2016 13:27:48] ERROR: Failed with errors.

[Apr 04, 2016 13:27:48] INFO : === Done

[Apr 04, 2016 13:27:48] INFO : === Configuring job server

[Apr 04, 2016 13:27:48] ERROR: java.io.FileNotFoundException: C:\ProgramData\SAP\DataServicesAgent\conf\DSConfig.key (The system cannot find the file specified)

java.io.FileInputStream.open(Native Method)

java.io.FileInputStream.<init>(FileInputStream.java:138)

java.io.FileInputStream.<init>(FileInputStream.java:97)

com.sap.im.dsod.util.FileReplaceAll.readFile(FileReplaceAll.java:51)

com.sap.im.dsod.agentinstaller.action.ActionConfigureJobserver.actionWin(ActionConfigureJobserver.java:55)

com.sap.im.dsod.agentinstaller.action.ActionConfigureJobserver.execute(ActionConfigureJobserver.java:43)

com.sap.im.dsod.agentinstaller.action.InstallHandler.execute(InstallHandler.java:156)

com.sap.im.dsod.agentinstaller.action.InstallHandler.run(InstallHandler.java:212)

[Apr 04, 2016 13:27:49] ERROR: Failed with errors.

[Apr 04, 2016 13:27:49] INFO : === Done

[Apr 04, 2016 13:27:49] INFO : === Upgrading adapters

[Apr 04, 2016 13:27:49] INFO : Updating the adapters configuration files

[Apr 04, 2016 13:27:49] INFO : Execute Command: "C:\Program Files\SAP\DataServicesAgent/ext/jre/bin/java" -classpath "lib/acta_adapter_sdk.jar;lib/acta_tool.jar;lib/log4j-1.2.16.jar;ext/lib/xalan.jar;ext/lib/jaxp.jar;ext/lib/xercesImpl.jar" com.acta.adapter.sdkutil.UpdateAdapterVersion "C:\Program Files\SAP\DataServicesAgent" "C:\ProgramData\SAP\DataServicesAgent" "SuccessFactors Adapter"

[Apr 04, 2016 13:27:50] INFO : Working directory: C:\Program Files\SAP\DataServicesAgent

[Apr 04, 2016 13:27:50] INFO : Return Code: 0

[Apr 04, 2016 13:27:50] INFO : Execute Command: "C:\Program Files\SAP\DataServicesAgent/ext/jre/bin/java" -classpath "lib/acta_adapter_sdk.jar;lib/acta_tool.jar;lib/log4j-1.2.16.jar;ext/lib/xalan.jar;ext/lib/jaxp.jar;ext/lib/xercesImpl.jar" com.acta.adapter.sdkutil.UpdateStartupScript "C:\Program Files\SAP\DataServicesAgent" "C:\ProgramData\SAP\DataServicesAgent"

[Apr 04, 2016 13:27:52] INFO : Working directory: C:\Program Files\SAP\DataServicesAgent

[Apr 04, 2016 13:27:52] INFO : Return Code: 0

[Apr 04, 2016 13:27:52] INFO : === Done

[Apr 04, 2016 13:27:52] INFO : === Starting agent service

[Apr 04, 2016 13:27:52] ERROR: java.io.FileNotFoundException: C:\ProgramData\SAP\DataServicesAgent\conf\DSConfig.key (The system cannot find the file specified)

java.io.FileInputStream.open(Native Method)

java.io.FileInputStream.<init>(FileInputStream.java:138)

java.io.FileInputStream.<init>(FileInputStream.java:97)

com.sap.im.dsod.util.FileReplaceAll.readFile(FileReplaceAll.java:51)

com.sap.im.dsod.agentinstaller.action.ActionStartService.getCommandLineWin(ActionStartService.java:88)

com.sap.im.dsod.agentinstaller.action.ActionStartService.execute(ActionStartService.java:49)

com.sap.im.dsod.agentinstaller.action.InstallHandler.execute(InstallHandler.java:156)

com.sap.im.dsod.agentinstaller.action.InstallHandler.run(InstallHandler.java:212)

[Apr 04, 2016 13:27:52] ERROR: Failed with errors.

[Apr 04, 2016 13:27:52] INFO : === Done

[Apr 04, 2016 13:28:22] INFO : [Installation Log]

C:\ProgramData\SAP\DataServicesAgent\log\Install_2016.04.04.13.25.06.log

[Summary]

Success: Installing files

Failed: Configuring environment

Failed with errors.

Failed: Generating certificates

Failed to setup the keystore for Metadata Browsing Server.

Success: Configuring internal database

Success: Create an event to purge SQLA log files

Failed: Creating repositories

Failed with errors.

Failed: Configuring job server

Failed with errors.

Success: Upgrading adapters

Failed: Starting agent service

Failed with errors.

Failed with errors.

[Apr 04, 2016 13:28:26] INFO : Exit: errors occurred during install action