DURING INSTALLATION OF ORACLE LAUNCH SQLPLUS FAILS
[oracle@~]$ sqlplus
-bash: sqlplus: command not found
Solution:
Go to ORACLE_HOME (Path oracle is installed)
[oracle@~]$ cd /opt/oracle/product/11.2.0/dbhome_1/
[oracle@ dbhome_1]$ export ORACLE_HOME=/opt/oracle/product/11.2.0/dbhome_1
[oracle@dbhome_1]$ cd bin/
[oracle@ bin]$ ./sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Tue Oct 11 20:53:19 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
To permanent fix this add following entries into .bash_profile file at /home/oracle location.
ORACLE_HOME=/opt/oracle/product/11.2.0/dbhome_1
export ORACLE_HOME
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
export PATH
[oracle@~]$ sqlplus
-bash: sqlplus: command not found
Solution:
Go to ORACLE_HOME (Path oracle is installed)
[oracle@~]$ cd /opt/oracle/product/11.2.0/dbhome_1/
[oracle@ dbhome_1]$ export ORACLE_HOME=/opt/oracle/product/11.2.0/dbhome_1
[oracle@dbhome_1]$ cd bin/
[oracle@ bin]$ ./sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Tue Oct 11 20:53:19 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
To permanent fix this add following entries into .bash_profile file at /home/oracle location.
ORACLE_HOME=/opt/oracle/product/11.2.0/dbhome_1
export ORACLE_HOME
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
export PATH
No comments:
Post a Comment