Lsnrctl: error while loading shared libraries: libclntsh.so.9.0:
Hi
I copied across an /opt folder from a Redhat 9 server that has Oracle 9.2.0 to a Redhat AS 4. I then set the oracle variables, hoping after that I can get the database up and running. However I get this error, when trying to start the listener or sqlplus:
lsnrctl: error while loading shared libraries: libclntsh.so.9.0: cannot open shared object file: No such file or directory
Is this library part of a certain RPM? Where can I get this RPM or this lirary?
Thanks.
I copied across an /opt folder from a Redhat 9server that has Oracle 9.2.0 to a Redhat AS 4.
So you are saying that you copied the whole
ORACLE_HOME to a new server?? Are you using same
username/group on new server?? Did you relink the
binaries after copying it? What is the output of ls
-l on ORACLE_HOME dir and as what user you are
running lsnrctl command??
Daljit SinghYes I copied the folder that has Oracle_Home and datafiles.
i have created the oracle user.
How do I relink the binaries?
I run it as oracle.
Similar Messages
-
Error while loading shared libraries: libclntsh.so.10.1
Hi,
I have installed R12 on Oracle EL 5.
AT the end during system check details,the check "database availability" shows passed, but when I checked log it says the following error at one point.
Executable : /apps/tools/oracle/VIS/apps/tech_st/10.1.2/bin/sqlplus
riwTDBup.sh exiting with status 0
sqlplus: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
Can you please let me know whether this is going to be a problem or not. If yes, how I can rectify this.
I could connect to DB using sqlplus without any issues.
Thanks
Vas
Complete message from "Database availability"
Database Availability
command: /diskb/orainstall/StageR12/startCD/Disk1/rapidwiz/bin/riwTDBup.sh /apps/tools/oracle/VIS/db/tech_st/10.2.0/VIS_home.env APPS/APPS
riwTDBup.sh started at Sun Jul 1 09:14:04 PDT 2007
Parameters passed are : /apps/tools/oracle/VIS/db/tech_st/10.2.0/VIS_home.env APPS/APPS
The environment settings are as follows ...
ORACLE_HOME : /apps/tools/oracle/VIS/db/tech_st/10.2.0
ORACLE_SID : VIS
TWO_TASK :
PATH : /apps/tools/oracle/VIS/db/tech_st/10.2.0/perl/bin:/apps/tools/oracle/VIS/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/apps/tools/oracle/VIS/db/tech_st/10.2.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/diskb/orainstall/StageR12/startCD/Disk1/rapidwiz/unzip/Linux_x64:/usr/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin
LD_LIBRARY_PATH : /apps/tools/oracle/VIS/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/apps/tools/oracle/VIS/db/tech_st/10.2.0/lib:/usr/dt/lib:/apps/tools/oracle/VIS/db/tech_st/10.2.0/ctx/lib
Executable : /apps/tools/oracle/VIS/db/tech_st/10.2.0/bin/sqlplus
riwTDBup.sh exiting with status 0
Database ORACLE_HOME connection test has succeeded
command: /diskb/orainstall/StageR12/startCD/Disk1/rapidwiz/bin/riwTDBup.sh /apps/tools/oracle/VIS/inst/apps/VIS_home/ora/10.1.2/VIS_home.env APPS/APPS
riwTDBup.sh started at Sun Jul 1 09:14:05 PDT 2007
Parameters passed are : /apps/tools/oracle/VIS/inst/apps/VIS_home/ora/10.1.2/VIS_home.env APPS/APPS
The environment settings are as follows ...
ORACLE_HOME : /apps/tools/oracle/VIS/apps/tech_st/10.1.2
ORACLE_SID :
TWO_TASK : VIS
PATH : /apps/tools/oracle/VIS/apps/tech_st/10.1.2/bin:/usr/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/diskb/orainstall/StageR12/startCD/Disk1/rapidwiz/unzip/Linux_x64:/usr/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin
LD_LIBRARY_PATH : /apps/tools/oracle/VIS/apps/tech_st/10.1.2/lib32:/apps/tools/oracle/VIS/apps/tech_st/10.1.2/lib:/usr/X11R6/lib:/usr/openwin/lib:/apps/tools/oracle/VIS/apps/tech_st/10.1.2/jdk/jre/lib/i386:/apps/tools/oracle/VIS/apps/tech_st/10.1.2/jdk/jre/lib/i386/server:/apps/tools/oracle/VIS/apps/tech_st/10.1.2/jdk/jre/lib/i386/native_threads
Executable : /apps/tools/oracle/VIS/apps/tech_st/10.1.2/bin/sqlplus
riwTDBup.sh exiting with status 0
sqlplus: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
Apps ORACLE_HOME connection test has succeeded
nullDo an su - oracle and see if you can execute any commands. If you cannot, as root, vi /home/oracle/.profile and remove any LD_ASSUME_KERNEL references.
Also note that R12 is not certified for OL 5 or RH 5.
Oracle Applications Installation and Upgrade Notes Release 12 (12.0) for Linux (64-bit)
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=416305.1
Oracle Applications Installation and Upgrade Notes Release 12 (12.0) for Linux (32-bit)
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=402310.1 -
R12 installation giving me error [while loading shared libraries: librt.so]
Hello ..
I am installing Fresh R12 installation on Fedora. I was doing Single node installation. Installation was going fine but at the point when it said run "autoconfig.sh" for APPS_TIER. I went to $INST_TOP/admin/scripts and ran "autoconfig.sh". After that installer showed me all the errors and when i try to see the log file.
I am getting following errors.
[oracle@aurie / ]$ ls
ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
[oracle@aurie / ]$ su - root
su: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
Now, I cant do anything on this machine, I try rebooting it but no matter what command i try to run i am getting above error.
Cant find any solution online.
any help would be appreciated.
ThanksHello Hussein,
I chnaged my Fedora to following ..
[root@aurie /]# cat /etc/issue
Red Hat Enterprise Linux Server release 5 (Tikanga)
Kernel \r on an \m
[root@aurie /]# cat /proc/version
Linux version 2.6.18-8.el5 ([email protected]) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Fri Jan 26 14:15:21 EST 2007
But installer is failing at the end of DB installation and it is not able to create database
==== ApplyDatabase_05092341.log ===========
Executable : /d01/oracle/VIS/db/tech_st/11.1.0/bin/sqlplus
The log information will be written to
/d01/oracle/VIS/db/tech_st/11.1.0/appsutil/log/VIS_aurie/adcrdb_VIS.txt
Creating the control file for VIS_aurie database ...
exit_code=127
Checking for errors ...
.end std out.
***sqlplus: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory***
***egrep: /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/log/VIS_aurie/adcrdb_VIS.txt: No such file or directory***
**.end err out.**
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
=============
============05092156.log============
Processing Disk68....
^M
runProcess_2
Statusstring Registering Database
Executing command: /R12_setup/startCD/Disk1/rapidwiz/jre/Linux/1.6.0//bin/java -DCONTEXT_VALIDATED=true -mx512M -classpath /R12_setup/startCD/Disk1/rapidwiz/jlib/java:/R12_setup/startCD/Disk1/rapidwiz/jlib/xmlparserv2.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/ojdbc14.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/OraInstaller.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/ewt3.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/share.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/srvm.jar oracle.apps.ad.clone.ApplyDatabase -e /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/VIS_aurie.xml -stage /R12_setup/startCD/Disk1/rapidwiz -showProgress -phase reg -nopromptmsg
Log file located at /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/log/VIS_aurie/ApplyDatabase_05092341.log
^M
| 0% completed
runProcess_3
Statusstring Configuring Database
Executing command: /R12_setup/startCD/Disk1/rapidwiz/jre/Linux/1.6.0//bin/java -DCONTEXT_VALIDATED=true -mx512M -classpath /R12_setup/startCD/Disk1/rapidwiz/jlib/java:/R12_setup/startCD/Disk1/rapidwiz/jlib/xmlparserv2.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/ojdbc14.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/OraInstaller.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/ewt3.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/share.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/srvm.jar oracle.apps.ad.clone.ApplyDatabase -e /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/VIS_aurie.xml -stage /R12_setup/startCD/Disk1/rapidwiz -showProgress -phase cfg -nopromptmsg
Log file located at /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/log/VIS_aurie/ApplyDatabase_05092342.log
^M
| 0% completed ^M
/ 0% completed ^M
- 0% completed ^M
\ 0% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
Cannot execute configure of database using RapidClone
RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process. Check log file for details.
Running Database Install Driver for VIS instance
Processing DriverFile = /R12_setup/startCD/Disk1/rapidwiz/template/adridb.drv
Running Instantiation Drivers for /R12_setup/startCD/Disk1/rapidwiz/template/adridb.drv
instantiate file:
source : /R12_setup/startCD/Disk1/rapidwiz/template/adrun11g.sh
dest : /d01/oracle/VIS/db/tech_st/11.1.0/temp/VIS_aurie/adrun11g.sh
backup : /d01/oracle/VIS/db/tech_st/11.1.0/temp/VIS_aurie/adrun11g.sh to /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/out/VIS_aurie/templbac/adrun11g.sh
setting permissions: 755
setting ownership: oracle:dba
instantiate file:
source : /R12_setup/startCD/Disk1/rapidwiz/template/adrundb.sh
dest : /d01/oracle/VIS/db/tech_st/11.1.0/temp/VIS_aurie/adrundb.sh
backup : /d01/oracle/VIS/db/tech_st/11.1.0/temp/VIS_aurie/adrundb.sh to /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/out/VIS_aurie/templbac/adrundb.sh
setting permissions: 755
setting ownership: oracle:dba
Step 0 of 5
Command: /d01/oracle/VIS/db/tech_st/11.1.0/temp/VIS_aurie/adrun11g.sh
Step 1 of 5: Doing UNIX preprocessing
Processing Step 1 of 5
Step 1 of 5
Command: /d01/oracle/VIS/db/tech_st/11.1.0/temp/VIS_aurie/adrundb.sh
Step 2 of 5: Doing UNIX preprocessing
Processing Step 2 of 5
Executing: /d01/oracle/VIS/db/tech_st/11.1.0/temp/VIS_aurie/adrundb.sh
STARTED INSTALL PHASE : DATABASE : Sun May 10 09:33:17 PDT 2009
Preparing environment to install databases ...
Setting LD_LIBRARY_PATH to - /R12_setup/startCD/Disk1/rapidwiz/lib/Linux -
Setting PATH to - /R12_setup/startCD/Disk1/rapidwiz/jlib/java:/R12_setup/startCD/Disk1/rapidwiz/jlib/xmlparserv2.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/ojdbc14.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/OraInstaller.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/ewt3.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/share.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/srvm.jar -
Setting CLASSPATH to - /R12_setup/startCD/Disk1/rapidwiz/jlib/java:/R12_setup/startCD/Disk1/rapidwiz/jlib/xmlparserv2.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/ojdbc14.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/OraInstaller.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/ewt3.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/share.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/srvm.jar -
... installing VISION demo database
FINISHED INSTALL PHASE : DATABASE : Sun May 10 09:33:18 PDT 2009
/d01/oracle/VIS/db/tech_st/11.1.0/temp/VIS_aurie/adrundb.sh has succeeded
=============
Now, I am again hitting the same issue .. whatever I try to do after this fail installation i am getting following
*[oracle@aurie 11.1.0]$ ls*
ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
*[oracle@aurie 11.1.0]$ cat /etc/issue*
cat: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
*[oracle@aurie 11.1.0]$ cd /*
*[oracle@aurie /]$ ls*
ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory -
Error while loading shared libraries
error while loading shared libraries
I just installed 10g . on a Fedora Core 4 machine and after a reboot I tried to run sqlplus and got this type of error. I also got the same error when trying to lsnrctl status ...
[oracle@localhost ~]$ sqlplus
sqlplus: error while loading shared libraries: /apps/oracle/product/10g/lib/libnnz10.so: cannot restore segment prot after reloc: Permission denied
[oracle@localhost ~]$
declare -x CLASSPATH="/apps/oracle/product/10g/JRE:/apps/oracle/product/10g/jlib:/apps/oracle/product/10g/rdbms/jlib"
declare -x EDITOR="vi"
declare -x G_BROKEN_FILENAMES="1"
declare -x HISTSIZE="1000"
declare -x HOME="/home/oracle"
declare -x HOSTNAME="localhost.localdomain"
declare -x INPUTRC="/etc/inputrc"
declare -x KDEDIR="/usr"
declare -x LANG="en_US.UTF-8"
declare -x LD_LIBRARY_PATH="/apps/oracle/product/10g/lib:/lib:/usr/lib"
declare -x LESSOPEN="|/usr/bin/lesspipe.sh %s"
declare -x LOGNAME="oracle"
declare -x LS_COLORS="no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:"
declare -x MAIL="/var/spool/mail/oracle"
declare -x OLDPWD="/home/oracle"
declare -x ORACLE_BASE="/apps/oracle"
declare -x ORACLE_HOME="/apps/oracle/product/10g"
declare -x ORACLE_SID="TST2"
declare -x ORACLE_TERM="xterm"
declare -x PATH="/apps/oracle/product/10g/bin:/usr/sbin:/apps/oracle/product/10g/bin:/usr/sbin:/apps/oracle/product/10g/bin:/usr/sbin:/apps/oracle/product/10g/bin:/usr/sbin:/apps/oracle/product/10g/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin"
declare -x PWD="/home/oracle"
declare -x QTDIR="/usr/lib/qt-3.3"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass"
declare -x SSH_CLIENT="::ffff:192.168.1.152 2503 22"
declare -x SSH_CONNECTION="::ffff:192.168.1.152 2503 ::ffff:192.168.121.8 22"
declare -x SSH_TTY="/dev/pts/2"
declare -x TERM="xterm"
declare -x TMP="/home/oracle/tmp"
declare -x TMPDIR="/home/oracle/tmp"
declare -x USER="oracle"
[oracle@localhost ~]$
Any input would be highly appreciated.
Thanks
Ambrosiusyap. got it..
disabled SELinux then run it.
I didn't get any errors and have it up and running. Here is what I did:
Full Fedora Core 4 install with SELinux enabled (default settings). Then, after install, disable SELinux in the /etc/selinux/config file.
Thanks
Ambrosius -
Error while loading shared libraries libnnz10.so with brconnect
Hi
I am experiencing some problems within an installation, brconnect seems to be looking for oracle 10 libraries? while my oracle is a 9.2 !
these are the logs:
ERROR CJS-00288 Could not update database statistics.<br>DIAGNOSIS: Command brconnect -u / -c -f crsyn -o SAPXID returned 127.<br>SOLUTION: See brconnect.log for details.
brconnect.log:
Execution of the command "/sapmnt/XIE/exe/brconnect -u / -c -f crsyn -o SAPXID" finished with return code 127. Output:
/sapmnt/XIE/exe/brconnect: error while loading shared libraries: libnnz10.so: cannot open shared object file: No such file or directory
Yes, that's true, libnnz10.so does not exist, it happened something similar with the library libclntsh.so.10.1, I only have a libclntsh.so, with a softlink from libclntsh.so.9.
maybe the brtools imagine I have an oracle 10?
I specified a 9.2 Oracle during the installation!
Many thanks, Mario.>
Tecnica de Sistemas wrote:
> I am experiencing some problems within an installation, brconnect seems to be looking for oracle 10 libraries? while my oracle is a 9.2 !
> [...]
> I specified a 9.2 Oracle during the installation!
Installation of what?
Clearly the BRTOOLS are version 700, so, even when you specified that Oracle 9i was to be installed the BRTOOLS delivered are the mentioned version and you
must install the oracle 10g instant client or
replace the version 700 by version 640
Regards -
Instant Client sqlplus: error while loading shared libraries: libsqlplus.so
os : Linux ch5dlfp090 2.6.18-128.el5 #1 SMP Wed Dec 17 11:58:23 EST 2008 ppc64 ppc64 ppc64 GNU/Linux
Oracle : Instant client
[oracle@ch5dlfp090 instantclient_10_2]$ pwd
/shared/instantclient/64bit/instantclient_10_2
[oracle@ch5dlfp090 instantclient_10_2]$ ls -ltr
total 108288
-rwxrwxr-x 1 oracle dba 72658720 Dec 27 2008 libociei.so
-rwxrwxr-x 1 oracle dba 41007 Dec 27 2008 genezi
-rw-rw-r-- 1 oracle dba 237 Dec 27 2008 BASIC_README
-r-xr-xr-x 1 oracle dba 3790338 Dec 27 2008 libnnz10.so
-rwxrwxr-x 1 oracle dba 23543028 Dec 27 2008 libclntsh.so.10.1
-r--r--r-- 1 oracle dba 1555682 Dec 27 2008 ojdbc14.jar
-r-xr-xr-x 1 oracle dba 164432 Dec 27 2008 libocijdbc10.so
-rwxrwxr-x 1 oracle dba 3014136 Dec 27 2008 libocci.so.10.1
-r--r--r-- 1 oracle dba 1609607 Dec 27 2008 classes12.jar
-r--r--r-- 1 oracle dba 1646178 Dec 27 2008 orai18n.jar
-r-xr-xr-x 1 oracle dba 48473 Dec 27 2008 libheteroxa10.so
-rw-rw-r-- 1 oracle dba 235 Dec 27 2008 JDBC_README
-rw-rw-r-- 1 oracle dba 241 Dec 27 2008 SQLPLUS_README
-r-xr-xr-x 1 oracle dba 15629 Dec 27 2008 sqlplus
-r-xr-xr-x 1 oracle dba 1183998 Dec 27 2008 libsqlplus.so
-r-xr-xr-x 1 oracle dba 1443102 Dec 27 2008 libsqlplusic.so
-r--r--r-- 1 oracle dba 1525 Dec 27 2008 glogin.sql
drwxrwxr-x 4 oracle dba 16384 Dec 27 2008 sdk
[oracle@ch5dlfp090 instantclient_10_2]$
Issue : When I tried to connect Sqlplus
[oracle@ch5dlfp090 instantclient_10_2]$ sqlplus
sqlplus: error while loading shared libraries: libsqlplus.so: wrong ELF class: ELFCLASS64
When I connect with 32 bit instant client of Power Linux version I am able to connect
When Hardware is 64 os 64 Bit Instnat client 64 bit not working
what could be the reason ? How to resolve this ?Pl post in the Instant Client forum - Instant Client
What does "which sqlplus" return ?
This thread may be relevant - Instant client for Solaris AMD x64
HTH
Srini -
error while loading shared libraries: librt.so.1: cannot open shared object
I cant run my apache server v2.2.3.
Can someone help me?
thanks in advanceThat could be an accessibility issue. Check the user with whom you installed Apache server. Check the user has permissions to access the libraries.
-Mahendra. -
While booting linux VM getting error "error while loading shared libraries
Hi Expert,
while booting Oracle linux Virtual Machine getting error "error while loading shared libraries: libpopt.so.0 cannot open shared object file" no such file or directory
Now i am unable to boot linux, any help appreciated.
Note: Its Oracle Linux 5.8 x86_64 under Oracle VirtualBox
Edited by: IgnitedMind on Apr 30, 2013 7:12 AM
Edited by: IgnitedMind on May 1, 2013 12:04 AM
Edited by: IgnitedMind on May 1, 2013 12:06 AMWithout knowing what you have installed or what modifications you have done it is not possible to say what goes wrong. Like I previously mentioned, you may have installed an incompatible version of a core system library. Sorry, I'm not going to read any installation manual to find out what you might have done wrong. You may need to reinstall the complete system or just the popt installation package.
Based on my experience people sometimes seem to misunderstanding the concept of software version requirements, which are always minimum version requirements and does not mean, for instance, software made for gcc 4.1.10 does not work under 4.1.12. You cannot simply upgrade or downgrade core system libraries without affecting the installed system. Using YUM to install software will check this and prevent you from breaking your system. RPM does not check any dependencies and hence can break your system beyond repair. -
Hi,
I installed Oracle 10g on RHLinux AS4. I created a initOEMREP.ora file
in $ORACLE_HOME/dbs.
my .bash_profile file is,
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
#Added on 05-feb-2008
#For oracle1g db installation
export ORACLE_SID=OEMREP
export ORACLE_BASE=/home/app/oracle10gdb
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export PATH=$ORACLE_HOME/bin:$PATH:.
export LD_LIBRARY_KERNEL=$ORACLE_HOME/lib
export TNS_ADMIN=$ORACLE_HOME/network/admin
export TMP=/home/tmp
export TMPDIR=/home/tmp
While
$sqlplus "/as sysdba"
I am getting
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 6 21:27:08 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
oracleorcl: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
ERROR:
ORA-12547: TNS:lost contact
Please help me to solve this.
Regards,
MathewHi,
THank you for the replay. Where will I get this package?
Regards,
Mathew. -
Sqlplus: Error while loading shared libraries: libsqlplus.so:
Hi
The Error is as follows:
sqlplus: Error while loading shared libraries: libsqlplus.so: cannot open shared object file: no such file or directory
Installed R12 with RUP2.
User Oracle already exists.
I tried to create a user appsdev as follows:
#adduser appsdev
#passwd appsdev
#cd /home
#chmod 500 appsdev
login as user appsdev/appsdev
run the env file from $ORACLE_HOME
$sqlplus
sqlplus: Error while loading shared libraries: libsqlplus.so: cannot open shared object file: no such file or directory
if run the env file and sqlplus from user ORACLE.i don't get the error.
but from the appsdev user i get the error.
what should i do to execute sqlplus successfully from appsdev user.
regards,
charanif run the env file and sqlplus from user ORACLE.i don't get the error.
but from the appsdev user i get the error.Is the "appsdev" user the owner of the application tier? If so, source the env file under %APPL_TOP% and check then.
Did you specify the dba group as the primary group for "appsdev" user? -
I got the following error
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/tmp/install.dir.4681/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
Tuxedo 9.1 base installation complete
when tried to install Tuxedo 9.1 on unbreakable Linux 5. I am trying to install Peoplesoft.
I found this error is pretty common, not necessary appear when installing Tuxedo. I am searching around and a lot of people saying to comment out the line
export LD_ASSUME_KERNEL
The problem is I don't know which in which file I need to do it. Has anyone have the encountered the similar problem before? Thanks.After reading the installation script, I figure out which is the evil file. I just post it here so if someone get into this problem in the future, he can fix it.
Here is the solution:
Assume you are at the directory where the install.sh is. Do the following:
-bash-3.1$ cd linux/sles9/base
-bash-3.1$ cp tuxedo91_32_SLES_9_x86.bin tuxedo91_32_SLES_9_x86.bin.bak
-bash-3.1$ cat tuxedo91_32_SLES_9_x86.bin.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" >tuxedo91_32_SLES_9_x86.bin
-bash: tuxedo91_32_SLES_9_x86.bin: Permission denied
-bash-3.1$ cat tuxedo91_32_SLES_9_x86.bin.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" >tuxedo91_32_SLES_9_x86.bin
Then run the installation script
sh install.sh and be happy as I am now!!!! -
Proc: error while loading shared libraries: libwtc9.so
Hi,
I have a server with RHAS 3.0, and installed 10g database and 10g Forms and Reports.
Now, I try to compile my ProC but I receive the following error:
"[sustore@teste01 src]$ ./comp_all
conv_scci.pc
conv_scci.pc
proc: error while loading shared libraries: libwtc9.so: cannot open shared object file: No such file or directory
make: *** [conv_scci] Error 127
COMPILE_ERROR IN conv_scci.pc
COMPILE_ERROR IN conv_scci.pc
help_eaf.pc
" etc...
Can anyone help me?
Thanks,
Carlosry to do this:
find / -name libwtc9.so
will be appear path where is placed this library
and/or without firts step define following ENV var:
if already declared LD_LIBRARY_PATH
export source LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:<path where is placed you library>
if not declared LD_LIBRARY_PATH
export source LD_LIBRARY_PATH=/usr/lib:/user/sbin/lib:<path where is placed you library> -
Hi,
I'm installing Oracle 9i on IA 64, OS linux. I keep getting the following error when I run sqlplus
oracleoracle: error while loading shared libraries: libodm9.so: cannot open shared object file: No such file or directory
ERROR:
ORA-24314: service handle not initialized
the LD_LIBRARY_PATH=$ORACLE_HOME/lib
is set in the environment. After this error it prompts me for a user name?
RegardsHi Ruben
Before starting please make sure you have maintained all env for sidadm
commands may vary depending on os in case
Whenever I start SAPINST I set following before hand
TMPDIR=/usr/sap/install/SRA_CI : just a log directory
export TMPDIR
LD_LIBRARY_PATH=/usr/sap/sapmnt/SRA/exe
export LD_LIBRARY_PATH
umask 022
JAVA_HOME=/usr/sap/java
export JAVA_HOME
PATH=$/bin:$
export PATH
SAPINST_JRE_HOME=/usr/sap/java
export SAPINST_JRE_HOME
Hope this helps
success!! -
Ops center 12c installation last stage we are getting below error :
INFO: starting new satellite SMF services
satadm: Enable HTML redirect
satadm: Disabling application/scn/ec-server-splashpage
/opt/sun/xvmoc/bin/svcadm: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
satadm: ERROR: application/scn/ec-server-splashpage failed to stop
satadm: Starting Enterprise Controller with SMFlite...
svcadm: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
satadm: ERROR: Error enabling Enterprise Controller run-time milestone svc:/application/scn/satellite-enable:default (rc=127)
Error: starting satellite services
Command: /opt/sun/xvmoc/bin/satadm start -v -w
Exit code: 1
Output:
Please fix the problem and then try this step again.
For a full log of the failed install see the file: /var/tmp/installer.log.14112.
t. Try this step again (correct the failure before proceeding)
x. ExitHi Valentin
The copy error occurs when you try to copy the files to the main OS that has allocated the VM ?
Because another option is to get those files toward the VM across and ftp server. You could use
an ftp server installed in the main machine or in the network where you are connected o inclusive from
your mail if you have connection to internet.
Joel Perez
Oracle Ace Member
DBA Oracle -
Hi Gurus,
I'm trying to upgrade my test 9.2.0.8 rac to 10.1 rac. I cannot upgrade to 10.2 because of RAM limitations on my test RAC. 10.1 Clusterware software was successfully installed and the daemons are up with OCR and voting disk created. Then during the installation of RAC software at the end, root.sh needs to be run. When I run root.sh, it gave the error: while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory. I have libpthread.so.0 in /lib. I looked up on metalink and found Doc ID: 414163.1 . I unset the LD_ASSUME_KERNEL in vipca (unsetting of LD_ASSUME_KERNEL was not required in srvctl because there was no LD_ASSUME_KERNEL in srvctl). Then I tried to run vipca manually. I receive the following error: Error 0(Native: listNetInterfaces:[3]). I'm able to see xclock and xeyes. So its not a problem with x.
OS: OEL5 32 bit
oifcfg iflist
eth0 192.168.2.0
eth1 10.0.0.0
oifcfg getif
eth1 10.0.0.0 global cluster_interconnect
eth1 10.1.1.0 global cluster_interconnect
eth0 192.168.2.0 global public
cat /etc/hosts
192.168.2.3 sunny1pub.ezhome.com sunny1pub
192.168.2.4 sunny2pub.ezhome.com sunny2pub
192.168.2.33 sunny1vip.ezhome.com sunny1vip
192.168.2.44 sunny2vip.ezhome.com sunny2vip
10.1.1.1 sunny1prv.ezhome.com sunny1prv
10.1.1.2 sunny2prv.ezhome.com sunny2prv
My questions are:
should ping on sunny1vip and sunny2vip be already working? As of now they dont work.
if you look at oifcfg getif, I initially had eth1 10.0.0.0 global cluster_interconnect,eth0 192.168.2.0 global public then I created eth1 10.1.1.0 global cluster_interconnect with setif. Should it be 10.1.1.0 or 10.0.0.0. I looked at the subnet calculator and it says for 10.1.1.1, 10.0.0.0 is the subnet. In metalink they had used 10.10.10.0 and hence I used 10.1.1.0
Any ideas on resolving this issue would be very much appreciated. I had been searching on oracle forums, google, metalink but all of them refer to DOC Id 414163.1 but it does n't seem to work. Please help. Thanks in advance.
Edited by: ayyappa on Aug 20, 2009 10:13 AM
Edited by: ayyappa on Aug 20, 2009 10:14 AM
Edited by: ayyappa on Aug 20, 2009 10:15 AMa step forward towards resolution but i need some help from the gurus.
root# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.2.3 sunny1pub.ezhome.com sunny1pub
192.168.2.4 sunny2pub.ezhome.com sunny2pub
10.1.1.1 sunny1prv.ezhome.com sunny1prv
10.1.1.2 sunny2prv.ezhome.com sunny2prv
192.168.2.33 sunny1vip.ezhome.com sunny1vip
192.168.2.44 sunny2vip.ezhome.com sunny2vip
root# /u01/app/oracle/product/crs/bin/oifcfg iflist
eth1 10.0.0.0
eth0 192.168.2.0
root# /u01/app/oracle/product/crs/bin/oifcfg getif
eth1 10.0.0.0 global cluster_interconnect
eth0 191.168.2.0 global public
root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl config nodeapps -n sunny1pub -a
****ORACLE_HOME environment variable not set!
ORACLE_HOME should be set to the main directory that contain oracle products. set and export ORACLE_HOME, then re-run.
root# export ORACLE_BASE=/u01/app/oracle
root# export ORACLE_HOME=/u01/app/oracle/product/10.1.0/Db_1
root# export ORA_CRS_HOME=/u01/app/oracle/product/crs
root# export PATH=$PATH:$ORACLE_HOME/bin
root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl config nodeapps -n sunny1pub -a
VIP does not exist.
root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl add nodeapps -n sunny1pub -o $ORACLE_HOME -A 192.168.2.33/255.255.255.0
root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl add nodeapps -n sunny2pub -o $ORACLE_HOME -A 192.168.2.44/255.255.255.0
root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl config nodeapps -n sunny1pub -a
VIP exists.: sunny1vip.ezhome.com/192.168.2.33/255.255.255.0
root# /u01/app/oracle/product/10.1.0/Db_1/bin/srvctl config nodeapps -n sunny2pub -a
VIP exists.: sunny2vip.ezhome.com/192.168.2.44/255.255.255.0
Once I execute the add nodeapps command as root on node 1, I was able to get vip exists for config nodeapps on node 2. The above 2 statements resulted me with same values on both nodes. After this I executed root.sh on both nodes, I did not receive any errors. It said CRS resources are already configured.
My questions to the gurus are as follows:
Should ping on vip work? It does not work now.
srvctl status nodeapps -n sunny1pub(same result for sunny2pub)
VIP is not running on node: sunny1pub
GSD is not running on node: sunny1pub
PRKO-2016 : Error in checking condition of listener on node: sunny1pub
ONS daemon is not running on node: sunny1pub
[root@sunny1pub ~]# /u01/app/oracle/product/crs/bin/crs_stat -t
Name Type Target State Host
ora....pub.gsd application OFFLINE OFFLINE
ora....pub.ons application OFFLINE OFFLINE
ora....pub.vip application OFFLINE OFFLINE
ora....pub.gsd application OFFLINE OFFLINE
ora....pub.ons application OFFLINE OFFLINE
ora....pub.vip application OFFLINE OFFLINE
Will crs_stat and srvctl status nodeapps -n sunny1pub work after I upgrade my database or should they be working now already? I just choose to install 10.1.0.3 software and after running root.sh on both nodes, I clicked ok and then the End of installation screen appeared. Under installed products, I see 9i home, 10g home, crs home. Under 10g home and crs home, I see cluster nodes(sunny1pub and sunny2pub) So it looks like the 10g software is installed.
Maybe you are looking for
-
Problem with printing multiple Embedded PDF in HTML page
I have a list of embedded pdf in a html page to be printed in particular order. Using following java script i am trying silently print the pdf one by one. <br /><br />var objectList=document.getElementsByTagName("object");<br /><br />for(i=0;i<object
-
I'm trying to record the output from a Keynote presentation to iMovie, so I can easily sync the audio. I've tried a number of solutions. I'm now trying Canopus's DV Converter. I've hit two problems that the (less than useful) user manual doesn't give
-
How can I upload a doc from my ipad to a yahoo group or a google group?
I need to upload files to a Yahoo group and a Google group and also download files from those groups. I can download a doc attached to an email and edit that doc. I can then email it. But I cannot upload a file, though it asks if I want to upload a p
-
Is Lightroom 4.4 and/or 5 made to take advantage of quad-core processor capabilities?
-
X240 serial number update. Please help!!
New Lenovo X240 has extra digits on machine type and serial number. I normally update serial number using a original method that boots into a utility, serialize new System Board starting: 1S(machine type)(serialnumber) (total 16digits) and syst