RDB Archive for oracle

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
9 posts • Page 1 of 1
chad.mcneal
Posts:5
Joined: Sat Nov 26, 2016 12:44 pm

RDB Archive for oracle

Post by chad.mcneal »

Switched to a new computer. Had windows 7 pro changed to windows 10 pro. Removed HDD from previous PC with WinCC OA project and installed on new PC Now the RDB archive will not load. Checked path from other computer and it matches. Checked actual path in pc leads to exactly what I want. warning states Specified module could not be found. Could not open OCCI function loading error then gives me the C:/path "create environment". Fatal OCCI loading error check the oracle client version and the config entry "oracle Client Version"!, C:/path.

HELP

vogler
Posts:122
Joined: Thu Oct 28, 2010 8:32 am

Re: RDB Archive for oracle

Post by vogler »

Did you install the Oracle software on the new computer?

chad.mcneal
Posts:5
Joined: Sat Nov 26, 2016 12:44 pm

Re: RDB Archive for oracle

Post by chad.mcneal »

Yes.

vogler
Posts:122
Joined: Thu Oct 28, 2010 8:32 am

Re: RDB Archive for oracle

Post by vogler »

Which WinCC OA Version?
Which Oracle Version?
This PC is just an Oracle Client? right? not the Oracle Server?

chad.mcneal
Posts:5
Joined: Sat Nov 26, 2016 12:44 pm

Re: RDB Archive for oracle

Post by chad.mcneal »

WinCC OA Version 3.14 P006
Oracle Version 12
Yes it is a client running oracle instant client 12.1.0.2.0

Thanks for the help.

vogler
Posts:122
Joined: Thu Oct 28, 2010 8:32 am

Re: RDB Archive for oracle

Post by vogler »

