Fix Pack 8550

Liberty collective troubleshooting

This article contains a list of common issues that you might encounter.

Nearly all of these issues are related to one of the following:
CLI / Jython / MBean connection using the REST connector
Message:
Error: Connection refused: connect
Cause:

The host and port might be incorrect. Make sure that the host and port are correct for the target server.

The server might not be running. Make sure that the server is running.

Message:
Error: CWWKX0217E: No MBean is currently registered with the 
given ObjectName 'WebSphere:feature=collectiveController,
type=CollectiveRegistration,name=CollectiveRegistration'
Cause:

The MBean might not be available yet. Check the server logs to see if the MBean has reported ready.

There might have been a problem starting the collective repository. Check to see if the collective repository has started.

If the target is a collective controller, verify that the replica set is active. If a majority of the collective controller replicas are not started, this message will be seen. Start the remaining replicas.

The servers configuration might be incomplete. Make sure that the server is properly configured.

Message:
java.net.SocketException: java.net.SocketException: 
java.security.NoSuchAlgorithmException: Error constructing 
implementation (algorithm: Default, provider: SunJSSE, class: 
sun.security.ssl.SSLContextImpl$DefaultSSLContext)
(possibly others...)
Cause:

The truststore and truststore password might be incorrect. Make sure that the truststore path, truststore password, and contents of the truststore are correct.

Message:
Error: CWWKX0215E: There was a problem with the user name or password provided.
The server responded with code 401 and message 'Unauthorized'
Cause:

The username and password might be incorrect. Make sure that the username and password are correct for the target server.

The user might not be granted the Administrator role. Make sure that the user is granted the Administrative role, or choose a different user.

The security configuration for the target server might be incomplete. Make sure that the security configuration is defined and the security service reports as ready (CWWKS0008I).

start / stop commands
Message:
CTGRI0000E Could not establish a connection to the target 
machine with the authorization credentials that were provided.
Cause:
Authentication fails using user name / password:
  • Make sure that the user name and password are correct in the target server's server.xml <hostAuthConfig> element.
  • Update the host authentication configuration using the collective updateHost command.
Authentication fails using ssh keys:
  • Check permissions on:
    • ~/.ssh should be 0700
    • ~/.ssh/authorized_keys should be 0600
  • ~/.ssh and all children must be correct if using SELinux.

    Use restorecon -R to fix the permissions.

Message:
Starting or stopping the servers remotely (using ClusterManager.startCluster or ServerCommands.startServer for example) encounters the following error:
{ExceptionMessage=ConnectException caught while performing stopCluster 
operation on member webp1a.pdl.pok.ibm.com,/P1A/WebSphere_LP/usr,memberA1: 
java.net.ConnectException: CTGRI0001E The application could not establish 
a connection to webp1a.pdl.pok.ibm.com ., Exception=java.net.ConnectException: 
CTGRI0001E The application could not establish a connection to webp1a.pdl.pok.ibm.com .}
Solution:

Confirm that the rpc mechanism (such as SSH) is started and that the configured settings are correct (confirm the host and port).

Message:
Starting or stopping the servers remotely (using ClusterManager.startCluster or ServerCommands.startServer for example) encounters the following error:
{stderr=java: javaCmd 14: serverCmd 32: ./server 873: FSUM7351 not found, stdout=, returnCode=127}
Solution:

The members need to have a server.env file that specifies JAVA_HOME.

Message:
localhost,C:/wlp,member1 stop operation resulted in an Exception: 
ConnectException caught while performing stopCluster operation on member 
localhost,C:/wlp,member1: java.net.ConnectException: CWWKX7204E: 
Cannot connect to host localhost with the credentials provided.
Solution:

Make sure that the cluster member authentication information is set correctly and that all Remote Execution and Access (RXA) requirements are met. Many RXA operations require access to resources that are not generally accessible by standard user accounts. See Requirements for using Remote Execution and Access (RXA) for more information.


Icon that indicates the type of topic Concept topic

Terms and conditions for information centers | Feedback


Timestamp icon Last updated: Wednesday, 22 May 2013
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-mp&topic=cwlp_collective_trouble
File name: cwlp_collective_trouble.html