Connection Manager Errors

Any errors that the Connection Manager produces are passed back to KClient and written to the system log. These will then be displayed by KClient in a message box. This example is caused by the system administrator creating a /etc/nologin file with the contents:

System locked for software upgrade.
Connection Manager error displayed by KClient

Errors that arise when using the administration functions via a web browser are handled in two ways:

In the latter case the error is reported to the to the system log.

Here is the list of errors that can occur.

Example Error messagePlatformCauseRemedy
Cannot find server program '/usr/local/kcml/kcml'AllThe Connection Manager attempted to execute a copy of KCML that does not existMake sure that the kcml file exists at the specified location in the <kweb_services> section of kconf.xml
Access to '/usr/local/kcml/kcml' not allowedUnixThe file permissions on the kcml executable do not allow you to run the programUse chmod and chown to set the correct permissions on kcml
ERROR: Access denied.
Problem finding service 'Sales'
AllThe KClient Connection specified a service called Sales which does not exist in kconf.xmlCheck spelling of the service name in the KClient connection, or add the service to kconf.xml
ERROR: Access denied.
Problem setting service 'Sales'
AllThe service's environment section tried to load an include file which doesn't existCheck that the file exists or the pathname in kconf.xml is correct.
ERROR: Access denied for client '11.22.33.44'AllA connection was made from a machine with an IP address of 11.22.33.44, but this address was not allowed by the valid clients access control list.Add the 11.22.33.44 address to the valid clients section, or add the pattern 11.22.33.* to allow the subnet.
ERROR: Access denied for user 'fred'AllA user, called fred, attempted to login but was not allowed by the valid users access control list.Add user fred to the valid users access control list.
ERROR: Access denied to service 'Sales' for user 'fred'AllA user, called fred, attempted to login to the Sales service but was not allowed by the the services's private valid users access control list.Add user fred to the valid users access control list for service Sales.
ERROR: Access to service 'Sales' denied for client '11.22.33.44'AllA connection to service Sales was made from a machine with an IP address of 11.22.33.44, but this address was not allowed by the the services's private valid client access control list.Add the address 11.22.33.44 or pattern 11.22.33.* to the valid clients access control list for service Sales.
ERROR: KClient access to service 'Sales' is not allowedAllThe connection property of service Sales has been set to falseSet the <connection> property to true
Cannot access home directoryUnixThe user's home directory does not exist or it has bad file permissionsCheck home directory is spelt correctly in the account properties. Check the directory exists. Change the ownership or permissions of the home directory using chown or chmod.
Access DeniedUnixThe user's home directory doesn't contain a .kcmlLogin fileUse the Look up user name links or create a .kcmlLogin file manually
System locked by /etc/nologinUnixThe root super-user as locked the system with an empty /etc/nologin fileWait until the system has been unlocked
There have been too many unsuccessful login attemptsAIXThe user's account has been disabled because they have consecutively failed to login too many times.Have the system administrator reset the account
Your account has been lockedAIXThe user's account have been disabled by the system administratorHave the system administrator unlock the account
You are not allowed to login at this timeAIXThe account is only allowed to login at certain timesOnly login when you are allowed to
Cannot open PAM configuration file '/etc/pam.d/kcc'. Users may not be able to login on port 790LinuxMissing PAM configuration fileNeed to create a set of authentication rules for PAM
Failed to initialise PAM for service 'kcc' ...AIX 5.3, HPUX 11, Linux, SolarisPAM failed to start up, probably due to a error in its configuration files.Check the syslog for errors from the PAM library.
Check the OTHER rule in /etc/pam.conf, or for Linux /etc/pam.d/other.
Make sure that only the super-user, root, has write access to /etc/pam.conf
Access to /admin is not allowed. WEBADMIN is false|not set.AllAccess to the admininistration functions is disabled because WEBADMIN has not been set to trueSetting WEBADMIN to true in the general section of kconf.xml will allow all users to see the administration functions. Alternatively it can either be set in the admin users or valid users sections so that access to the administration functions is restricted to a trusted set of users. Note that only admin users can make changes; a valid user has read-only access.
Unable to log into hostname. The system is too busy.AIX5, Linux, HPUX 11The -w switch is being used to balance system load, and the server's system load has not dropped below the minLoad value after maxRetry attempts.Increase the minLoad, maxRetry or delay values.
SOAP Error for URL 'Sales/stockInfo': Failed to change to user 'fred'UnixThe stockInfo SOAP service has been setup to execute as user fred, however the Connection Manager was unable to assume this user's identityCheck that the user account is valid, for example use this account to login a KClient session.
SOAP Error for URL 'Sales/stockInfo': Access to service 'Sales' for user 'fred' is not allowed6.20, 6.40: Unix
6.65+: All
The Sales service has a stockInfo SOAP interface whose is executed as user fred, but this user ID is not in the service's valid users access control listChange the SOAP service's user ID to a user that exists in the service's access control list
or, add user fred to the service's access control list
Unknown client connected on '11.22.33.44'AllThe Connection Manager was unable to determine the type of client program that established the connectionCan be caused by failing to configure KClient correctly. Make sure KClient defines the 'Connect to Service' property
Username 'fred' or password incorrect, connected from '11.22.33.44'AllUser ID 'fred' does not exist or the password is incorrect.
Incorrect password database configuration.
Check that a user has the correct username & password.
Can also be caused by incorrect PAM configuration.
Check that the /etc directory is readable by group and everyone, 0755 permissions.
For AIX5.3+, HP-UX11 & Solaris, check that /etc/pam.conf can be read by everyone, write access should only be available to the root super-user, 0644 permissions.
KClient connecting from 11.22.33.44 does not support switching to SSL/TLSUnixThe connection policy requires KClient to switch to SSL, but the client does not have that capabilityUpgrade to KClient 6.90 or 7.0
See Also:

Connection Manager,
Connecting to a service