Error Loading Connector Library Libccora10g.so.ld.so.1
libccora10g.so. libclntsh.so.10.1: cannot open shared object file Oracle connector Technote (troubleshooting) Problem(Abstract) Using Oracle client version 11 to run job. Error loading connector library libccora10g.so. libclntsh.so.10.1: cannot open shared object file: No such file or directory (CC_LoadedConnector::loadLibrary, file CC_ConnectorFactory.cpp, line 1,525) Cause Using the wrong Oracle client version. Resolving the problem After following the required Oracle connector setup; including adding required Oracle environment variables in dsenv file and DataStage and ASBAgent has been restarted and the error still occurs. Check in the Oracle connector stage properties the parameter -Oracle Client version, Select Oracle 11. Oracle_conenction.jpg Document information More support for: InfoSphere DataStage Software version: 9.1 Operating system(s): AIX, HP-UX, Linux, Solaris Reference #: 1665631 Modified date: 2014-02-26 Site availability Site assistance Contact and feedback Need support? Submit feedback to IBM Support 1-800-IBM-7378 (USA) Directory of worldwide contacts Contact Privacy Terms of use Accessibility
Technology and Trends Enterprise Architecture and EAI ERP Hardware IT Management and Strategy Java Knowledge Management Linux Networking Oracle PeopleSoft Project and Portfolio Management SAP SCM Security Siebel Storage UNIX Visual Basic Web Design and Development Windows < Back CHOOSE A DISCUSSION GROUP Research Directory TOPICS Database Hardware Networking SAP Security Web Design MEMBERS Paul_Pedant DACREE MarkDeVries Inside-ERP MacProTX VoIP_News Inside-CRM maxwellarnold I_am_the_dragon Michael Meyers-Jouan http://www-01.ibm.com/support/docview.wss?uid=swg21665631 PCMag TerryCurran Chris_Day Andrew.S.Baker JoeTorre bracke Ramnath.Awate Locutus Dennis Stevenson Craig Borysowich DukeGanote Richard mircea_luca Nikki Klein AbhaiTripathi iudithm knowscognosdoi Clinton Jones Iqbalyk bluesguyAZ59 COMPANIES Pivotal CRM GeoTrust Avaya Trend Micro Incorporated View All Topics View All Members View All Companies Toolbox for IT Topics Data Warehouse Groups Ask a New http://datawarehouse.ittoolbox.com/groups/technical-functional/ascential-l/issue-with-datastage-while-connecting-to-oracle-4274442 Question DataStage The DataStage group is for the discussion of technical issues that arise during the installation or daily administration of IBM InfoSphere DataStage software. Home | Invite Peers | More Data Warehouse Groups Your account is ready. You're now being signed in. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. No spaces please The Profile Name is already in use Password Notify me of new activity in this group: Real Time Daily Never Keep me informed of the latest: White Papers Newsletter Jobs By clicking "Join Now", you agree to Toolbox for Technology terms of use, and have read and understand our privacy policy. Issue with datastage while connecting to Oracle. rajasingan asked Jun 27, 2011 | Replies (2) Hello All, I'm getting an issue which was alr
Troubleshooting GuidePrevious: ld.so.1: string: fatal: string: open failed: No such file or https://docs.oracle.com/cd/E19455-01/806-1075/msgs-1552/index.html directoryNext: ld.so.1: string: fatal: relocation error: symbol not found: stringld.so.1: string: fatal: relocation error: string: string: referenced symbol not found Cause https://bytes.com/topic/python/answers/514223-importerror-libclntsh-so-10-1-cannot-open-shared-object-file-permission-denied This message is produced in releases after the Solaris 2.5.1. It is not produced in the Solaris 2.5.1 or earlier releases. The error loading message from the runtime linker ld.so.1(1) indicates that in trying to execute the application given after the first colon, the specified symbol could not be found for relocation. The message goes on to say in what file the symbol was referenced. Because this is error loading connector a fatal error, the application terminates with this message. Action Run the ldd -d command on the application to show its shared object dependencies and symbols that are not found. Probably your system contains an old version of the shared object that should contain this symbol. Contact the library vendor or author for an update. Technical Notes This error does not necessarily occur when you first bring up an application. It could take months to develop, if ordinary use of the application seldom references the undefined symbol. See Also For more information about the Linker, see the Linker and Libraries Guide. Previous: ld.so.1: string: fatal: string: open failed: No such file or directoryNext: ld.so.1: string: fatal: relocation error: symbol not found: string © 2010, Oracle Corporation and/or its affiliates
+ Ask a Question Need help? Post your question and get tips & solutions from a community of 418,513 IT Pros & Developers. It's quick & easy. ImportError: libclntsh.so.10.1: cannot open shared object file: Permission denied P: n/a gmax2006 Hi, I am using RedHat Linux 4. and I developed an oracle 10g based application by using cx_Oracle (cx_Oracle-4.1-10g-py23-1.i386.rpm) and Python 2.3.4. When I run the application through direct console connection, It works perfect. But, when I schedule a crontab job to run the application, It logs this error: Traceback (most recent call last): File "/home/nsm1/NSM1/NSM1.py", line 5, in ? import cx_Oracle ImportError: libclntsh.so.10.1: cannot open shared object file: Permission denied How can I fix the problem? Any help would be appreciated, Max BTW: I have the following settings in my /etc/profile file: #------------------------------------------- ORACLE_BASE=/home/oracle/oracle/product ORACLE_HOME=$ORACLE_BASE/10.2.0/db_1 LD_LIBRARY_PATH=$ORACLE_HOME/lib PATH=$PATH:$ORACLE_HOME/bin ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH #------------------------------------------- Jul 20 '06 #1 Post Reply Share this Question 3 Replies P: n/a Damjan I am using RedHat Linux 4. and I developed an oracle 10g based application by using cx_Oracle (cx_Oracle-4.1-10g-py23-1.i386.rpm) and Python 2.3.4. When I run the application through direct console connection, It works perfect. But, when I schedule a crontab job to run the application, It logs this error: Traceback (most recent call last): File "/home/nsm1/NSM1/NSM1.py", line 5, in ? import cx_Oracle ImportError: libclntsh.so.10.1: cannot open shared object file: Permission denied .... I have the following settings in my /etc/profile file: #------------------------------------------- ORACLE_BASE=/home/oracle/oracle/product ORACLE_HOME=$ORACLE_BASE/10.2.0/db_1 LD_LIBRARY_PATH=$ORACLE_HOME/lib PATH=$PATH:$ORACLE_HOME/bin ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH #------------------------------------------- These environment variables are important for running any programs that use the oracle client libraries. The problem you have is that when you run the script from cron these environment variables are not set. Now, there are several ways how to handle this: 1. create a shell script that you call from cron, and it it set the environment variables and then call you python program 2. modify the environment in your python