Linux Environment : Can't open lib '/opt/oracle/instantclient/libsqora.so.1
Hi All,
We are getting below error while one of the ODBC connection try to connect to the Database.
Linux Server is Red Hat 64 bit environment.
[6/1/07 14:29:55:315 CDT] 00000034 SystemOut O UserId:APCTEVAL ServiceName:NbaContractEvaluationBP DEBUG [QuartzScheduler_Worker-51] (com.csc.dip.jvpms.core.JvpmsLog4j:debug:?) - compute P_Result => ReturnCode: 1 Message: [unixODBC][Driver Manager]Can't open lib '/opt/oracle/instantclient/libsqora.so.10.1' : /opt/oracle/instantclient/libsqora.so.10.1: cannot open shared object file: No such file or directory RefField: sue
Here is the current set of things that we verified
1. The .bash_profile for root has the right stuff in it
export ORACLE_HOME=/opt/oracle/instantclient
export PATH=$ORACLE_HOME:$PATH
export LD_LIBRARY_PATH=/opt/nba/bin:$ORACLE_HOME:$LD_LIBRARY_PATH
export TNS_ADMIN=$ORACLE_HOME
2. We verified that the correct version of the Oracle ODBC drivers are installed
-r--r--r-- 1 oracle dba 1545954 Dec 20 09:35 ojdbc14.jar
-rwxr-xr-x 1 oracle dba 137905 Dec 20 09:35 libocijdbc10.so
-rwxr-xr-x 1 oracle dba 72456247 Dec 20 09:35 libociei.so
-rwxr-xr-x 1 oracle dba 1664148 Dec 20 09:35 libocci.so.10.1
-rwxr-xr-x 1 oracle dba 3808761 Dec 20 09:35 libnnz10.so
-rwxr-xr-x 1 oracle dba 20870419 Dec 20 09:35 libclntsh.so.10.1
-rwxr-xr-x 1 oracle dba 66545 Dec 20 09:35 genezi
-r--r--r-- 1 oracle dba 1600090 Dec 20 09:35 classes12.jar
-rwxr-xr-x 1 oracle dba 7741 Dec 20 09:35 sqlplus
-r--r--r-- 1 oracle dba 3457 Dec 20 09:35 odbc_update_ini.sh
-r-xr-xr-x 1 oracle dba 58416 Dec 20 09:35 ODBCRelnotesUS.htm
-r-xr-xr-x 1 oracle dba 91881 Dec 20 09:35 ODBCRelnotesJA.htm
-r--r--r-- 1 oracle dba 21548 Dec 20 09:35 ODBC_IC_Readme_Linux.html
-rwxr-xr-x 1 oracle dba 859868 Dec 20 09:35 libsqora.so.10.1
-rwxr-xr-x 1 oracle dba 992929 Dec 20 09:35 libsqlplus.so
-rwxr-xr-x 1 oracle dba 1435529 Dec 20 09:35 libsqlplusic.so
-r--r--r-- 1 oracle dba 1525 Dec 20 09:35 glogin.sql
-rw-r----- 1 oracle dba 475 May 31 16:06 sqlnet.ora
-rw-r--r-- 1 oracle dba 385 May 31 16:06 ldap.ora
in the /opt/oracle/instantclient directory
3. We verified the the odbc.ini and the odbcinst.ini..they match our dev files
4. We verified that the VPMS so are the same version
-rwxrwxr-x 1 nbaadmin nbaadmin 9333 Feb 13 07:57 libjvpms.so
-rw-r--r-- 1 nbaadmin nbaadmin 1339 Feb 13 07:57 nbaSetupCmdLine.sh
-rw-r--r-- 1 nbaadmin nbaadmin 852 Feb 13 07:57 nbaLaunchClient.sh
-rw-r--r-- 1 nbaadmin nbaadmin 327 Feb 13 07:57 nbaAdministrativeConsole.sh
-rwxrwxr-x 1 nbaadmin nbaadmin 265657 Feb 13 07:57 libvpms.so
-rwxrwxrwx 1 nbaadmin nbaadmin 594 Feb 13 12:58 odbcinst.ini
-rwxrwxrwx 1 nbaadmin nbaadmin 874 Feb 13 12:58
odbc.ini
5. We also verifed that the directories were showing up in the JVM start up log to verify WAS startup
************ Start Display Current Environment ************
WebSphere Platform 6.0 [ND 6.0.2.17 cf170648.10] running with process name SyststNBACell01\SyststNBANode01\sysNBANewBusiness1 and process id 4921
Host Operating System is Linux, version 2.6.9-42.0.3.ELsmp
Java version = J2RE 1.4.2 IBM build cxia32142-20060421 (SR5) (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
was.install.root = /opt/WebSphere/AppServer60
user.install.root = /opt/WebSphere/AppServer60/profiles/SyststNBANode01Profile
Java Home = /opt/WebSphere/AppServer60/java/jre
ws.ext.dirs = /opt/WebSphere/AppServer60/java/lib:/opt/WebSphere/AppServer60/profiles/SyststNBANode01Profile/classes:/opt/WebSphere/AppServer60/classes:/opt/WebSphere/AppServer60/lib:/opt/WebSphere/AppServer60/installedChannels:/opt/WebSphere/AppServer60/lib/ext:/opt/WebSphere/AppServer60/web/help:/opt/WebSphere/AppServer60/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime:/opt/nba/runtimeJars
Classpath = /opt/WebSphere/AppServer60/profiles/SyststNBANode01Profile/properties:/opt/WebSphere/AppServer60/properties:/opt/WebSphere/AppServer60/lib/bootstrap.jar:/opt/WebSphere/AppServer60/lib/j2ee.jar:/opt/WebSphere/AppServer60/lib/lmproxy.jar:/opt/WebSphere/AppServer60/lib/urlprotocols.jar:/opt/nba/configuration/config
Java Library path = /opt/WebSphere/AppServer60/java/jre/bin:/opt/WebSphere/AppServer60/java/jre/bin/classic:/opt/WebSphere/AppServer60/java/jre/bin:/opt/WebSphere/AppServer60/bin:/opt/mqm/java/lib:/opt/wemps/lib:/opt/nba/bin:/opt/oracle/instantclient:/usr/lib
************* End Display Current Environment *************
But are still getting the following error
[6/1/07 14:29:55:315 CDT] 00000034 SystemOut O UserId:APCTEVAL ServiceName:NbaContractEvaluationBP DEBUG [QuartzScheduler_Worker-51] (com.csc.dip.jvpms.core.JvpmsLog4j:debug:?) - compute P_Result => ReturnCode: 1 Message: [unixODBC][Driver Manager]Can't open lib '/opt/oracle/instantclient/libsqora.so.10.1' : /opt/oracle/instantclient/libsqora.so.10.1: cannot open shared object file: No such file or directory RefField: sue
Thanks in advance
Mitesh
Your LD_LIBRARY_PATH is wrong, libraries are in $ORACLE_HOME/lib, not $ORACLE_HOME itself. The same for $TNS_ADMIN, normally net configuration files are in $ORACLE_HOME/network/admin.
export LD_LIBRARY_PATH=/opt/nba/bin:$ORACLE_HOME/lib
Maybe this note on metalink gives further help:
How to Setup and Verify Setup of Oracle ODBC Driver on Linux
Doc ID:404041.1
Werner
Similar Messages
-
Hi, I have installed Oracle Linux 6.5 64 bits and I want to connect with MSSQL Server using ODBC.
I have installed unixODBC and then Driver Manager and I didnt have any problem.
I created a DNS in odbc.ini file, and I have setup my odbcinst.ini
SUCCESFULL MESSAGE AFTER INSTALL DRIVER MANAGER
[root@MV-OBI-LINUX sqlncli-11.0.1790.0]# odbcinst -q -d -n "SQL Server Native Client 11.0"
[SQL Server Native Client 11.0]
Description=Microsoft SQL Server ODBC Driver V1.0 for Linux
Driver=/opt/microsoft/sqlncli/lib64/libsqlncli-11.0.so.1790.0
UsageCount=4
Threading=1
FIRST ERROR
[root@MV-OBI-LINUX sqlncli-11.0.1790.0]# isql -v msPreflex userbd grup0r0c10
[01000][unixODBC][Driver Manager]Can't open lib '/opt/microsoft/sqlncli/lib64/libsqlncli-11.0.so.1790.0' : file not found
[ISQL]ERROR: Could not SQLConnect
SECOND ERROR
[root@MV-OBI-LINUX sqlncli-11.0.1790.0]# sqlcmd -$172.16.1.141 -userbd -grup0r0c10
sqlcmd: error while loading shared libraries: libcrypto.so.6: cannot open shared object file: No such file or directory
ODBC.INI
[msPreflex]
Driver=SQL Server Native Client 11.0
Description=Prueba Preflex
Trace=Yes
Server=172.16.1.141
Port=1433
Database=Preflex
ODBCINST.INI
[SQL Server Native Client 11.0]
Description=Microsoft SQL Server ODBC Driver V1.0 for Linux
Driver=/opt/microsoft/sqlncli/lib64/libsqlncli-11.0.so.1790.0
UsageCount=4
Threading=1
ENVIROMENT VARIABLES
[root@MV-OBI-LINUX sqlncli-11.0.1790.0]# env
ORBIT_SOCKETDIR=/tmp/orbit-root
HOSTNAME=MV-OBI-LINUX
GIO_LAUNCHED_DESKTOP_FILE_PID=3168
IMSETTINGS_INTEGRATE_DESKTOP=yes
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
XDG_SESSION_COOKIE=d020d502ea288dbe070bc5c00000002d-1423846295.554191-1437283619
CPPFLAGS=-DSIZEOF_LONG_INT=8
GTK_RC_FILES=/etc/gtk/gtkrc:/root/.gtkrc-1.2-gnome2
WINDOWID=39845891
OLDPWD=/root/Documentos/ODBCdriver
QTDIR=/usr/lib64/qt-3.3
QTINC=/usr/lib64/qt-3.3/include
IMSETTINGS_MODULE=none
USER=root
LD_LIBRARY_PATH=/usr/lib:/usr/lib64:/lib64
GNOME_KEYRING_SOCKET=/tmp/keyring-A7hSJq/socket
SSH_AUTH_SOCK=/tmp/keyring-A7hSJq/socket.ssh
ODBC=/etc/odbc.ini
USERNAME=root
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/2515,unix/unix:/tmp/.ICE-unix/2515
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gnome-terminal.desktop
PATH=/usr/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin
MAIL=/var/spool/mail/root
DESKTOP_SESSION=gnome
QT_IM_MODULE=xim
PWD=/root/Documentos/ODBCdriver/sqlncli-11.0.1790.0
XMODIFIERS=@im=none
GDM_KEYBOARD_LAYOUT=es
GNOME_KEYRING_PID=2505
LANG=es_ES.UTF-8
GDM_LANG=es_ES.UTF-8
GDMSESSION=gnome
ODBCSYSINI=/etc
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
HISTCONTROL=ignoredups
HOME=/root
SHLVL=2
CFLAGS=-DBUILD_LEGACY_64_BIT_MODE=1
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LOGNAME=root
QTLIB=/usr/lib64/qt-3.3/lib
CVS_RSH=ssh
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-VogE1CY9Xk,guid=4815e509079ed1f0ced76e150000002f
LESSOPEN=|/usr/bin/lesspipe.sh %s
WINDOWPATH=1
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
COLORTERM=gnome-terminal
XAUTHORITY=/var/run/gdm/auth-for-root-N946Cy/database
_=/usr/bin/envI had the same confusing (because file is clearly here) error with isql:
mymachine:/ # isql -v ServerDSN User Password
[01000][unixODBC][Driver Manager]Can't open lib '/opt/microsoft/msodbcsql/lib64/libmsodbcsql-11.0.so.2260.0' : file not found
[ISQL]ERROR: Could not SQLConnect
Using bcp gave me a hint as to what the real problem is:
mymachine:/ # bcp master.INFORMATION_SCHEMA.TABLES out OutFile.dat -S ServerName-U User -P Password
bcp: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory
Oopsie my bad: the package is clearly listed in the
system requirements page.
Running "zypper install libopenssl0_9_8" fixed my issue. -
Isql | unixODBC | Driver Manager can't open lib "libsqora.so.12.1"
hi all...
i try to acces oracle from postgre..
i use ODBC..
first i try to acces oracle from isql and i got error that driver manager can't open libsqora.so.12.1
this is my configuration
odbc.ini
[XE]
Description = Oracle ODBC
Driver = XE
Trace = yes
TraceFile = /tmp/odbc_oracle.log
Database = //192.168.102.202:1521/XE
UserID = system
Password = password
Port = 1521
odbcinst.ini
[XE]
Description = Oracle ODBC Connection Driver
Driver = root/download/odbc/instantclient_12_1/libsqora.so.12.1
Debug = 0
CommLog = 1
tnsname.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.102.202)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
then, when i use isql to acces oracle i got that error:
[root@oracle-poc ~]# isql -v XE
[01000][unixODBC][Driver Manager]Can't open lib 'root/download/odbc/instantclient_12_1/libsqora.so.12.1' : file not found
[ISQL]ERROR: Could not SQLConnect
whats wrong with my configuration, can anyone help me??
thanks,
Danieldear kgronau,
this is the result of "ls -al linsqora.so.12.1"
[root@oracle-poc instantclient_12_1]# ls -al libsqora.so.12.1
-rwxrwxrwx 1 root root 3303791 May 27 14:49 libsqora.so.12.1
i tried use ldd for libsqora and had this result
[root@oracle-poc instantclient_12_1]# ldd -v libsqora.so.12.1
linux-gate.so.1 => (0x00b4e000)
libdl.so.2 => /lib/libdl.so.2 (0x006f8000)
libm.so.6 => /lib/libm.so.6 (0x00b1f000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00829000)
libnsl.so.1 => /lib/libnsl.so.1 (0x008d4000)
librt.so.1 => /lib/librt.so.1 (0x009cd000)
libclntsh.so.12.1 => /usr/lib/libclntsh.so.12.1 (0xf5628000)
libodbcinst.so.2 => not found
libc.so.6 => /lib/libc.so.6 (0x00110000)
/lib/ld-linux.so.2 (0x00f73000)
libnnz12.so => /usr/lib/libnnz12.so (0x00f93000)
libons.so => /usr/lib/libons.so (0x00484000)
libaio.so.1 => not found
libclntshcore.so.12.1 => not found
libclntshcore.so.12.1 => not found
Version information:
./libsqora.so.12.1:
librt.so.1 (GLIBC_2.2) => /lib/librt.so.1
libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2
libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2
libm.so.6 (GLIBC_2.0) => /lib/libm.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libpthread.so.0 (GLIBC_2.2) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.1) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.0) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.3.2) => /lib/libpthread.so.0
/lib/libdl.so.2:
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
/lib/libm.so.6:
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/libpthread.so.0:
ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/libnsl.so.1:
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/librt.so.1:
libpthread.so.0 (GLIBC_2.1) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.2) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_PRIVATE) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.0) => /lib/libpthread.so.0
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/usr/lib/libclntsh.so.12.1:
libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2
libdl.so.2 (GLIBC_2.3.3) => /lib/libdl.so.2
libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2
libm.so.6 (GLIBC_2.1) => /lib/libm.so.6
libm.so.6 (GLIBC_2.0) => /lib/libm.so.6
libc.so.6 (GLIBC_2.1.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
libaio.so.1 (LIBAIO_0.4) => not found
libaio.so.1 (LIBAIO_0.1) => not found
libpthread.so.0 (GLIBC_2.2) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.1) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.0) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.3.2) => /lib/libpthread.so.0
/lib/libc.so.6:
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
/usr/lib/libnnz12.so:
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/usr/lib/libons.so:
libpthread.so.0 (GLIBC_2.1) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.3.2) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.0) => /lib/libpthread.so.0
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
libodbcinst.so.2 => not found (i had copy that to lib but still not found)
libaio.so.1 => not found
libclntshcore.so.12.1 => not found
libclntshcore.so.12.1 => not found
i try to copy many file to lib and still nit found, whats wrong??
thanks,
Daniel -
When I try to open a Labview driver for a California Instruments power
supply in Labview for Linux, a dialog box appears and looks to be
searching for a dll. I browse to the dll, but but the dialog box just
re-appears like it did not find it. If I cancel, the vi comes up with
errors saying it can't find a function in the dll. I do a nm on the dll
and it shows there are no symbols in the dll. Am I not able to use this
dll under Linux? Is there a way around this? Any help would be great.No, compiled objects like DLLs, EXEs are OS specific. You could ask the vendor if they have a Unix/Linux shared library, ask for the source code so it could be recompiled, or use a LabVIEW driver. Most power supplies have fairly simple drivers and there is a LabVIEW driver for the L Series that you might want to use as a template.
-
If I already have firefox open in Linux, how can I open a new URL in a new window.
I want to be able to click on a button, and have firefox open a new window at a given URL. Currently, if I already have firefox running, then it opens a new tab, which may be on a different desktop. Having to detach the new tab to a new window and move it back to the right desktop seems like unnecessary work.
If you mean a shortcut or link ''completely outside of Firefox,'' there is a hidden preference to change how that works. This requires a visit to the about:config preferences editor. I think it's (C) below that you might want to change.
In a new tab, type or paste '''about:config''' and press Enter. Click the button promising to be careful.
In the filter box, type or paste '''link.o''' and pause while the list is filtered.
Double click these and set the value as desired:
'''(A) browser.link.open_newwindow'''
3 = divert new window to a new tab (<u>default</u>) (checked*)<br>
2 = allow link to open a new window (unchecked*)<br>
1 = force new window into same tab
'''*''' First checkbox in Options > Tabs
'''(B) browser.link.open_newwindow.restriction''' - for links in Firefox tabs
0 = apply the setting under (A) to ALL new windows (even script windows)<br>
2 = apply the setting under (A) to normal windows, but NOT to script windows with features (<u>default</u>)<br>
1 = override the setting under (A) and always use new windows
'''(C) browser.link.open_newwindow.override.external''' - for links in other programs
-1 = apply the setting under (A) to external links (<u>default</u>)<br>
3 = open external links in a <u>new tab</u> in the last active window<br>
'''2 = open external links in a <u>new window</u>'''<br>
1 = open external links in the <u>last active tab</u> replacing the current page
Does that work? -
Linux - libnqwebibotapi.so Cannot open shared object file
BI is running on my Linux box (Redhat). I have configured and started BI Scheduler. It starts without an issue.
When I create an iBot to be delivered immediately I get the error:
libnqwebibotapi.so: cannot open shared object file: No such file or directory [nQSError: 77002] Could not load iBot library libnqwebibotapi.so.
My LD_LIBRARY_PATH is pointing to the location of the file: /opt/oracle/oraclebi/web/bin
declare -x LD_LIBRARY_PATH="/opt/oracle/11.2.0/client_1/lib:/opt/oracle/oraclebi/server/Bin:/opt/oracle/oraclebi/web/bin"
Any ideas? I am not sure what step I am missing.
Thanks!
EricCan you post the full error log from Delivers please
You've not told us OS, versions, etc
http://catb.org/~esr/faqs/smart-questions.html#beprecise -
Hi,
can someone help me out with this issue.
When i try to invoke
$ rman target /
rman: can't open target
$which rman
/usr/X11R6/bin/rman
$echo $PATH
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/
home/oracle/oracle/product/10.2.0/db_1/bin
I saw that there is no rman file in ORACLE_HOME/bin, so I manually copied file from
$cp /usr/X11R6/bin/rman /ORACLE_HOME/bin/
then tried again
$rman target /
rman can't open targetHi Hemant and ebrain,
I am a bit confused, i dont know where I am making the mistake.
It would be great if you can help me in overcoming this issue...I tried theses
my ORACLE_BASE=/home/oracle/oracle
my ORACLE_HOME=/home/oracle/oracle/product/10.2.0
Please see my .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
ORACLE_BASE=/home/oracle/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
ORACLE_SID=KUSP
LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/i386:$ORACLE_HOME/jdk/jre/lib/i386/server:
ORACLE_HOME/rdbms/lib:$ORACLE_HOME/lib:$LD_LIBRARY_PATH
PATH=$PATH:$HOME/bin
PATH=$ORACLE_HOME/bin:$PATH
export ORACLE_BASE
export ORACLE_HOME
export ORACLE_SID
export LD_LIBRARY_PATH
export PATH
export USERNAME
these is the .bash_Profile file.
And in my ORACLE_HOME/bin i have a file as rman0
$./home/oracle/oracle/product/10.2.0/db_1/bin/rman
rman: can't open target
$/home/oracle/oracle/product/10.2.0/db_1/bin/rman target /
rman: can't open target -
After the report files were moved to the directory under root in Linux, I can not open the file(.rdf) in my working directory in linux even though it doesn't work in the report builder in window.(it used to work fine)
error message the following;
rep-0110:unable to open file 'c:\documents and settings\myhome\desktop\invoice10.rdf
rep-1070:error while opening or saving a documents
can you tell me what it is the solution for that?
Message was edited by:
JinI think I have to recompile the files again.
I found the following solution but i do not know where do i write this script(Dos) and how to run it.
can you tell me more detail?
For Windows
Forms/Reports 6i
REM WINDOWS COMPILE FORMS
::compile_forms.bat
cls
Echo compiling Forms....
for %%f IN (*.fmb) do ifcmp60 userid=scott/tiger@v817 module=%%f batch=yes
module_type=form compile_all=yes window_state=minimize
ECHO FINISHED COMPILING
REM WINDOWS COMPILE REPORT
::compile_report.bat
cls
Echo compiling Report .....
for %%f IN (*.rdf) do RWCON60 userid=scott/tiger@v817 batch=yes source=%%f
stype=rdffile DTYPE=REPFILE OVERWRITE=yes logfile=log.txt
ECHO FINISHED COMPILINGMessage was edited by:
Jin
Message was edited by:
Jin
Message was edited by:
Jin -
Hi,
After ORACLE 11G software installation i tried to change the ORACLE_HOME directory.
OS : RHEL 4.5
DB : 11.2.0
Previous Home Location :
[oracle@localhost ~]$ echo $ORACLE_HOME
/u01/oracle/prod/tech_st/product/11.2.0/db_1
Current Home Loc:
[oracle@localhost ~]$ echo $ORACLE_HOME
/u01/oracle/db/tech_st/product/11.2.0/db_1
When i am trying the DBCA command i am getting the below error:
[oracle@localhost ~]$ dbca
java.lang.UnsatisfiedLinkError: Can't load library: /u01/oracle/prod/tech_st/product/11.2.0/db_1/oui/lib/linux/liboraInstaller.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:968)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:387)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:122)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.initUnixPtrFileLoc(OiipgPropertyLoader.java:212)
at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.<clinit>(OiipgPropertyLoader.java:125)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(OiicStandardInventorySession.java:492)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:266)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
at oracle.sysman.assistants.util.InventoryUtil.getOUIInvSession(InventoryUtil.java:346)
at oracle.sysman.assistants.util.InventoryUtil.getHomeName(InventoryUtil.java:87)
at oracle.sysman.assistants.util.OracleHome.getInventoryHomeName(OracleHome.java:1023)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:798)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:257)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:164)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:112)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:184)
Exception in thread "main" java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:405)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:122)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.initUnixPtrFileLoc(OiipgPropertyLoader.java:212)
at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.<clinit>(OiipgPropertyLoader.java:125)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(OiicStandardInventorySession.java:492)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:266)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
at oracle.sysman.assistants.util.InventoryUtil.getOUIInvSession(InventoryUtil.java:346)
at oracle.sysman.assistants.util.InventoryUtil.getHomeName(InventoryUtil.java:87)
at oracle.sysman.assistants.util.OracleHome.getInventoryHomeName(OracleHome.java:1023)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:798)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:257)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:164)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:112)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:184)
[oracle@localhost ~]$
I tried all possible ways with google help but still i am facing the same issue.Kindly check and suggest to solve the issue.
Thanks in advance.
Vijay.Hi all,
I give you the clear details about the issue what i am currently facing,
1. I installed the 11g (11.2.0) database alone(No EBS) in my local vmware machine.
2. Created my ORACLE_HOME under /u01/oracle/prod/tech_st/product/11.2.0/db_1 directory after that i tried to change my home location from /u01/oracle/prod/tech_st/product/11.2.0/db_1 location to /u01/oracle/db/tech_st/product/11.2.0/db_1 location, like created /u01/oracle/db directory and moved files from /u01/oracle/prod location.
3. I changed my bash_profile and exported home with the modified location also deregistered an old home and registered the new home.
4. When i am issuing echo $ORACLE_HOME it is showing the current home location and ORACLE_SID is same what i created before.
5. But when i am trying to create one more db using DBCA utility it is through the above error.
Please suggest me is it possible to change the location after db creation or any extra steps i have to do for this issue.
Thanks. -
I am trying to install Oracle 9i database release 2 on Linux RedHat 7.3. I got error message from OUI during the linking Oracle database
error in invoking target install of make file /opt/oracle/product/9.0.1/ctx/lib/ins_ctx.mk
Any input is greatly appreciated.Pl identify exact version of "10g" you are trying to install. Are you following all of the steps in the Install Guide ? Pl post the last 50 lines from the install log file
HTH
Srini -
Can't open the forms using Oracle Forms Builder 6i
Dear All,
I at first download the file .fmb from linux server to local pc.and I setup oracle Forms builder 6i and want to edit the file .fmb on the local form builder ,but can't open it with forms builder raising FRM-10043.
I download the source file .fmb using both mode of ftp and I try it but it faise to open it. I don't know why it is.pls which one who knows it tell me.
ThanksOracle Form builer under linux server is for Forms 6.0(Form builder) version 6.0.8.25.2,and Oracle Form builder under my XP is for Forms [32 Bit] Version 6.0.8.11.3 (Production).I download the file .fmb from linux server to my XP using ftp tool,but the form builder on pc can't open it.
-
How to open Designer in Linux environment.
I have installed Business Objects XI 3.1 on Linux 5.
Now I want to create Universe and Desktop Intelligence Reports.
1. How do I open Designer. In windows we can open it from Program file. How to do it in Linux environment.
2. Do we need to install client component on Windows and then connect it to Linux Bo server.
--KuldeepKuldeep,
You misunderstood.
The client tools are Windows only. The server portion of the install can be on Windows/*nix.
The only way to launch Designer, Deski, Import Wizard etc. is from a Windows machine that can login to the CMS on *nix.
You cannot launch client tools from *nix.
Best,
Srinivas -
Where can I find a sophisticated sample app (from open source or oracle)?
I am looking for open-source or Oracle's sample applications that uses most if not all of the features in Oracle Appserver 10.1.3. Most of existing sample applications I found under the 'sample applications' link are for older version of Oracle AS, and not compatible with 10.1.3. Other requires JDeveloper, which I don't plan on using.
Any suggestions?
thanks,
HenryHenry, thanks for the feedback ... I have asked the product manager responsible for the JCA demo to take a look and update the sample. The best way to file the bug without having access to the db is tell us here. We try our best - though sometimes can't keep up - to monitor the forums, particluarly when we have a new release where lots of issues may need follow up like 10.1.3.
On the how tos that require editing the XML, normally that is because we don't have access to do the configuration in the application server control or the command line tooling. In general I recommend you use ASC console or the command line tooling - admin.client.jar or our ant tasks - for configuration as you are right that it is the most consistent and accurate way to configure the environment. This doc book gives a sense of what that tooling works for:
http://download-west.oracle.com/docs/cd/B25221_03/web.1013/b14432/admin.htm#sthref68
including ant tasks:
http://download-west.oracle.com/docs/cd/B25221_03/web.1013/b14431/anttasks.htm#sthref164
However, unlike the previous release of OAS where editing the XML files often had unexpected consequences on other instances in the cluster because of a central managed repository concept that the older release had, in 10.1.3 that concept is no longer there so editing the XML files generally works fine both in stand-alone and managed. Again, in general we recommend using the tooling but my guess is if you have found a how to that requires editing the XML files, I suspect the tooling doesn't support it yet.
Out of curiousity, I would be also interested in which one you found that had that - was it the JCA one again?
Mike. -
Hi All,
I am using solaris 10u10 on Sun Fire platform. I am getting below message on cosole.
ftpd[16809]: [ID 776383 auth.error] open_module: stat(/usr/lib/security/pam_unix_session.so.1) failed: No such file or directory
ftpd[16809]: [ID 487707 auth.error] load_modules: can not open module /usr/lib/security/pam_unix_session.so.1
ftpd[16810]: [ID 776383 auth.error] open_module: stat(/usr/lib/security/pam_unix_session.so.1) failed: No such file or directory
ftpd[16810]: [ID 487707 auth.error] load_modules: can not open module /usr/lib/security/pam_unix_session.so.1
ftpd[16815]: [ID 776383 auth.error] open_module: stat(/usr/lib/security/pam_unix_session.so.1) failed: No such file or directory
ftpd[16815]: [ID 487707 auth.error] load_modules: can not open module /usr/lib/security/pam_unix_session.so.1
ftpd[16816]: [ID 776383 auth.error] open_module: stat(/usr/lib/security/pam_unix_session.so.1) failed: No such file or directory
ftpd[16816]: [ID 487707 auth.error] load_modules: can not open module /usr/lib/security/pam_unix_session.so.1
ftpd[16817]: [ID 776383 auth.error] open_module: stat(/usr/lib/security/pam_unix_session.so.1) failed: No such file or directory
ftpd[16817]: [ID 487707 auth.error] load_modules: can not open module /usr/lib/security/pam_unix_session.so.1
Also the file is present on the server
root@atrcx1454/var/adm> ls -lrt /usr/lib/security/pam_unix_session.so.1
-rwxr-xr-x 1 root bin 20652 Mar 19 2008 /usr/lib/security/pam_unix_session.so.1
Can anyone help why above message is coming on consoleIs the ftp daemon that you use provided by the Solaris media ? If this is not the case, then would recommend to contact the software maintainer for more help.
And regarding chroot, please check this URL to know what it is : Sandbox (computer security) - Wikipedia, the free encyclopedia
Depending how this environment is configured, the library is maybe not present in this one. -
Fatal error : can not open file 'msvcrt.lib'
Hello dudes !
I am using windows and jdk1.6. I want to develop one application using JNI. As steps for JNI, i have created Helloworld java class and compiled it, then created header file using jnh. After that i have created HelloWorld.c file.
To build dll file, i am executing the below command
"cl -Ic:\java\include -Ic:\java\include\win32 -MD -LD HelloWorld.c -FeHelloWorld.dll".
Command giving the output as follows:
HelloWorld.c
Microsoft (R) Incremental Linker Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
/dll
/implib:HelloWorld.lib
/out:HelloWorld.dll
HelloWorld.obj
LINK : fatal error LNK1104: cannot open file 'MSVCRT.lib'
Can anybody say why it is giving this problem.
Also i tried giving the msvcrt.lib path as the value for -MD option,
cl -Ic:\java\include -Ic:\java\include\win32 -MD"c:\Microsoft Visual Studio 8\VC\lib" -LD HelloWorld.c -FeHelloWorld.dll
Then it is giving "can not open file LIBCMT.lib" .
Note : ...\VC\lib and ....\VC\include are added in the path.
Can anybody tell the solution for this ?
Thanks in advance!!Hi,
I was with the same problem. You have set the your VCC environment.
Path, Include and Lib.
In your directory VCC (2003 toolkit), you have a .bat file (vcvars32.bat)
Run the bat, or copy and past this command in your command prompt.
In my compilation, I run the code, wihtout -MD and -LF. In your, just:
cl -Ic:\java\include -Ic:\java\include\win32 HelloWorld.c -FeHelloWorld.dll
thanks,
Fabio Pinheiro
Brasil.
Maybe you are looking for
-
How to get current date in a specified format ?
Hi, I want to get the current date (java.util.Date()) in the format yyyy-MM-dd HH:mm:ss. Can you please tell me as to how to get that ? Regards
-
Incompatible web sites, playing wmv video on mac
I am an expert pc user switching to mac... I realized when I made the switch that they would be software that worked with PC that would not work with MAC. What has really surprised me, is there seems to be many web sites that will not work with MAC a
-
Problem configuring CAF / GP on NWDI
Hi expert, I am newbie in using CAF and JDI. Currently I required to configure CAF / GP on NWDI and I have followed the steps recommended in "Installation Cookbook - Configure CAF / FP on NWDI 7.00". I have also download the archives as listed below
-
More than one song in a slide show?
Hey, i was organizing a slide show on my new mac book pro and i was trying to put more than one song in my slide show. is this possible? i realize that u can loop the same song but that is pretty tacky for a slideshow if you ask me. plz help as soon
-
5.0 GHz band on Q5?
Hi, Does the BlackBerry Q5 can use the 5 GHz band of a Wi-Fi network? I found this page where it says "[...] your device tries to connect in the 5.0 GHz band unless the signal strength at the 2.4 GHz [...]" but I found multiple threads where people s