os autentication error [message #556667] |
Tue, 05 June 2012 23:55 |
|
priteshranjan.preet
Messages: 131 Registered: April 2012 Location: delhi
|
Senior Member |
|
|
i just try to create the user authencated by os. i follow the below steps
# useradd pritesh
# passwd ranjan
SQL> SHOW PARAMETER os_authent_prefix
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
os_authent_prefix string ops$
SQL>
CREATE USER ops$pritesh IDENTIFIED EXTERNALLY;
GRANT CONNECT TO ops$pritesh;
su - pritesh
export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
export PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_SID=ORCL
sqlplus /
when i m going to connect it gives the follwoing error
sqlplus:error while loading shared libraries: libsqlplus.so: cannot open shared object file: no such file or directory.
[pritesh@localhost ~]$
where i have done mistake please suggest me. os rhel 4 oracle 10.2.0.1.0.
regards
pritesh ranjan
[EDITED by LF: removed superfluous empty lines; applied [code] tags]
[Updated on: Wed, 06 June 2012 01:38] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: os autentication error [message #556792 is a reply to message #556784] |
Wed, 06 June 2012 11:03 |
|
Michel Cadot
Messages: 68733 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Quote:when i type the env command on my command prompt this give me following output.
Please post "env | sort"
I see no LD_LIBRARY_PATH nor LIBPATH variable (not know which is relevant on your system, set both to contain Oracle libraries).
Regards
Michel
[Updated on: Wed, 06 June 2012 11:05] Report message to a moderator
|
|
|
|
|
|
|
|
Re: os autentication error [message #556986 is a reply to message #556982] |
Thu, 07 June 2012 22:19 |
|
priteshranjan.preet
Messages: 131 Registered: April 2012 Location: delhi
|
Senior Member |
|
|
i always get this error whern change the user pritesh to oracle.
[pritesh@localhost ~]$ su - oracle
Password:
-bash: /u01/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/server:: No such file or directory
-bash: /u01/app/oracle/product/10.2.0/db_1/rdbms/lib:/u01/app/oracle/product/10.2.0/db_1/lib:/usr/lib:/usr/X11R6/lib: No such file or directory
[oracle@localhost ~]$
is this error SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
occur due to missing the above file.
regards
pritesh ranjan
|
|
|