Saturday, July 20, 2019

ODBC error IM003 in SQLConnect on Siebel Server start

When trying to start Siebel Server on AIX 7.1:
bash-4.3$ start_server all

The following error was found in the log files:
ODBC error IM003 in SQLConnect:
[DataDirect][ODBC lib] Specified driver could not be loaded
(native error 0).
Unable to login using specified ODBC parameters.

The cause of the error was an incorrect LIBATH configuration, where lib32 from Oracle Client was missing.

So I updated siebenv.sh file:
LIBPATH=$LIBPATH:$ORACLE_HOME/lib32:$ORACLE_HOME/lib

The user ID or password that you entered is incorrect - Siebel IP2017 SMC Login Failure

I was not able to login to SMC after a fresh install, the error message displayed was:

---------------------------
Message from webpage
---------------------------
The user ID or password that you entered is incorrect.
---------------------------
OK   
---------------------------


Of course the credentials I was using was the same as the ones provided during installation, but it was not working, regardless of what I tried.

I also tested changing the certificates as it is responsible for 99% of the errors during SMC utilization, but it wasn't the case this time.

So finally what I did to solve the issue was changing the JRE that comes with installation,. I don't know what exactly was wrong, but replacing it by Java8 (64-bit) found on /usr folder (exported as $JAVA_HOME) was enough to get it working properly.

Below the commands I used for it:
cd $ai_location
mv jre jre_orig
ln -s $JAVA_HOME/jre jre


Could not load program sqlplus error on AIX

First time when I finished installing Oracle Client 12.2.0.1 in AIX 7.1 and trying to run a simple ./sqlplus command, the following error was shown:

bash-4.3$ ./sqlplus
Could not load program ./sqlplus:
rtld: 0712-001 Symbol GetQueuedCompletionStatus was referenced
      from module /u01/app/oracle/client/lib/libons.so(), but a runtime definition
            of the symbol was not found.
rtld: 0712-001 Symbol ReadFile was referenced
      from module /u01/app/oracle/client/lib/libons.so(), but a runtime definition
            of the symbol was not found.
rtld: 0712-001 Symbol WriteFile was referenced
      from module /u01/app/oracle/client/lib/libons.so(), but a runtime definition
            of the symbol was not found.
bash-4.3$



It was odd, since the same installation worked with no errors in another machine, so after some research I figured out that IOCP module was not enabled on the server. It can be check by the following command:

bash-4.3$ lsdev | grep iocp

  iocp0       Defined  I/O Completion Ports


As you can see by the output above, iocp is set to Defined, which is the default configuration. In order to have the Oracle Client working properly, one must work with the system admin to have it enabled. The expected output for this command is:

bash-4.3$ lsdev | grep iocp

  iocp0    Available   I/O Completion Ports