11g Installation problem in rhel 5.4 64 bit. [message #614131] |
Sat, 17 May 2014 03:20 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/47aebdc46077b32e5b5869b3a1e080af?s=64&d=mm&r=g) |
treltenrenu
Messages: 10 Registered: June 2013 Location: Trivandrum
|
Junior Member |
|
|
HI,
Irecently installed 11g r2 in an liunx machine. The installation was sucessful and i got GUI EM. That's working fine. The problem is when i tried to login in cmd line like "sqlplus / sys as sysdba" that cannot be exexuted. It show error like ''sqlplus' is not recognized as an internal or external command". I did update about the details of the oracle home,sid number also.When I tried to echo ORACLE_SID that shows the correct sid which was mydb. but when i try echo ORACLE_HOME the result reamains blank.
Please help me how to fix this error.
|
|
|
Re: 11g Installation problem in rhel 5.4 64 bit. [message #614132 is a reply to message #614131] |
Sat, 17 May 2014 03:28 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
John Watson
Messages: 8964 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
You have not configured your shell environment correctly. You do this by running the oraenv script. Look at this:
$
$ id
uid=500(oracle) gid=500(oinstall) groups=10(wheel),500(oinstall),501(dba),502(oper),503(asmadmin),512(ora_apexres1_MYROLE_ad)
$
$ which oraenv
/usr/local/bin/oraenv
$
$ . oraenv
ORACLE_SID = [oracle] ? apexres1
The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_2 is /u01/app
$
$ env|grep ORA
ORACLE_SID=apexres1
ORACLE_BASE=/u01/app
ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_2
$
$ which sqlplus
/u01/app/oracle/product/11.2.0/db_2/bin/sqlplus
$
Run the same commands, substituting the name of your instance where I used "apexres1".
Copy/paste the results here, enclosed within [code] tags. Please read How to use [code] tags and make your code easier to read
|
|
|
|
|
Re: 11g Installation problem in rhel 5.4 64 bit. [message #614138 is a reply to message #614137] |
Sat, 17 May 2014 05:23 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](//www.gravatar.com/avatar/47aebdc46077b32e5b5869b3a1e080af?s=64&d=mm&r=g) |
treltenrenu
Messages: 10 Registered: June 2013 Location: Trivandrum
|
Junior Member |
|
|
@John Watson
Thanks for replying me.I thought that was a script and i didn't realize that are all commands.Now i understand. Those commands are really working and now i can able to connect mydb through in cmd line.
Thanks for your precious help.
|
|
|