cancel
Showing results for 
Search instead for 
Did you mean: 

XS Advance Runtime installation failed !!

former_member194780
Active Participant
0 Kudos

Hi , Experts,

I have a query on XSA..

We recently upgraded our system to SP11.. With the launch of XSA in this SP, I decided to install the XSA runtime.. It was a single host installation with "worker" role assigned

After installation, I can see the components - xsuaaserver(active),xsexecagent(active),xscontroller(inactive) in System information (admin cockpit). When I restarted the instance I get the error "FAIL: process hdbxscontroller HDB XS Controller not running"

Will it be because of assigning role to host ?? ..

Can you please advice what can be done for fixing this..

-Avinash

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You should gather the logs specific to the xscontroller process. They might well have more details as to why it is failing to start.  If you can't find the cause easily by looking at that log, then I strongly suggest you open a support ticket.

former_member194780
Active Participant
0 Kudos

Hi Thomas,

I will open a ticket for the same.

Below is the log for xscontroller :

Exception in thread "main" com.sap.xs2rt.controller.configstore.ConfigException: Invalid SAP HANA specification (SYS_XS_RUNTIME:xyz@imdbhdb:30015)

  at com.sap.xs2rt.controller.impl.ControllerConsole.parseHanaParameter(ControllerConsole.java:735)

  at com.sap.xs2rt.controller.impl.ControllerConsole.main(ControllerConsole.java:347)

-Avinash

Answers (1)

Answers (1)

juanpiaggio
Explorer
0 Kudos

I have similar issue, with 1 service on HANA Studio (hdbxscontroller). After a System Copy we have this error:

# XSA Controller Log

# Version: v1.0.13 (built 2016-02-02 13:18:05, codeline REL, SAP SE)

[2016-04-06 07:57:40:926]-[Controller.Admin]-[error]-[.]-[.]: Failed to start controller

com.sap.xs2rt.controller.ControllerExceptions$ControllerStartUpException: Unable to initialize the ConfigStore.

    at com.sap.xs2rt.controller.impl.ControllerImpl.startUp(ControllerImpl.java:778)

    at com.sap.xs2rt.controller.impl.ControllerConsole.main(ControllerConsole.java:628)

Caused by: com.sap.xs2rt.controller.configstore.ConfigException: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.0.v20150309-bf26070): org.eclipse.persistence.exceptions.DatabaseException

Internal Exception: com.sap.db.jdbc.exceptions.jdbc40.SQLInvalidAuthorizationSpecException: [10]: authentication failed

Error Code: 10

    at com.sap.xs2rt.controller.impl.configstore.repository.ConfigStoreRepositoryImpl.initForStartupAccess(ConfigStoreRepositoryImpl.java:83)

    at com.sap.xs2rt.controller.impl.ControllerImpl.startUp(ControllerImpl.java:772)

    ... 1 more

Caused by: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.0.v20150309-bf26070): org.eclipse.persistence.exceptions.DatabaseException

Internal Exception: com.sap.db.jdbc.exceptions.jdbc40.SQLInvalidAuthorizationSpecException: [10]: authentication failed

Error Code: 10

    at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:812)

    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)

    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:305)

    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)

    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:303)

    at com.sap.xs2rt.controller.impl.configstore.repository.ConfigStoreRepositoryImpl.createManager(ConfigStoreRepositoryImpl.java:287)

    at com.sap.xs2rt.controller.impl.configstore.repository.ConfigStoreRepositoryImpl.initForStartupAccess(ConfigStoreRepositoryImpl.java:68)

    ... 2 more

Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.0.v20150309-bf26070): org.eclipse.persistence.exceptions.DatabaseException

Internal Exception: com.sap.db.jdbc.exceptions.jdbc40.SQLInvalidAuthorizationSpecException: [10]: authentication failed

Error Code: 10

    at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:331)

    at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:326)

    at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:138)

    at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)

    at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:204)

    at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:746)

    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:253)

    at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:728)

    ... 8 more

Caused by: com.sap.db.jdbc.exceptions.jdbc40.SQLInvalidAuthorizationSpecException: [10]: authentication failed

    at com.sap.db.jdbc.exceptions.jdbc40.SQLInvalidAuthorizationSpecException.createException(SQLInvalidAuthorizationSpecException.java:40)

    at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.createException(SQLExceptionSapDB.java:301)

    at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.generateDatabaseException(SQLExceptionSapDB.java:185)

    at com.sap.db.jdbc.packet.ReplyPacket.buildExceptionChain(ReplyPacket.java:102)

    at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:1031)

    at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:820)

    at com.sap.db.util.security.AbstractAuthenticationManager.connect(AbstractAuthenticationManager.java:43)

    at com.sap.db.jdbc.ConnectionSapDB.openSession(ConnectionSapDB.java:568)

    at com.sap.db.jdbc.ConnectionSapDB.doConnect(ConnectionSapDB.java:421)

    at com.sap.db.jdbc.ConnectionSapDB.<init>(ConnectionSapDB.java:173)

    at com.sap.db.jdbc.ConnectionSapDBFinalize.<init>(ConnectionSapDBFinalize.java:13)

    at com.sap.db.jdbc.Driver.connect(Driver.java:303)

    at java.sql.DriverManager.getConnection(DriverManager.java:664)

    at java.sql.DriverManager.getConnection(DriverManager.java:208)

    at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:98)

    ... 13 more

former_member194780
Active Participant
0 Kudos

Hi Juan,

I discussed with the SAP Support Team sometime back..

You can either do a Manual uninstall of the XSA component and also uninstall the xsworker role that was added while installing XSA or wait for SP12 which has a complete uninstall for XSA via hdblcm..

-Avinash

juanpiaggio
Explorer
0 Kudos

Thanks Avinash!

Former Member
0 Kudos

Hi Avinash,

Do you happen to know how to do this manual un-installation or undeployment of xs components?

Rahul

former_member194780
Active Participant
0 Kudos

Hi Rahul,

You can do a Manual removal of the XSA Software by following the below steps :

Remove the XSA Software via : chmod -R 777 <XSA inst dir>       rm -rf <XSA inst dir>

<XSA inst dir> will be /sap/usr/HDB/xs/ in your System.

This should be enough to remove the Software and try reinstalling late if neccessary.

-Avinash