Page 1 of 1

OCI connection with Oracle database using OA Linux version

Posted: Mon Dec 07, 2020 7:23 pm
by interelec
Hello, everyone.

Currently, I am trying to link between WinccOA(Linux version) & Oracle Database(Server) using OCI method.

<Environment>

OA Server: Red Hat Enterprise Linux Server release 7.6(Maipo) & WinccOA 3.16
Database server: Oracle 8.x or Oracle 9.x

<TEST method>

The contents of the script checked in the current OA help are checked as follows.

DbOpenConnection()

The following values ​​for the parameter driver are supported under Linux:
"QOCI8"-Oracle Call Interface (OCI), Oracle 8.x and Oracle 9.x


When using the following script

DbOpenConnection="driver=QOCI8;server=<Server Name>;uid=<user ID>;pwd=<Password>;database=WinCC_OA;port=1521;"

The result confirmed in OA's Logview is

QOCI8 driver not loaded.


When using Linux OS, there is insufficient data on how to apply.

Please let me know if you have any of these experiences.

Re: OCI connection with Oracle database using OA Linux version

Posted: Wed Dec 09, 2020 10:48 am
by leoknipp
Which WinCC OA version are you using?
Which packages of the WinCC OA installation have you installed?

Maybe there are some parts missing and therefore it does not work.
If you want to get information for a log message please always post the complete text and not only a small part of the log message.

Best Regards
Leopold Knipp
Senior Support Specialist