Last Update: 12 January 2012
Product: StarSQL
Version: All
Article ID: SQV00SU002
Before you report a problem to StarQuest Customer Support, review the StarQuest Customer Support knowledge base because it may have the answer you need. There are many technical documents that address common problems and provide helpful suggestions and sample code.
Before contacting StarQuest Customer Support, collect as much information as you can about the problem. By sending in a complete problem description, you can help expedite finding a solution to your problem.
This article describes how to find the information you need to report a StarSQL ODBC Driver for UNIX problem and a few additional steps that you can do to help the Customer Support staff better serve your requests.
To find the StarSQL for UNIX driver version, change to the lib directory in the /starsql or /starsql64 directory (e.g., /opt/starsql/lib) and run one of the comamnd below.
strings - libSWODBC.so | grep "^5\."
On HP-UX run the command to display the exact version:
strings - libSWODBC.sl | grep "^5\."
On AIX run the command to display the exact version:
strings - libSWODBC.a | grep "^I5\."
If you have a working connection to the database, you can also run the starping, simpleconn, or simpleconn.odbc sample application to display the driver version in the output.
For user data sources: The .odbc.ini in the user's home directory contains the data source configuration.
For system data sources: Run odbcinst -j to determine the location of the odbc.ini with the system data sources.
The environment configuration information will help us to understand how StarSQL is used in your environment. The configuration is divided into three layers: client, network, and host.
- Operating system (e.g., SUSE Linux Enterprise 10, Solaris 10).
- The application and version that you are using with StarSQL for UNIX (e.g., Informatica v. 7). If it is a custom application, specify what tools were used to build it (e.g., Perl, PHP). If this is a Web application, note the Web server type and version (e.g., Apache 2.0).
- Whether the application is 32-bit or 64-bit.
- The environment variables for the StarSQL user (e.g., $PATH, $LD_LIBRARY_PATH, etc.).
- A list of shared libraries obtained by running the UNIX ldd (or equivalent) command.
- DB2 for OS/390 and z/OS v8, v9
- DB2 Server for VSE & VM (formerly known as SQL/DS) v7
- i5/OS V5R4, V6R1, V7R1
- DB2 Universal Database for Linux, UNIX and Windows v8, v9 (include fix pack level)
When you describe the problem, keep in mind the following questions:
Trace data can greatly expedite the problem resolution process. There are two types of traces that can be collected, ODBC and DRDA. However, the ODBC trace can only be captured if the application uses an ODBC driver manager such as unixODBC or the DataDirect driver manager. ODBC and DRDA tracing can be enabled at the same time, and we request that you provide both types of traces whenever possible.
- For DataDirect, in the [ODBC] stanza of .odbc.ini, set Trace = 1, and set TraceFile & TraceDLL to appropriate values. For example:
[ODBC]
Trace = 1
TraceFile = /tmp/sql.log
TraceDll = /opt/odbc/lib/odbctrac.soIn both examples, a trace file will be created in /tmp/sql.log. Be sure to turn off the trace feature when it is no longer needed by setting the Trace value to 0.
$ trcstart -on /tmp/mytrace.sqd
After collecting the trace, turn off tracing:
$ trcstart -off
If the application or application server generates its own log files or trace data, please include those in the problem report.
If a licensing issue is involved, please collect the following information:
[Global]
ServerLogLevel=FFFFFFFF
ClientLogLevel=FFFFFFFF
JournalLevel=3or enter
# cd /opt/starlicense
(or /usr/lpp/starlicense for AIX, /usr/share/starlicense for Linux, etc.)
# ./starlic-admin server-loglevel-set FFFFFFFF
# ./starlic-admin client-loglevel-set FFFFFFFF
# ./starlic-admin server-journallevel-set 3
A log level of FFFFFFFF turns on all logging. The log files are created in /tmp with the filename format starliccli.<processID>.log for the client and starlic.log for the server. Refer to the StarLicense Server for UNIX User's Guide for more information.
JournalLevel 3 captures both server and client statistics. The journal is created with a filename of YYYY-MM-DD.jrn and stored in the /var/tmp directory. Refer to the StarLicense Documentation Addendum for details about the journal logs.
To open a problem report with StarQuest Customer Support, send an email to contact@starquest.com that includes the following information:
The information in technical documents comes without any warranty or applicability for a specific purpose. The author(s) or distributor(s) will not accept responsibility for any damage incurred directly or indirectly through use of the information contained in these documents. The instructions may need to be modified to be appropriate for the hardware and software that has been installed and configured within a particular organization. The information in technical documents should be considered only as an example and may include information from various sources, including IBM, Microsoft, and other organizations.