cannot run the "sqlplus" (merged) [message #128912] |
Thu, 21 July 2005 03:47 |
artsx
Messages: 21 Registered: June 2005 Location: Armenia
|
Junior Member |
|
|
####################################
[oracle@ora1 ~]$ sqlplus
bash: sqlplus: command not found
[oracle@ora1 ~]$
####################################
how can I run it?
and other utilities of oracle?
I'm new in linux and in oracle...
plz help, e-mail me : u@freenet.am
|
|
|
|
|
|
Re: cannot run the "sqlplus" [message #202156 is a reply to message #129280] |
Wed, 08 November 2006 07:27 |
sivasiva2k
Messages: 7 Registered: June 2005
|
Junior Member |
|
|
Hi Girish,
I tried the procedure which you have provided to start the sqlplus, But still I am having the same problem of command not found. Can you please help me.
[oracle@tkumar db_1]$ echo $PATH
[oracle@tkumar db_1]$ PATH=$PATH:$ORACLE_HOME/bin
[oracle@tkumar db_1]$ export $PATH
bash: export: `:/bin': not a valid identifier
[oracle@tkumar db_1]$ pwd
/u01/app/oracle/product/10.2.0/db_1
[oracle@tkumar db_1]$ sqlplus
bash: sqlplus: command not found
I have installed the Orale 10gR2, in Redhat Linux 4 AS. I am able to log-in using the isqlplus and em.
Any help would be appreciated
Waiting for your reply.
|
|
|
|
Re: cannot run the "sqlplus" [message #202226 is a reply to message #128912] |
Wed, 08 November 2006 17:57 |
sivasiva2k
Messages: 7 Registered: June 2005
|
Junior Member |
|
|
Hi Mahesh,
Yes it works. Thanks for your immediate response.
I am herewith posting my command sequence, so that it will be helpful for the newbies like me.
But still,
oracle@tkumar db_1]$ export $PATH
bash: export: `/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/tkumar/bin:/bin:/u01/app/oracle/product/10.2.0/db_1/bin': not a valid identifier
export command is with error message even if sqlplus works? - Is that OK??
MyCommand:
[oracle@tkumar db_1]$ pwd
/u01/app/oracle/product/10.2.0/db_1
[oracle@tkumar db_1]$ ls
admin diagnostics ldap opmn root.sh
assistants flash_recovery_area lib oracore root.sh.old
bin has log oraInst.loc slax
cdata hs md ord sqlj
cfgtoollogs install mesg oui sqlplus
clone install.platform mgw owm srvm
config inventory network perl sysman
crs javavm nls plsql tkumar.com_emsbp
css jdbc oc4j precomp uix
ctx jdk odbc racg wwg
dbs jlib olap rdbms xdk
demo jre OPatch relnotes
[oracle@tkumar db_1]$ export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
[oracle@tkumar db_1]$ echo $PATH
/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/tkumar/bin:/bin
[oracle@tkumar db_1]$ PATH=$PATH:$ORACLE_HOME/bin
[oracle@tkumar db_1]$ export $PATH
bash: export: `/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/tkumar/bin:/bin:/u01/app/oracle/product/10.2.0/db_1/bin': not a valid identifier
[oracle@tkumar db_1]$ sqlplus
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Nov 9 07:47:45 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: scott
|
|
|
|
|
Re: cannot run the "sqlplus" [message #272100 is a reply to message #202226] |
Thu, 04 October 2007 01:08 |
andrewskir
Messages: 6 Registered: October 2007
|
Junior Member |
|
|
Hey i tried with ur steps but still i am not able to execute the command. this is the steps followed
bash-2.05b$ export ORACLE_HOME=/SLOTS/slot02/oracle/db/tech_st/10.2.0/dbs
bash-2.05b$ echo $PATH
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oemora/EM/ems/oui/install
bash-2.05b$ PATH=$PATH:$ORACLE_HOME/bin
bash-2.05b$ export $PATH
bash: export: `/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oemora/EM/ems/oui/install:/SLOTS/slot02/oracle/db/tech_st/10.2.0 /dbs/bin': not a valid identifier
bash-2.05b$ sqlplus
bash: sqlplus: command not found
can anyone give suggestion whats wrong in this?
|
|
|
|
|
|
|
|
|
|
|
|
|