on 09-06-2016 11:18 AM
Hello,
for several systems we get the following error in the log of license-management at Solman 7.1 SP12:
"Licensing service is not accessible from SMD agent on system XYZ"
When the extractor-job is running first we get the message:
"License data of system XYZ was handed over to the Extractor Framework."
So it looks like license can be read from Solman, but it can't distribute a new one.
I searched in Google and Marketplace but doesn't found eánything about it.
Any suggestions ?
Hi all...
now the things are working.
We rerun the user-creation of solman_setup for the relevant systems,
set a new password on the system directly and now it works...
Thanks to all for the support...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We tried now on a different system, but no luck.
Still the License-service gets access denied.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After checking the agent-logs of the java-instances we see that the agent can't connect via P4-Connection.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi manish,
thank you for that note.
We checked the credentials and they are correct.
In the agent-logs we get the error 'access denied' for the P4-Connection.
Here are the agent-logs:
----------------------------
Time 2016 09 06 03:09:01:236
Severity Error
Location SMDloggerAgentApp
Text P4 connection error to SAP system [XXX/XX]
[EXCEPTION]
com.sap.engine.services.jndi.persistent.exceptions.NoPermissionException: Exception during getInitialContext operation. Wrong security principle/credentials. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Error during authentication. For more information see the remote server traces.]
at com.sap.engine.services.jndi.InitialContextFactoryImpl.handleUserProblem(InitialContextFactoryImpl.java:512)
at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:366)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at com.sap.smd.agent.plugin.connectors.p4.P4ConnectionService.establishP4Connection(P4ConnectionService.java:86)
at com.sap.smd.agent.plugin.connectors.p4.P4ConnectionService.getP4Connection(P4ConnectionService.java:66)
at com.sap.smd.agent.plugin.connectors.p4.P4ConnectionService.getP4Connection(P4ConnectionService.java:44)
at com.sap.agent.application.globallicenseaudit.LicenseManagement700.getJndiContext(LicenseManagement700.java:250)
at com.sap.agent.application.globallicenseaudit.LicenseManagement700.getLicensingService(LicenseManagement700.java:403)
at com.sap.agent.application.globallicenseaudit.LicenseManagement700.installLicenses(LicenseManagement700.java:120)
at com.sap.agent.application.globallicenseaudit.LicenseController.installLicenses(LicenseController.java:45)
at com.sap.agent.application.globallicenseaudit.LicenseManagement.installLicenses(LicenseManagement.java:123)
at com.sap.agent.application.globallicenseaudit.LicenseManagementp4_Skel.dispatch(LicenseManagementp4_Skel.java:122)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:337)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:201)
at com.sap.engine.services.rmi_p4.DispatchImpl.run(DispatchImpl.java:728)
at java.lang.Thread.run(Thread.java:763)
Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Error during authentication. For more information see the remote server traces.
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:132)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:285)
at com.sap.engine.services.security.remoteimpl.login.RemoteLoginContextHelperImpl.login(RemoteLoginContextHelperImpl.java:224)
at com.sap.engine.services.security.remoteimpl.login.RemoteLoginContextHelperImplp4_Skel.dispatch(RemoteLoginContextHelperImplp4_Skel.java:64)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:482)
at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:81)
at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:72)
at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:43)
at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:1055)
at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:59)
at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:55)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
----------------------------------
Time 2016 09 06 03:09:01:238
Severity Error
Location SMDloggerAgentApp
Text License Management - Unexpected error during service initialization
[EXCEPTION]
com.sap.smdagent.plugins.connectors.p4.exceptions.P4AuthorizationException: Access is denied to SAP System sid [XXX/XX]: check the connection credentials.More details about the error in agent 'xxxxx' log file (SMDAgentApplication.X.log).; nested exception is:
at com.sap.smd.agent.plugin.connectors.p4.P4ConnectionService.prepareP4AcessDeniedException(P4ConnectionService.java:171)
at com.sap.smd.agent.plugin.connectors.p4.P4ConnectionService.establishP4Connection(P4ConnectionService.java:105)
at com.sap.smd.agent.plugin.connectors.p4.P4ConnectionService.getP4Connection(P4ConnectionService.java:66)
at com.sap.smd.agent.plugin.connectors.p4.P4ConnectionService.getP4Connection(P4ConnectionService.java:44)
at com.sap.agent.application.globallicenseaudit.LicenseManagement700.getJndiContext(LicenseManagement700.java:250)
at com.sap.agent.application.globallicenseaudit.LicenseManagement700.getLicensingService(LicenseManagement700.java:403)
at com.sap.agent.application.globallicenseaudit.LicenseManagement700.installLicenses(LicenseManagement700.java:120)
at com.sap.agent.application.globallicenseaudit.LicenseController.installLicenses(LicenseController.java:45)
at com.sap.agent.application.globallicenseaudit.LicenseManagement.installLicenses(LicenseManagement.java:123)
at com.sap.agent.application.globallicenseaudit.LicenseManagementp4_Skel.dispatch(LicenseManagementp4_Skel.java:122)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:337)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:201)
at com.sap.engine.services.rmi_p4.DispatchImpl.run(DispatchImpl.java:728)
at java.lang.Thread.run(Thread.java:763)
Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Error during authentication. For more information see the remote server traces.
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:132)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:285)
at com.sap.engine.services.security.remoteimpl.login.RemoteLoginContextHelperImpl.login(RemoteLoginContextHelperImpl.java:224)
at com.sap.engine.services.security.remoteimpl.login.RemoteLoginContextHelperImplp4_Skel.dispatch(RemoteLoginContextHelperImplp4_Skel.java:64)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:482)
at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:81)
at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:72)
at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:43)
at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:1055)
at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:59)
at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:55)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
----------------------------------
Time 2016 09 06 03:09:01:239
Severity Error
Location SMDloggerAgentApp
Text Operation Failed
[EXCEPTION]
com.sap.agent.application.globallicenseaudit.LicenseException: License Management - Failed to get access to the Licensing Service - System: XXX - Root Cause: while trying to invoke the method javax.naming.Context.lookup(java.lang.String) of a null object loaded from local variable 'context'
at com.sap.agent.application.globallicenseaudit.LicenseManagement700.getLicensingService(LicenseManagement700.java:424)
at com.sap.agent.application.globallicenseaudit.LicenseManagement700.installLicenses(LicenseManagement700.java:120)
at com.sap.agent.application.globallicenseaudit.LicenseController.installLicenses(LicenseController.java:45)
at com.sap.agent.application.globallicenseaudit.LicenseManagement.installLicenses(LicenseManagement.java:123)
at com.sap.agent.application.globallicenseaudit.LicenseManagementp4_Skel.dispatch(LicenseManagementp4_Skel.java:122)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:337)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:201)
at com.sap.engine.services.rmi_p4.DispatchImpl.run(DispatchImpl.java:728)
at java.lang.Thread.run(Thread.java:763)
Caused by: java.lang.NullPointerException: while trying to invoke the method javax.naming.Context.lookup(java.lang.String) of a null object loaded from local variable 'context'
at com.sap.agent.application.globallicenseaudit.LicenseManagement700.getServerNodeIds(LicenseManagement700.java:263)
at com.sap.agent.application.globallicenseaudit.LicenseManagement700.getServerNodeId(LicenseManagement700.java:430)
at com.sap.agent.application.globallicenseaudit.LicenseManagement700.getLicensingService(LicenseManagement700.java:404)
... 8 more
----------------------------------
Time 2016 09 06 03:09:01:240
Severity Error
Location SMDloggerAgentApp
Text License Management - Failed to distribute Licenses to System: XXX - The targeted system is stopped - exceptionId: 86a9d820603ca2920862e156fd0a88b8
------------------------------------------------------------------
Now we have a strange result.
As described the user SM_COLL_XXX has already the role administrator.
Now, we put the user in the GROUP administrators and the license-distribution works.
We will check that on other systems and i will post the result here...
Don't know where the difference is between the role and the group....
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.