Troubleshooting Guide

Prerequisite or related product issues

This section details errors that occur with products that are installed and configured with the Data Warehouse Center.

A DataJoiner Version 2 CREATE SERVER MAPPING statement for an Oracle data source fails

DataJoiner Version 2 CREATE SERVER MAPPING SQL statements fail on a workstation that has the Data Warehouse Center installed.

You might receive the message DB2SYSC.EXE -- Ordinal not found or one that implies that the SERVER MAPPING failed because it could not load the SQL*NET data access module.

Cause

The CREATE SERVER MAPPING statement fails because DataJoiner accesses the ORA73.DLL file that is provided with the Data Warehouse Center instead of the ORA73.DLL file in the ORANT\BIN directory. This condition occurs because DataJoiner looks for the Oracle DLL through the Path system variable. The system path is updated during a Data Warehouse Center installation so that it includes a directory containing a ORA73.DLL file that is provided by the Data Warehouse Center.

Action

Update the Path system variable. Ensure that the directory that contains the Oracle ORA73.DLL file (in ORANT\BIN) is specified first in the path (before the VWSWIN\IWH\ODBC32 directory).

Unable to connect to a DB2 database from a Windows NT or Windows 2000 agent site

You are unable to access a DB2 source database, target database, or warehouse control database from a Windows NT or Windows 2000 agent site.

Cause

There are several reasons why you might have this problem:

Action

Try the following solutions:

Cannot connect to an ODBC data source on UNIX

Cause

If an ODBC connection type is selected, ODBC uses the data source name and the required attributes in the .odbc.ini file. This control file must reside in the home directory of the user ID that is used to start the warehouse agent process.

Action

Verify that the .odbc.ini file is in the correct directory. You can find the user ID that is used to start the warehouse agent process on the Parameters page of the Agent Site notebook.

Also verify that the data source is defined correctly in the .odbc.ini file.

Unable to use TCP/IP to connect to AS/400 from Windows NT or Windows 2000

You are trying to use TCP/IP to connect to the AS/400 from a DB2 Connect for Windows NT or Windows 2000 workstation.

Cause

This configuration is not supported.

Action

Try connecting with TCP/IP from a client workstation to the DB2 Connect for Windows NT or Windows 2000 workstation, and then to the host using APPC. For more information, run the following trace on the DB2 Connect for Windows NT or Windows 2000 workstation:

  1. At a command prompt, enter:
    db2trc on -1 8000000
    
  2. Reproduce the problem.
  3. At a command prompt, enter:
    db2trc dmp db2.trc
    
  4. To turn off the trace, at a command prompt, enter:
    db2trc off
    

Connecting to a Sybase source fails

You are trying to connect to a Sybase warehouse source (to import table definitions or run a step), and receive an error indicating that the Sybase Open Client Context failed.

Cause

This error can occur because of problems with the environment in which the warehouse agent runs.

Action

Verify that the warehouse agent and the Sybase client do not have conflicting language environment settings. Also, if you are using a Windows NT or Windows 2000 agent, run the warehouse agent daemon or warehouse server (if you are using the default agent) as a user process instead of a system process.

To verify and change the language environment settings:

  1. Click Start --> Settings --> Control Panel.
  2. Double-click the System icon.
  3. Click the Environment tab.
  4. Update the system environment settings by removing (or renaming) the LANG system environment variable.

    For the AIX and Solaris Operating Environment agents, verify that the values specified in the LANG and LC_ALL environment variables are defined in all applicable sections of the locale.dat file (for example, [SUN] and [SUN_SRV4]). Make sure that the locale=xx_xxx entry is before the locale=C,.... entry in this file.

    You can find the environment variables in /usr/lpp/db2_07_01/bin/IWH.environment or /opt/IBMdb2/V7.1/bin/IWH.environment.

  5. Verify that the SYBASE system environment variable points to the correct directory.
  6. Click OK.

To run a Windows NT warehouse agent daemon or the warehouse server as a user process:

  1. Click Start --> Settings --> Control Panel.
  2. Double-click the Services icon.

    The Services window opens.

  3. Select the warehouse agent daemon or warehouse server.
  4. Click Startup.

    The Service window opens.

  5. Click This Account in the Log On As area.
  6. Type a valid user ID in the This Account field.
  7. Type the password in the Password and Confirm Password fields.
  8. Click OK.

    The Service window closes.

  9. In the Services window, click Close.
  10. Restart the workstation that runs the warehouse agent daemon or warehouse server.

To run a Windows 2000 warehouse agent daemon or the warehouse server as a user process:

  1. Click Start --> Settings --> Control Panel --> Administrative Tools --> Services .

    The Services window opens.

  2. Right-click the warehouse agent daemon or warehouse server and click Properties.
  3. Click the Log on tab.
  4. Select a Windows 2000 user on behalf of which the service should run.
  5. Click OK.
  6. In the Services window, click Close.
  7. Restart the workstation that runs the warehouse agent daemon or warehouse server.

FTP log displays "NAMEFMT not a valid command"

Cause

This message is displayed if the FTP server system does not support the NAMEFMT command. The NAMEFMT command is an AS/400-specific FTP subcommand.

Action

It is normal for this message to be displayed. You can ignore it.

The warehouse server or warehouse agent is unresponsive when using ODBC drivers that were purchased separately

You are using ODBC drivers that you purchased separately from the Data Warehouse Center, and the warehouse server or warehouse agent is unresponsive.

Cause

Many times, ODBC drivers other than those provided with the Data Warehouse Center produce an informational, warning, or error message when a user or application connects to one of its sources. Because the Data Warehouse Center runs as a background system process, no message is displayed. However, the ODBC driver is waiting for a user response to the message.

Action

If you are experiencing these symptoms when using the Data Warehouse Center, use the ODBCTEST tool to test the connection. Connect to the ODBC source by entering the following command on a command line:

ODBCTEST <system dsn name> <odbc user ID> <password>

where <odbc user ID> is the ODBC user ID to use to connect to the database and <password> is the password for the ODBC user ID.

The ODBCTEST tool writes messages to the command window. If any ODBC-related messages appear, address the situation as described in the ODBC message, or use the ODBC drivers that come with the Data Warehouse Center.


[ Top of Page | Previous Page | Next Page ]