Unfortunately ETM does not support the instant client.
I assume that you have added the path of the instant client to your path variable... right?
Did you already reboot the machine? Some times i have seen similar problems after installing the Oracle client, it worked after the first reboot (maybe it is related to the changed path variable, don't know...)
Can you post the error messages from the OA log?

chad.mcneal
Posts:5
Joined: Sat Nov 26, 2016 12:44 pm

Re: RDB Archive for oracle

Post by chad.mcneal »

I have rebooted the machine, with no change.

Here is a snippet of my log file when I try to launch the RDB manager:

[spoiler]

Code: Select all

WCCILpmon    (1), 2016.11.30 06:46:42.519, SYS,  INFO,       24/pmon, Got START command from ::1, starting the manager WCCOArdb(99) at index 27
WCCILpmon    (1), 2016.11.30 06:46:42.570, SYS,  INFO,        1, Manager Start, C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\WCCOArdb.exe -PROJ AssetMonitoring13noOracle3_14 -pmonIndex 27 -num 99
WCCOArdb     (99), 2016.11.30 06:46:42.628, SYS,  INFO,        0, , The Manager is using the Archive Groups in the Database!
WCCOArdb     (97), 2016.11.30 06:46:42.633, SYS,  INFO,        1, Manager Start, PROJ, AssetMonitoring13noOracle3_14, V 3.14 - 3.14   platform Windows AMD64 linked at Sep 30 2016 21:46:55
WCCOArdb     (97), 2016.11.30 06:46:42.651, SYS,  INFO,        3, Trying to connect to (SYS: 0 Data -num 0 CONN: 1) @ SCADA7:4897
WCCOArdb     (97), 2016.11.30 06:46:42.658, SYS,  INFO,        4, Connected to (SYS: 0 Data -num 0 CONN: 1) @ SCADA7 (::1)
WCCILdata    (0), 2016.11.30 06:46:42.662, SYS,  INFO,        4, Connected to (SYS: 1 Data -num 99 CONN: 1) @ SCADA7 (::1)
WCCILdata    (0), 2016.11.30 06:46:42.674, SYS,  INFO,        0, , Manager (SYS: 1 Data -num 99 CONN: 1) initialised
WCCILdata    (0), 2016.11.30 06:46:42.681, PARAM,INFO,        1, Manager Start, HistOrgMain, connection from archive received - initializing, archive number is: 97
WCCOArdb     (97), 2016.11.30 06:46:42.685, SYS,  INFO,        0, , Internal Dp Value changed! It will take a few seconds that the Manager uses the Value changes.
WCCOArdb     (97), 2016.11.30 06:46:42.689, SYS,  INFO,        0, , Internal Dp Value changed! It will take a few seconds that the Manager uses the Value changes.
WCCOArdb     (97), 2016.11.30 06:46:42.693, SYS,  INFO,        0, , Internal DP stopWriteToDB is false
[color=#FF0000]WCCOArdb     (97), 2016.11.30 06:46:42.918, SYS,  WARNING,   133, Could not load shared library C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll, The specified module could not be found.
WCCOArdb     (97), 2016.11.30 06:46:42.922, SYS,  WARNING,    61, Cannot open file, OCCI Function loading error:, C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll, createEnvironment
WCCOArdb     (97), 2016.11.30 06:46:42.925, SYS,  FATAL,       2, Manager Stop, OCCI loading error. Check the Oracle Client Version and the config entry "oracleClientVersion"!, C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll[/color]
WCCOAvideoOA (1), 2016.11.30 06:46:43.860, SYS,  WARNING,  1026/voa_general, VideoManager, updateVimaccLicense: video license update could not update the configured video servers. Check system configuration., License Error: Signature File C:\\Siemens\\Automation\\WinCC_OA\\3.14\\LicenseFeatures.sgn not available.
WCCOArdb     (97), 2016.11.30 06:46:44.948, SYS,  INFO,      181, Closing connection to (SYS: 1 Data -num 0 CONN: 1)
WCCILdata    (0), 2016.11.30 06:46:44.952, SYS,  INFO,       39, Connection lost, MAN: (SYS: 1 Data -num 99 CONN: 1), Connection closed
WCCOArdb     (97), 2016.11.30 06:46:44.956, SYS,  INFO,       39, Connection lost, MAN: (SYS: 1 Data -num 0 CONN: 1), Connection closed
WCCILdata    (0), 2016.11.30 06:46:44.956, PARAM,INFO,        2, Manager Stop, HistOrgMain, archive is now offline, archive number is:97
WCCOArdb     (97), 2016.11.30 06:46:44.959, SYS,  SEVERE,      2, Manager Stop, Lost connection to the Data Manager! RDB will shut down.
WCCOArdb     (97), 2016.11.30 06:46:44.975, SYS,  INFO,        0, , Closing the connections to the Data Base! This may take some time - please wait for final shutdown message.
[color=#FF0000]WCCOArdb     (97), 2016.11.30 06:46:44.982, SYS,  WARNING,   133, Could not load shared library C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll, The specified module could not be found.
WCCOArdb     (97), 2016.11.30 06:46:44.987, SYS,  WARNING,    61, Cannot open file, OCCI Function loading error:, C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll, createEnvironment
WCCOArdb     (97), 2016.11.30 06:46:44.991, SYS,  FATAL,       2, Manager Stop, OCCI loading error. Check the Oracle Client Version and the config entry "oracleClientVersion"!, C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll[/color]
WCCOArdb     (97), 2016.11.30 06:46:45.010, SYS,  INFO,        0, , Closing the Data Base connections is finished!
WCCOArdb     (97), 2016.11.30 06:46:45.014, SYS,  INFO,        2, Manager Stop
WCCILpmon    (1), 2016.11.30 06:46:45.030, SYS,  INFO,       11/pmon, Detected stopped manager WCCOArdb(99) - restarting it #1
WCCILpmon    (1), 2016.11.30 06:46:45.044, SYS,  INFO,        1, Manager Start, C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\WCCOArdb.exe -PROJ AssetMonitoring13noOracle3_14 -pmonIndex 27 -num 99
WCCOArdb     (99), 2016.11.30 06:46:45.084, SYS,  INFO,        0, , The Manager is using the Archive Groups in the Database!
WCCOArdb     (97), 2016.11.30 06:46:45.089, SYS,  INFO,        1, Manager Start, PROJ, AssetMonitoring13noOracle3_14, V 3.14 - 3.14   platform Windows AMD64 linked at Sep 30 2016 21:46:55
WCCOArdb     (97), 2016.11.30 06:46:45.094, SYS,  INFO,        3, Trying to connect to (SYS: 0 Data -num 0 CONN: 1) @ SCADA7:4897
WCCOArdb     (97), 2016.11.30 06:46:45.099, SYS,  INFO,        4, Connected to (SYS: 0 Data -num 0 CONN: 1) @ SCADA7 (::1)
WCCILdata    (0), 2016.11.30 06:46:45.105, SYS,  INFO,        4, Connected to (SYS: 1 Data -num 99 CONN: 1) @ SCADA7 (::1)
WCCILdata    (0), 2016.11.30 06:46:45.116, SYS,  INFO,        0, , Manager (SYS: 1 Data -num 99 CONN: 1) initialised
WCCILdata    (0), 2016.11.30 06:46:45.121, PARAM,INFO,        1, Manager Start, HistOrgMain, connection from archive received - initializing, archive number is: 97
WCCOArdb     (97), 2016.11.30 06:46:45.125, SYS,  INFO,        0, , Internal Dp Value changed! It will take a few seconds that the Manager uses the Value changes.
WCCOArdb     (97), 2016.11.30 06:46:45.129, SYS,  INFO,        0, , Internal Dp Value changed! It will take a few seconds that the Manager uses the Value changes.
WCCOArdb     (97), 2016.11.30 06:46:45.133, SYS,  INFO,        0, , Internal DP stopWriteToDB is false
[color=#FF0000]WCCOArdb     (97), 2016.11.30 06:46:45.138, SYS,  WARNING,   133, Could not load shared library C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll, The specified module could not be found.
WCCOArdb     (97), 2016.11.30 06:46:45.143, SYS,  WARNING,    61, Cannot open file, OCCI Function loading error:, C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll, createEnvironment
WCCOArdb     (97), 2016.11.30 06:46:45.146, SYS,  FATAL,       2, Manager Stop, OCCI loading error. Check the Oracle Client Version and the config entry "oracleClientVersion"!, C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll[/color]
WCCOArdb     (97), 2016.11.30 06:46:47.152, SYS,  INFO,      181, Closing connection to (SYS: 1 Data -num 0 CONN: 1)
WCCILdata    (0), 2016.11.30 06:46:47.156, SYS,  INFO,       39, Connection lost, MAN: (SYS: 1 Data -num 99 CONN: 1), Connection closed
WCCILdata    (0), 2016.11.30 06:46:47.160, PARAM,INFO,        2, Manager Stop, HistOrgMain, archive is now offline, archive number is:97
WCCOArdb     (97), 2016.11.30 06:46:47.164, SYS,  SEVERE,      2, Manager Stop, Lost connection to the Data Manager! RDB will shut down.
WCCOArdb     (97), 2016.11.30 06:46:47.169, SYS,  INFO,        0, , Closing the connections to the Data Base! This may take some time - please wait for final shutdown message.
[color=#FF0000]WCCOArdb     (97), 2016.11.30 06:46:47.174, SYS,  WARNING,   133, Could not load shared library C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll, The specified module could not be found.
WCCOArdb     (97), 2016.11.30 06:46:47.178, SYS,  WARNING,    61, Cannot open file, OCCI Function loading error:, C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll, createEnvironment
WCCOArdb     (97), 2016.11.30 06:46:47.182, SYS,  FATAL,       2, Manager Stop, OCCI loading error. Check the Oracle Client Version and the config entry "oracleClientVersion"!, C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll[/color]
WCCOArdb     (97), 2016.11.30 06:46:47.187, SYS,  INFO,        0, , Closing the Data Base connections is finished!
WCCOArdb     (97), 2016.11.30 06:46:47.191, SYS,  INFO,        2, Manager Stop
WCCILpmon    (1), 2016.11.30 06:46:47.254, SYS,  INFO,       11/pmon, Detected stopped manager WCCOArdb(99) - restarting it #2
WCCILpmon    (1), 2016.11.30 06:46:47.268, SYS,  INFO,        1, Manager Start, C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\WCCOArdb.exe -PROJ AssetMonitoring13noOracle3_14 -pmonIndex 27 -num 99
WCCOArdb     (99), 2016.11.30 06:46:47.310, SYS,  INFO,        0, , The Manager is using the Archive Groups in the Database!
WCCOArdb     (97), 2016.11.30 06:46:47.314, SYS,  INFO,        1, Manager Start, PROJ, AssetMonitoring13noOracle3_14, V 3.14 - 3.14   platform Windows AMD64 linked at Sep 30 2016 21:46:55
WCCOArdb     (97), 2016.11.30 06:46:47.319, SYS,  INFO,        3, Trying to connect to (SYS: 0 Data -num 0 CONN: 1) @ SCADA7:4897
WCCOArdb     (97), 2016.11.30 06:46:47.324, SYS,  INFO,        4, Connected to (SYS: 0 Data -num 0 CONN: 1) @ SCADA7 (::1)
WCCILdata    (0), 2016.11.30 06:46:47.329, SYS,  INFO,        4, Connected to (SYS: 1 Data -num 99 CONN: 1) @ SCADA7 (::1)
WCCILdata    (0), 2016.11.30 06:46:47.339, SYS,  INFO,        0, , Manager (SYS: 1 Data -num 99 CONN: 1) initialised
WCCILdata    (0), 2016.11.30 06:46:47.344, PARAM,INFO,        1, Manager Start, HistOrgMain, connection from archive received - initializing, archive number is: 97
WCCOArdb     (97), 2016.11.30 06:46:47.348, SYS,  INFO,        0, , Internal Dp Value changed! It will take a few seconds that the Manager uses the Value changes.
WCCOArdb     (97), 2016.11.30 06:46:47.352, SYS,  INFO,        0, , Internal Dp Value changed! It will take a few seconds that the Manager uses the Value changes.
WCCOArdb     (97), 2016.11.30 06:46:47.355, SYS,  INFO,        0, , Internal DP stopWriteToDB is false
[color=#FF0000]WCCOArdb     (97), 2016.11.30 06:46:47.360, SYS,  WARNING,   133, Could not load shared library C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll, The specified module could not be found.
WCCOArdb     (97), 2016.11.30 06:46:47.364, SYS,  WARNING,    61, Cannot open file, OCCI Function loading error:, C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll, createEnvironment
WCCOArdb     (97), 2016.11.30 06:46:47.368, SYS,  FATAL,       2, Manager Stop, OCCI loading error. Check the Oracle Client Version and the config entry "oracleClientVersion"!, C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll[/color]
WCCOArdb     (97), 2016.11.30 06:46:49.374, SYS,  INFO,      181, Closing connection to (SYS: 1 Data -num 0 CONN: 1)
WCCILdata    (0), 2016.11.30 06:46:49.378, SYS,  INFO,       39, Connection lost, MAN: (SYS: 1 Data -num 99 CONN: 1), Connection closed
WCCILdata    (0), 2016.11.30 06:46:49.382, PARAM,INFO,        2, Manager Stop, HistOrgMain, archive is now offline, archive number is:97
WCCOArdb     (97), 2016.11.30 06:46:49.386, SYS,  SEVERE,      2, Manager Stop, Lost connection to the Data Manager! RDB will shut down.
WCCOArdb     (97), 2016.11.30 06:46:49.391, SYS,  INFO,        0, , Closing the connections to the Data Base! This may take some time - please wait for final shutdown message.
[color=#FF0000]WCCOArdb     (97), 2016.11.30 06:46:49.396, SYS,  WARNING,   133, Could not load shared library C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll, The specified module could not be found.
WCCOArdb     (97), 2016.11.30 06:46:49.400, SYS,  WARNING,    61, Cannot open file, OCCI Function loading error:, C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll, createEnvironment
WCCOArdb     (97), 2016.11.30 06:46:49.404, SYS,  FATAL,       2, Manager Stop, OCCI loading error. Check the Oracle Client Version and the config entry "oracleClientVersion"!, C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\OCCIWrapper_12.dll[/color]
WCCOArdb     (97), 2016.11.30 06:46:49.408, SYS,  INFO,        0, , Closing the Data Base connections is finished!
WCCOArdb     (97), 2016.11.30 06:46:49.412, SYS,  INFO,        2, Manager Stop
WCCILpmon    (1), 2016.11.30 06:46:49.475, SYS,  INFO,       12/pmon, Manager WCCOArdb(99) restarting too rapidly - giving up restarting
WCCOAui4:WCCOAui      (4), 2016.11.30 06:46:57.266,	Qt,	VimaccTcpSocketConnect::connectToHost 127.0.0.1:9396
WCCOAui4:WCCOAui      (4), 2016.11.30 06:46:57.266,	Qt,	VimaccTcpSocketConnect::tryNextAddress: trying 127.0.0.1:9396
WCCOAui4:WCCOAui      (4), 2016.11.30 06:46:58.267,	Qt,	VimaccTcpSocketConnect: connect to 127.0.0.1:9396 failed; No connection could be made because the target machine actively refused it. 
[/spoiler]

Thanks again.

vogler
Posts:122
Joined: Thu Oct 28, 2010 8:32 am

Re: RDB Archive for oracle

Post by vogler »

maybe you do not have vc12 libs/support from Oracle - because you are using the instant client.
check if you have in your oracle directory a directory "OracleClient\\OCI\\MSVC\\VC12" and a lib oraocci12.dll in the dir OCI\\MSVC\\VC12\\lib (this is also stated somewhere in the wincc oa help).
anyway, if you wanna get support from etm, you should install the full oracle client (as i already mentioned, the instant client is not supported).

chad.mcneal
Posts:5
Joined: Sat Nov 26, 2016 12:44 pm

Re: RDB Archive for oracle

Post by chad.mcneal »

Thank you very much this fixed the problem. I was not here yesterday but the guys working on it said the had used the last thread to find the fix. It was definitely in the oracle client. We had copy and pasted all the oracle files into to the new PC. This included an install.exe but it would just say it was installed successfully when ran from CMD. When they return next week I will have them describe exactly what fixed the issue incase others have the same issue.

9 posts • Page 1 of 1