cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot authenticate Agent in SCC 3.3

Former Member
0 Kudos

Hi gurus,

I have installed SCC 3.3 in the same host (running Windows Server 2008 R2 x64) than an ASE 16.0 that I intend to manage.

Everything ran fine except for the Agent authentication.

I am able to register the Agent running (port 9999), however when I try to authenticate it I get the following exception:

User 'sccadmin' failed to authenticate with server 'XXX' agent.

The specified ASE Agent Plug-in is not available.

The user and password are correct (other wise the message "Authentication failed. Please check username and password."). Installation did not prompt nor create user uafadmin.

I'm clueless about which plug-in is missing.

ASE server was installed with default options (agent option checked):

The authentication error appear both in agent.log:

2015-03-24 21:51:39,841 [ERROR] [scc-ui-15] com.sybase.ua.plugins.asemap.mo.ASEAgentMO.authenticateAgent(181) - User sccadmin failed to authenticate with agent on host hostname port 9999

And in ASEMAP.log:

2015-03-24 21:51:39,841 [ERROR] [scc-ui-15] com.sybase.ua.plugins.asemap.mo.ASEAgentMO.authenticateAgent(181) - User sccadmin failed to authenticate with agent on host hostname port 9999

But it does not add any further details to troubleshoot the problem.

Has anyone faced this problem before?

Any help would be appreciated.

Thanks in advance.

Best regards,

José

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hello Jose,

Can you please try this? See the above image.

When register
ASE, pls make sure the host name is same

as the host name of interfaces/sql.ini.

If the host
name in interfaces is

hostname.xxx.xxx.xxx, you should input hostname.xxx.xxx.xxx in the red

rectangle.

If you input
hostname in the red rectangle, you will

get the error “User 'sccadmin' failed to authenticate with server

'ASE_name' agent.The specified ASE Agent Plug-in is not available. " Please see the attached screenshot and see if it works.

Please let me know if that resolves your problem.

Thank you.

Cheers,

Gek

former_member187136
Contributor
0 Kudos

Enrique,

I found this from infocenter, may be this will help you, I am not sure

============

Login Invalid in Sybase Control Center

Problem: Logging in to Sybase Control Center generates an Invalid Login message.

Solution:
  • Verify Sybase Control Center session validity – ensure that the current Sybase Control Center session is active. If the session is frozen or expired, refresh the page or close the browser and try again.
  • Verify authentication configuration – ensure that the Sybase Control Center authentication provider configuration is correct, and points to the correct server. See Enabling Authentication and RBAC for Administration Logins in the Security guide.
  • Verify LDAP consistency – if you are using LDAP security – ensure that the LDAP configuration in Sybase Control Center CSI configuration is correct and matches with the server-side LDAP configuration in the 'admin' security provider.
    • For Sybase Control Center authentication:<UnwiredPlatform_InstallDir>\SCC-XX\conf\csi.properties, and configuration should point to the correct LDAP host and port with appropriate properties.
  • Check <UnwiredPlatform_InstallDir>\SCC_XX\log\agent.log for any issues with starting various services.
  • If all services are running, check the <UnwiredPlatform_InstallDir>\SCC_XX\log\agent.log for an error message containing text similar to the following:Failed to authenticate user 'supAdmin' (Failed to connect to service:jmx:rmi:///jndi/rmi://eas3w03.sybase.com:9999/agent, probably because the agent is protected and requires credentials.Security Service Error. Agent service exception.)
    • Ensure that the Sybase Control Center authentication provider configuration is correct, and points to the correct server. See Enabling Authentication and RBAC for Administration Loginsin the Security guide.

===================

Regards

Kiran K Adharapuram

Former Member
0 Kudos

Hello,

Thanks for you answer, but I have checked these points and none helps. There are indeed entries in the logs an I posted them in the first post but there are no lines afterwards which can help to identify the root cause. The user and password are OK since providing wrong user and password gives a completely different message.

I'm lost at the plug-in message. I don't even know which component is issuing it since it does not appear in the agent nor in the plugin log.

Best regards,

José

former_member182259
Contributor
0 Kudos

Stupid question, but usually when I get this message, it is because the agent isn't running - this is especially true if running SCC server on a different host.    I think you have ruled out the incorrect password - but if not totally sure, you can use passencrypt -csi (in SCC bin dir) and give a new password and cut and paste value into SCC csi_conf.xml file in config directory (I have had to do that when it was corrupted).   If running SCC locally, this is more likely the issue - password in csi_conf.xml is corrupt and you need to reset it with passencrypt -csi.

Former Member
0 Kudos

Thankss for your answer, Jeff.

Agent is running:

scc-console> status

Agent Home:     E:\sybase\XXX\SCC-3_3

Connection URL: service:jmx:rmi:///jndi/rmi://ESSSC02:9999/agent

Status:         RUNNING

----- Services -----

Service Id                     Service Name                               Is Running

----------                     ------------                               ----------

ASAInstanceManagerService      ASAInstanceManagerService                  true

Agent                          Agent Service                              true

AlertService                   Alert Service                              true

BootstrapService               BootstrapService                           true

CollectionService              Collections Service                        true

ConfigService                  Configuration Service                      true

DeploymentService              Deployment Service                         true

EmbeddedHttpService            Embedded Web Container Service             true

EnvironmentDiscoveryService    Environment Service                        true

FileTransferService            File Transfer Service                      true

MessagingService               Messaging Service                          true

PluginRegisterService          Plugin Registration Service                true

RMIService                     RMI Service                                true

RemoteShellService             Remote Shell Service                       true

RepositoryService              RepositoryService                          true

SccService                     SCC Service                                true

SchedulerService               Scheduler Service                          true

SecurityService                Security Service                           true

SelfDiscoveryService           Discovery Service                          true

ServiceRegistrationService     Service Registration Service               true

SessionService                 Session Service                            true

SnmpService                    SNMP Service                               true

SybaseHomeService              Sybase Home Service                        true

TaskExecutionService           TaskExecution Service                      true

TdsService                     TDS Service                                true

----- Plugins -----

Plugin ID                      Plugin Name                                Version      Is Loaded

---------                      -----------                                -------      ---------

com.sybase.ase.snmp            ASE SNMP Agent Plugin                      2.0.0        true

com.sybase.ase                 ASE Agent Plugin                           16.0.0       true

com.sybase.ua.plugins.asemap   ASE Management Agent Plugin                3.3.0        true

com.sybase.ua.plugins.sccmap   SCC Management Agent Plugin                3.3.0        true

I have reset the password withotut speciald characters to discard a password parsing problem and have tryied several combinations (lowercase, uppercase, with and without numbers...) and all passwords worked but the error persists:

User 'sccadmin' failed to authenticate with server 'XXX' agent.

The specified ASE Agent Plug-in is not available.

Any ideas.

Thanks in advance.

Best regards,

José

former_member187136
Contributor
0 Kudos

Hello Jose,

Jeff solution didn't work out ? 😞

Regards

Kiran K Adharapuram

Former Member
0 Kudos

Hello Kiran,

No it didn't, it is good to know that password corruption can even happen and how to solve it, but it didn't fix the problem..

Regards,

José