Oracle® Connect for IMS, VSAM, and Adabas Gateways Installation and Configuration Guide 11g Release 1 (11.1) for IBM z/OS Part Number B32527-01 |
|
|
View PDF |
This section contains the following topics:
Oracle Connect for IMS, VSAM, and Adabas Gateways may require troubleshooting issues that involve multiple technologies, platforms, data sources, applications and networks. This section presents an orderly approach for troubleshooting Oracle Connect for IMS, VSAM, and Adabas Gateways issues. Troubleshooting functions are available in Oracle Studio for IMS, VSAM, and Adabas Gateways, command line utilities, and product logs. In some case you must use command line utilities to troubleshoot a feature because it may not be possible to use Oracle Studio for IMS, VSAM, and Adabas Gateways (especially if there is a problem with communications or installation).
This section describes procedures and utilities that are used to check specific problems. This section includes:
The NAV_UTIL CHECK SERVER utility performs basic network checks to check access to Oracle Connect for IMS, VSAM, and Adabas Gateways servers.
When you run this utility, it performs the following steps:
Connecting to the Oracle Connect for IMS, VSAM, and Adabas Gateways daemon on the specified machine.
Requesting a server instance of the specified workspace. This returns the server location.
Disconnecting from the daemon.
Connecting to the server instance at the determined location.
Disconnecting from the server instance.
By running this utility, you can detect networking and configuration problems and get a better idea of the point where the error occurs.
The complete syntax for this utility is as follows:
$ nav_util check server(<daemon-location>,<workspace-name>[,<username>,<password>])
Where:
daemon-location
: The IP address (or hostname) and port where the daemon listens. For example, corpsrv.acme.com or corpsrv.acme.com:2800
workspace-name
: The name of a workspace to check (the server checked will be a server of this workspace). If omitted, the default NAVIGATOR workspace will be used.
username
and password
: The credentials to be used if access to the server requires authentication.
The NAV_UTIL CHECK DATASOURCE utility performs basic Oracle Connect for IMS, VSAM, and Adabas Gateways data source access checks.
When you run this utility, it performs the following steps:
Connecting to the specified binding
Loading the definition of the specified data source
Loading the driver of the specified data source
Connecting to the specified data source
Disconnecting from the data source
By running this utility, you can detect data source configuration problems and get a better idea of the point where the error occurs.
The complete syntax for this utility is as follows:
$ nav_util check [-b <binding-name>] datasource(<datasource-name>])
Where:
binding-name
: An optional binding name to use. If omitted, the default binding 'NAV' is used.
datasource-name
: The name of the data source to check
You can use logs that are created by Oracle Connect for IMS, VSAM, and Adabas Gateways to find possible problems and troubleshoot them. Oracle Connect for IMS, VSAM, and Adabas Gateways creates various trace logs that trace specific types of information. The trace logs usually are saved in a temporary folder or directory (called temp) in the Oracle root folder. To create the log files, you must activate the log trace. Follow the steps below for activating a log trace.
See also: Log Traces.
In the Oracle Studio for IMS, VSAM, and Adabas Gateways Design perspective Configuration view, expand a machine with the binding you are working with.
Right click the binding and select Edit Binding. The Binding editor opens in the editor section.
At the bottom of the editor, click the Properties tab. The editor displays a list of property categories.
Expand the Debug category. The editor displays a list of trace options.
Set the value to true
for one or more of the trace options.
Note:
For thebinaryXmlLogLevel
log, you set its level. For more information on setting the level for this log, see binaryXmlLogLevel
.The following table describes some of the log traces available and the type of information available in each.
Table 3-1 Available Log Traces
The following table explains some common communications errors and possible solutions for them.
Table 3-2 Client/Server Communication Error Messages
Code | Message and Explanation | Possible Action |
---|---|---|
|
Cannot shutdown a non-local Explanation: The |
Check that a remote machine was not specified in the Check that the port number specified in the |
|
Failed to open the Explanation: The daemon could not open the The |
Check that the daemon has permission to access the |
|
Cannot shutdown Explanation: The shutdown operation failed because the |
Check whether the Check that the daemon is running (another user may have shut down the daemon). Run the following command from a computer that is connected to the network: nav_util check irpcd(hostname[:port]) |
|
Invalid Explanation: The shutdown failed because the |
Terminate the daemon with a system command. |
|
Failed to create a Explanation: The daemon was not able to create the |
Check that the account where the daemon runs has permission to access the |
|
Could not open the Explanation: The daemon was not able to create or write to its log file. |
Check that the account where the daemon runs has permission to generate/write to the log file. Check the path specified for the log file in the daemon configuration. Check that there is no existing log file owned by another user at the specified location. Ensure that the disk device is not full. |
|
Server initialization failed. Explanation: The daemon failed to start its network service. |
Check the processes that are run on the system to see whether another daemon or program is using the port specified in the Check the TCP/IP subsystem on the current machine by trying to ping it or run FTP or telnet to or from it. Check whether the daemon has privileges to use the TCP/IP services on the current machine with the designated port number. |
|
Setting server event handler failed. Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
IRPCD process has been terminated by user request. Explanation: This message is informational only. The daemon successfully shut down. |
No action is required. |
|
Application %s not found. Explanation: The requested workspace does not exist. |
Check that the workspace defined in the client binding is also defined in the daemon configuration on the target server.Use the following command from a PC to check the workspace:
where:
|
|
Invalid IRPCD client context. Explanation: A non-Oracle Connect for IMS, VSAM, and Adabas Gateways program is trying to connect to the daemon. |
Check the processes and Terminate the relevant process with a system command. |
|
Daemon request requires a server login. Explanation: A non-Oracle Connect for IMS, VSAM, and Adabas Gateways server or program was trying to use a daemon service that is reserved for Oracle Connect for IMS, VSAM, and Adabas Gateways servers. |
Check the processes and terminate the relevant process with a system command. |
|
Daemon request requires a client login. Explanation: The requested daemon requires a valid client login, which was not supplied. |
Reissue the command and specify a username and password. Edit the User Profile in Oracle Studio for IMS, VSAM, and Adabas Gateways to specify a valid username and password for the remote machine. |
|
Daemon request requires an administrator login. Explanation: The requested daemon service requires an administrative login. |
Reissue the Edit the User Profile in Oracle Studio for IMS, VSAM, and Adabas Gateways to specify a valid administrator username and password for the remote machine. |
|
Anonymous client logins are not allowed. Explanation: The daemon is configured to require a valid username and password, which were not supplied. |
Reissue the Enable anonymous client access by setting the Edit the User Profile in Oracle Studio for IMS, VSAM, and Adabas Gateways to specify a valid username and password for the remote machine. |
|
Anonymous server logins are not allowed. Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Client has already timed out. Explanation: A server process was started on behalf of a client and the client has timed out before the server completed its startup. |
Increase the |
|
Invalid username/password. Explanation: Invalid username/password supplied when logging on to the daemon. On Windows platforms, the daemon is not registered correctly. |
Reissue the See the daemon log file for the reason that the username/password were not accepted. Edit the User Profile in Oracle Studio for IMS, VSAM, and Adabas Gateways to specify a valid username and password for the remote machine. Make sure the daemon is started from an account that is allowed to check for system usernames and passwords. On some platforms, only a privileged account can check for authentication. |
|
Client connection limit reached. Try later. Explanation: The maximum number of server processes for the workspace has been reached, and none of the active servers could accept the client connection. |
On z/OS platforms, increase the number of subtasks per address space in the On UNIX, increase the value of the Try running the command later. |
|
Failed to start server process. Explanation: The Oracle Connect for IMS, VSAM, and Adabas Gateways daemon failed to start a server process or the started server failed upon starting up. |
See the daemon and server log files for the reason the server did not start. For example, if you receive a message similar to the following:
If you use impersonation, check the user profile on the client. Also see |
|
Unexpected server state. Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Active daemon clients exist. Shutdown canceled. Explanation: One or more clients are still connected to the daemon. |
Wait until all the clients log off the daemon and then retry the shutdown operation. Force a shutdown by using the |
|
Request is not granted because someone else is locking it. Explanation: A request to lock a resource managed by the daemon was denied because another user has locked the resource. |
Wait for the other user to release the resource. |
|
Lock %s not found. Explanation: A request to free a resource was denied because the caller did not lock that resource. For example, another user shut down the daemon that you are working with. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Unexpected error in %s. Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Cannot update configuration without |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Need to lock the application first. Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Cannot set configuration of a deleted application. Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Failed in looking up host name ( Explanation: Cannot connect to the remote machine. |
Check that the machine name in the binding is correct. Check that a domain name server (DNS) is available to look up the host name. Check the TCP/IP subsystem on the machine by trying to ping it or run FTP or telnet to or from it. |
|
Required variable %s not found Explanation: An environment variable required by the Oracle Connect for IMS, VSAM, and Adabas Gateways server was not defined when the server started up. |
Check whether the startup script makes any changes to the environment variables used by Oracle Connect for IMS, VSAM, and Adabas Gateways. Check whether the system-defined environment size is sufficiently large for Oracle Connect for IMS, VSAM, and Adabas Gateways. |
|
Server failed to connect and register with the daemon. Explanation: An Oracle Connect for IMS, VSAM, and Adabas Gateways server started by the daemon was not able to connect or register back with the daemon. |
Try to connect again. Increase the client's Check that the startup script for the workspace launches the correct version of Oracle Connect for IMS, VSAM, and Adabas Gatewayst. On z/OS platforms, increase the number of subtasks per address space in the On UNIX, increase the value of the |
|
Call made to unregistered module %d. Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Failed to create a socket. Explanation: An error occurred within the TCP/IP subsystem. |
Check whether you have sufficient system privileges. Check the TCP/IP subsystem on the machine by trying to ping it or run FTP or telnet to or from it. |
|
Failed to set socket option %s Explanation: An error occurred within the TCP/IP subsystem. |
Check whether you have sufficient system privileges. Check the TCP/IP subsystem on the machine by trying to ping it or run FTP or telnet to or from it. |
|
Failed to bind server to port %s Explanation: An Oracle Connect for IMS, VSAM, and Adabas Gateways server or daemon was not able to bind to the specified port. |
Check whether another program is holding the port that was specified. Check whether you have sufficient system privileges. |
|
Cannot create TCP service for %s Explanation: An error occurred within the TCP/IP subsystem |
Check the TCP/IP subsystem on the machine by trying to ping it or run FTP or telnet to or from it. |
|
Unable to register (%s, %d, tcp) Explanation: This error may happen when a portmapper is used (host:a) but the portmapper is not available. |
Enable the portmapper. Avoid using the portmapper by not using Ò:aÓ when starting the daemon. |
|
Server thread failed to start Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Stopping the %s server - no client Explanation: A server that was started by the Oracle Connect for IMS, VSAM, and Adabas Gateways daemon to service a client did not get a client connection request within one minute. The server terminates. |
In most cases, the client was terminated by a user request, so no specific action is required. If no client can connect to the server, it may be that the server has multiple network cards and the Oracle Connect for IMS, VSAM, and Adabas Gateways daemon is not aware of this. In this case, start the daemon with an IP address. |
|
Unexpected event - a termination signal intercepted Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Modified transport, context unknown/lost Explanation – Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Call made to non-existing procedure %d Explanation: This error typically is caused by a client of a newer version that is calling an old server. |
Verify that the client and server are using the same version of Oracle Connect for IMS, VSAM, and Adabas Gateways. |
|
Corrupted arguments passed to procedure Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Unable to free arguments for %s() of %s Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Cannot register a non-module RPC %s Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
An IRPCD program is required Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
An IRPCD super-server is required for module events Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
An invalid super-server module ID was specified, %d Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
out of memory Explanation: Not enough memory to service a client request. |
Increase the process memory quota and/or add memory to the system. |
|
Failed to register RPC procedure module %s Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Failed to register an invalid RPC procedure number %x Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Cannot re-register RPC procedure number %x Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Remote call to %s failed; %s Explanation: Remote call to API failed. |
Check the daemon log file. If necessary, change the level of detail that is written to the log file to help resolve the problem. Change the level of detail in the daemon configuration and run the |
|
Failed to connect to host %s;%s Explanation: The remote host is not correctly defined to Oracle Connect for IMS, VSAM, and Adabas Gateways or is not working. |
Check that the remote machine definition in the binding configuration. Check the daemon is up on the remote machine ( Check the network connection by trying to ping the host machine or run FTP or telnet to or from it. |
|
Failed to create a service thread Explanation: The server failed to create a thread to service a client request. |
A system or process quota limit has been exceeded. Either increase the quota or lower the |
|
%s out of memory Explanation: Not enough memory was available to Oracle Connect for IMS, VSAM, and Adabas Gateways to complete a requested operation. |
Terminate unnecessary processes running on the server. Add more memory to the system. Allow the process to use more memory. Limit the number of processes that the daemon can start. If the demand for servers exceeds the number of available servers, clients get a message telling them that the maximum number of servers were reached and asking them to try again later. |
|
Communication error with the server%s Explanation: Connection to the Oracle Connect for IMS, VSAM, and Adabas Gateways daemon or server failed, or an established session with a server has failed. |
Check that the remote machine definition in the binding configuration. Check the daemon is up on the remote machine ( In case of a network problem, check the network connection by trying to ping the host machine or run FTP or telnet to or from it. |
|
unexpected error occurred in server function %s Explanation: One of the server functions has exited with an exception, such as an Access Violation (a GPE) or an Invalid Instruction). |
If the server contains user code, such as an Oracle Connect for IMS, VSAM, and Adabas Gateways procedure, a user-defined data type, or a user-written provider, verify that this code is not causing the exception. Otherwise, contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
fail to login daemon Explanation: The daemon is not running on the server machine. |
Use the following command from a PC to check whether a daemon is running on the server:
Have the system administrator re-install Oracle Connect for IMS, VSAM, and Adabas Gateways on the server. |
|
Fail to get server Explanation: The Oracle Connect for IMS, VSAM, and Adabas Gateways daemon (IRPCD) on the server machine could not start a server process to serve the client. A separate message provides more detail on why the server process could not start. There are many possible causes of this error. If the cause is not clear from the related message, see the Oracle Connect for IMS, VSAM, and Adabas Gateways daemon log file on the server |
The resolution to this error is highly dependent on the particular cause. The following are some typical causes and resolutions:
|
|
Failed to connect to server Explanation: The server assigned to the client did not accept the client connection. A separate message provides more detail about why the server process did not accept the connection. |
See the daemon and server log files for the reason that the server was not available to accept its assigned client. If a multi-threaded server is used and many clients are trying to connect to it at the same time, some may get a Connection Refused error if the TCP/IP request queue fills up. |
|
Disconnecting from server Explanation: A network failure, a server machine failure, or a server program failure caused the connection to abort. The currently active transaction is aborted as well. |
Oracle Connect for IMS, VSAM, and Adabas Gateways will automatically try to re-establish a connection with a server when it receives the next SQL command for the server. Once the network or machine failure is corrected, the connection to the daemon is re-established automatically. |
|
No conversion between server codepage %s and client codepage %s Explanation: Client and server machines use different codepages. |
Using the codepage environment variable in the Oracle Connect for IMS, VSAM, and Adabas Gateways environment settings, synchronize the codepages used on the server and client. |
|
Too many codepages in use, cannot load any additional codepages Explanation: Multiple codepages are specified for the server. |
Delete one or more of the codepages specified in the codepage environment variable of the server environment settings. |
|
Versions of Oracle Connect for IMS, VSAM, and Adabas Gateways client (%d) and server (%d) do not match Explanation: A new version of Oracle Connect for IMS, VSAM, and Adabas Gateways was installed on either the client or server without using the upgrade installation procedure. |
Reinstall the new version of Oracle Connect for IMS, VSAM, and Adabas Gateways. |
|
There is no codepage defined for the server Explanation: The codepage environment variable is not specified in the environment settings. |
Specify the codepage environment variable in the Oracle Connect for IMS, VSAM, and Adabas Gateways environment settings. |
|
Server failed to send reply to the client Explanation: Server terminated unexpectedly. |
Unless the client was intentionally stopped, for example, using Control-C, contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Connection to server %s was disconnected. Cursors state was lost. Explanation: Either a network failure, a server machine failure or a server program failure caused the connection to abort. The currently active transaction is aborted as well. |
Normally, Oracle Connect for IMS, VSAM, and Adabas Gateways automatically tries to create a new session with the server upon the next attempt to access the server. If the network and server are accessible, the next operation should succeed, otherwise, the network and/or server machine should be fixed before the connection is resumed. In case of a server crash that is not related to a callable user code, contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
Reconnect to server %s Explanation: This is an informational message only. The client has reestablished its connection with the server. |
No action required. |
|
The parameters passed to the admin server are invalid: %s Explanation: Internal error. |
Contact Oracle Support Services. Contact local support at https://metalink.oracle.com/ |
|
No authorization to perform the requested operation (%s) Explanation: The user or account has insufficient privileges. |
Grant administrative privileges to the user or account with the Administrator parameter of the Security or Workspace sections in the daemon configuration. |
|
Failed to register daemon in the TCP/IP service table Explanation: The registration of irpcd daemon in the TCP/IP services file has failed. |
Check that the account running the daemon has the permissions to update the TCP/IP services file. |
|
Licensed number of concurrent users has been exceeded, try again later Explanation: The number of active Oracle Connect for IMS, VSAM, and Adabas Gateways sessions that access local data sources exceeds the number licensed. |
Purchase additional concurrent user licenses. |
|
Failed in lock/release operation Explanation: A lock or release operation of a global resource has failed. A separate message provides more details. |
The separate message indicates the cause of this error. There are various causes for this error, including lack of sufficient privileges or a system resource shortage. |