'sqlplus' is not recognized in Oracle 11g

Hi Experts,
I have installed Oracle 11g with OWB, I can't Connect databse through Command prompt and it show the error like
"'sqlplus' is not recognized as an internal or external command, operable program or batch file"
Please Help me how to resolve.
Regards,
Sri

Hi,
It may cause of Environmental variable is not declared / removed
For Oracle 10g
Start > My Computer > Right Click > Properties Then System Properties window will been displayed.
At the System Properties, click Advanced Tab > Environment Variable Pop up Environment Variable will been displayed.
Then at the System Variable, search variable PATH and click Edit / If PATH is not available then Click on New -> Variable Name PATH and then paste the location bin file like this ;
C:\oracle\product\10.2.0\db_1\bin
For  Oracle 11g
Start > My Computer > Right Click Mouse > Properties
Then Advanced System Setting -> System Properties will been displayed.
At the System Propertie, click Advanced Tab > Environment Variable Pop up Environment Variable will been displayed.
Then at the System Variable, search variable PATH and click Edit / If PATH is not available then Click on New -> Variable Name PATH and then paste the location bin file like this ; Drive:\app\Oracle\product\11.2.0\dbhome_1\BIN
Thanks,
Balaa...

Similar Messages

  • Sqlplus is not recognized

    hi,
    When I connect to database from client it says sqlplus is not recognized as internal or external command.
    The Path is set to correct directory though
    Client 10.2.0.3 on Windows 2003
    Thanks
    Message was edited by:
    user604101
    Message was edited by:
    user604101

    oops, I think SQLPLUS is not installed on this server with the client installation. Because I cannot see sqlplus.exe in BIN directory.
    This was installed long back.
    Can anyone tell me how to install only SQLPLUS into this client?
    Thanks
    Message was edited by:
    user604101

  • Forms 6i is not connecting with Oracle 11g database?

    Forms 6i is not connecting with Oracle 11g database?
    How to resolve this issue?

    Hi,
    Once you installed the Forms and Reports, you need to configure the paramters like tnsnames.ora in you path.
    There will be one folder in the Installation path of Forms and Reports search for tnsnames.ora file..and you need to Updated the file as per the which ORACLE Server you are connecting and then try.. it..
    Default path for forms will be "ORACLE_HOME/net80/admin".. search for tnsnames.ora and modify it..
    - Pavan Kumar N

  • Sql Developer not connecting to Oracle 11g

    hi all
    i have
    windows 7 ultimate 64bit
    Oracle 11g 64bit
    Sql Developer 3
    on same machine i have created Tow Database on 11g :
    ORCL
    ORCL2
    when it was ORCL only everything was Okay
    but recently i have created another database ORACL2
    then it stop connecting with database through SQL DEveloper
    shows error;
    IO Error: the network adapter could not establish the connection
    On commnad prompt
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=AStix-PC)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    LSNRCTL>
    LSNRCTL> start
    Starting tnslsnr: please wait...
    Service OracleOraDb11g_home1TNSListener already running.
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    How to resolve this issue
    please help me out
    thanks to all

    884559 wrote:
    Have you fixed this issue?
    i m having same problem,i tried so mamy things but i was not able to fix it,
    so i uninstalled oracle and reinstalled it so it startd working fine,
    but agin after 10-15 days this problem started.
    from sqlplus i m able to connect but not using any other 3rd party IDE.
    i have also installed one instant client.
    Thanksno dear yet it's not fixed
    i have focused my mind on my work instead of R & D
    which is unexpected .. that ..no body is here for help...
    thanks

  • SQL PLUSW.EXE Not Supported on oracle 11G

    I installed Oracle 11G and am not able to connect the GUI SQL Plus. When SQLPlus.exe is
    executed, it brings me to a DOS based version of SQL Plus. Is there a way I can get the
    GUI verison installed with 11G?
    i ve installed Oracle Database 11g Release 1 Client (11.1.0.6.0)
    for Microsoft Windows (32-bit)
    but it gives me the same DOS based version
    In which version i ve to download to get GUI sql Plus on oracle 11G?

    user613197 wrote:
    I installed Oracle 11G and am not able to connect the GUI SQL Plus. When SQLPlus.exe is
    executed, it brings me to a DOS based version of SQL Plus. Is there a way I can get the
    GUI verison installed with 11G?
    i ve installed Oracle Database 11g Release 1 Client (11.1.0.6.0)
    for Microsoft Windows (32-bit)
    but it gives me the same DOS based version
    In which version i ve to download to get GUI sql Plus on oracle 11G?Do you mean internet based Sql*PLus?
    For this, you need to start the service (and you should be installed 11g Database, not client) as follows:
    isqlplusctl startThen using port number from $ORACLE_HOME/install/portlist.ini connect to GUI interface of SQL*Plus

  • CRS not starting after Oracle 11g Grid was succesuflly installed

    Hi:
    Have 2 node RAC. My Shared storage is on openfiler.
    Oracle 11g Grid was successfully installed and all the services was working fine. When i restarted the system I found CRS was not coming up. Remaining processes were up and running.
    Let me explain what I did: (O/s RHEL 5.4 & oracle 11g R2 grid)
    I have a partition in shared disk /dev/sdc1 (I have other partitions, but thought of using only one for OCR and voting disk). (did not define it as raw partition as I used to do in 10g RAC).
    While installing Oracle grid and when it prompted to enter the Diskgroup for OCR and Voting disk I gave a name DGDATA and choose only one (external redundancy) disk “/dev/sdc1″ (it does not ask for one for OCR and one for Voting as it used to do in 10g clusterware installation). As per my assumption both OCR and Voting disk were created within /dev/sdc1 (after installation when I queried I got the same info)
    The Oracle grid installation has gone through successfully. when I restart the system I find CRS not starting.
    The log says: “Error PROC:26: Error while accessing the physical storage ASM……..
    ORA-01034: oracle not available...
    Could not init OCR, code:26….
    Linux permission denied".
    For your information….ASM instance is up (check in both the nodes) and I find the diskgroup mounted.
    Can anyone help on this.
    Also let me know how to uninstall Oracle 11g Grid software and configuration. If I have to reinstall the Oracle 11g grid software and config once again is it possible without reinstalling RHEL. Let me know the steps or any link please. don't want to get into a mess again.
    Thanks in advance.
    Regards
    Dinesh

    Jorg, I even tried to nomount the DB instance using initDBRAC.ora pfile. Then tried to create spfile still got the same error.
    The second trace file which I have pasted looks like some memory dump.
    ASM_DISKSTRING= /dev/sdc*
    ***********************************************************************1st trace file
    Fatal NI connect error 12547, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/crs/11.2.0/grid/bin/oracle)(ARGV0=oracle+ASM1_o000_dbrac)(ENVS='ORACLE_HOME=/crs/11.2.0/grid,ORACLE_SID=+ASM1')(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(enable=setuser)(CONNECT_DATA=(CID=(PROGRAM=oracle@skyit6)(HOST=skyit6)(USER=oracle))))
    VERSION INFORMATION:
    TNS for Linux: Version 11.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
    Time: 01-JUN-2011 01:27:07
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12547
    TNS for Linux: Version 11.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
    Time: 01-JUN-2011 01:27:07
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12547
    TNS-12547: TNS:lost contact
    ns secondary err code: 12560
    nt main err code: 517
    TNS-00517: Lost contact
    nt secondary err code: 32
    nt OS err code: 0
    ERROR: Failed to connect with connect string: (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/crs/11.2.0/grid/bin/oracle)(ARGV0=oracle+ASM1_o000_dbrac)(ENVS='ORACLE_HOME=/crs/11.2.0/grid,ORACLE_SID=+ASM1')(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(enable=setuser))
    Wed Jun 01 01:27:07 2011
    ERROR: slave communication error with ASM; terminating process 16772
    Errors in file /oraeng/app/oracle/product/diag/rdbms/dbrac/DBRAC/trace/DBRAC_ora_16772.trc:
    ----======================2nd trace file
    Trace file /oraeng/app/oracle/product/diag/rdbms/dbrac/DBRAC/trace/DBRAC_ora_16772.trc
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Real Application Clusters option
    ORACLE_HOME = /oraeng/app/oracle/product/11.2.0
    System name: Linux
    Node name: skyit6
    Release: 2.6.18-164.el5
    Version: #1 SMP Tue Aug 18 15:51:54 EDT 2009
    Machine: i686
    Instance name: DBRAC
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 25
    Unix process pid: 16772, image: oracle@skyit6 (TNS V1-V3)
    *** 2011-06-01 01:27:07.010
    *** SESSION ID:(1.3) 2011-06-01 01:27:07.010
    *** CLIENT ID:() 2011-06-01 01:27:07.010
    *** SERVICE NAME:() 2011-06-01 01:27:07.010
    *** MODULE NAME:(sqlplus@skyit6 (TNS V1-V3)) 2011-06-01 01:27:07.010
    *** ACTION NAME:() 2011-06-01 01:27:07.010
    ERROR: slave communication error with ASM; terminating process 16772
    *** 2011-06-01 01:27:07.035
    dbkedDefDump(): Starting a non-incident diagnostic dump (flags=0x0, level=2, mask=0x0)
    ----- Error Stack Dump -----
    ----- Current SQL Statement for this session (sql_id=bff5sku8phfgx) -----
    create spfile='+dgasmspfile/spfileDBRAC.ora' from pfile
    *** 2011-06-01 01:27:07.070
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    skdstdst()+41 call kgdsdst() BF9E05FC ? 2 ?
    ksedst1()+77 call skdstdst() BF9E05FC ? 0 ? 1 ? AB80E70 ?
    852F42A ? AB80E70 ?
    ksedst()+33 call ksedst1() 0 ? 1 ?
    dbkedDefDump()+2699 call ksedst() 0 ? 0 ? BF9E0D40 ? 0 ? 0 ?
    0 ?
    ksedmp()+47 call dbkedDefDump() 2 ? 0 ?
    kfTerminateMe()+75 call ksedmp() 2 ? 3 ? F1170AC ? F149234 ?
    5 ? BF9E0A6C ?
    kfnCheckCommError() call kfTerminateMe() F149234 ? BF9E0C1C ?
    +32 B033D83 ? 29392378 ?
    F149234 ? EB00601 ?
    kfncSlaveSubmit()+5 call kfnCheckCommError() 29392378 ? F149234 ?
    83
    kfncFileDelete()+11 call kfncSlaveSubmit() BF9E0E5C ? 0 ? F147B24 ?
    81
    kfioDelete()+126 call kfncFileDelete() 29DEE0 ? 1C ?
    ksfddel1()+582 call kfioDelete() 29DEE0 ? 1C ? D ?
    ksfddel()+187 call ksfddel1() 29DEE0 ? 1C ? D ? 0 ?
    BF9E0F2C ? 9BA2 ?
    ksp_spfile_create() call ksfddel() 29DEE0 ? 1C ? D ? 0 ?
    +677
    kspcspfp()+791 call ksp_spfile_create() BF9E49D4 ? 0 ? 29DEE0 ? 1C ?
    7D02 ? 0 ?
    kspocte()+67 call kspcspfp() 29DEE0 ? 1C ? F074CC4 ? F ?
    61,1 1%
    Regards
    Dinesh

  • Pro C Demo files not available in Oracle 11g

    Hi
    I have recently installed Oracle 11g rel1 in windows XP from downloading from oracle site. But no Pro C precompiler demo file or pcmake.bat file is installed in with this installation. As result i am not able to produce executable from .pc file. Can anyone help how i can install these files?
    Thanks
    Sas

    Pl post details of your OS and specific 11g versions. Assuming the OS is some certified version of Windows, the Pro*C/C++ compiler is a pre-req for the Oracle install. It needs to be installed separately (and before) the Oracle install.
    http://download.oracle.com/docs/cd/E11882_01/install.112/e10843/reqs.htm#CHDHGGFE
    HTH
    Srini

  • ChangePerm.sh file does not exist in Oracle 11g installation

    Hi All,
    I have done successful Oracle 11g installation. After installation I noticed that Oracle 11g/installation does not have changePerm.sh file. Did anyone of you seen that?
    Without executing changeperm.sh file, the binary files have 751 permission level. ChangePerm.sh script make change in file permission to 755.
    Oracle support is not answering me why there was no changePerm.sh file under Oracle_home/install directory.
    Thoughts/suggestions..
    Thank you
    Suresh

    I'm not finding this to be the case reliably. I have both a 10G and an 11G install on one particular machine and the 11G installer initially creates the directories with a 755 permission, then right before the prompt to run root.sh, and at the same time it locks down any 10G home it finds (someone please explain that!) it locks down the 11G home too.
    In true Murphy tradition, this hasn't happened on any of my testing machines, just my production.
    Whatever silly contrived mechanism Oracle wrote to re-lock 10G when installing 11G is also locking down my 11G.

  • Sqlplus is not working after oracle 10g client installatio on linux server

    Him
    jsut now i installed oracle 10.2.0.1 client version in one my linux server. after successfully installation sqlplus is not working . could you please chekc and let me know what is the problem? below are my .profile details.
    # Set up the shell variables:
    EDITOR=vi
    export EDITOR
    ### Set the umask
    umask 022
    ### Set ulimit
    #ulimit -u 16384
    #ulimit -n 65536
    ### Set Oracle Environment
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=/u01/app/oracle/product/10.2.0/client_1
    export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib
    export LIB_PATH=$ORACLE_HOME/lib
    export ORATAB=/etc/oratab
    export NLS_LANG=american_america.we8iso8859p1
    export THREADS_FLAG=native
    echo ' '
    echo 'Oracle 10G environment has been setup'
    echo 'Export the ORACLE_SID to target database before connecting'
    echo ' '

    841731 wrote:
    Him
    jsut now i installed oracle 10.2.0.1 client version in one my linux server. after successfully installation sqlplus is not working . could you please chekc and let me know what is the problem? below are my .profile details.
    # Set up the shell variables:
    EDITOR=vi
    export EDITOR
    ### Set the umask
    umask 022
    ### Set ulimit
    #ulimit -u 16384
    #ulimit -n 65536
    ### Set Oracle Environment
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=/u01/app/oracle/product/10.2.0/client_1
    export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib
    export LIB_PATH=$ORACLE_HOME/lib
    export ORATAB=/etc/oratab
    export NLS_LANG=american_america.we8iso8859p1
    export THREADS_FLAG=native
    echo ' '
    echo 'Oracle 10G environment has been setup'
    echo 'Export the ORACLE_SID to target database before connecting'
    echo ' '" sqlplus is not working" is not an actionable error message. Unfortunately, you didn't show us what happens when you try to execute sqlplus.
    Essentially, what you've done is the equivalent of 'here's a picture of my garage. Why won't my car start?'

  • SCAN name could not resolve in Oracle 11g R2

    Hi all,
    I have a setup of 2 node with Solaris 10u8 machine for Oracle 11g R2 RAC.
    I entered the scanip in windows DNS.
    When i try to nslookup from solaris it is not getting resolved.But from the DNS it is getting resolved.
    I have changed as nsswitch.conf file and created resolve.conf and entered the proper entries.
    Please help me..
    Regards
    Bobs

    Hi all
    I resolved it.
    Issue was my resolv.conf was named as resolve.conf.
    I changed the file name as resolv.conf and the problem got solved.
    Now i can resolve the scan ip through nslookup scan-name
    Regards
    Bobs

  • EMCTL not running on Oracle 11g (R2)

    Hi All,
    I have installed Oracle 11g (R2) on RHEL 5.3, everything went smooth and the installation got successfull, but the emctl is not running, when i try to give command "emctl start dbconsole" , "emctl status dbconsole", "emctl secure dbconsole" , it ends up with
    Can't locate CompEMdbconsole.pm in @INC (@INC contains: %s_javapOracleHome%/sysman/admin/scripts %s_javapOracleHome%/bin /opt/oracle/app/oracle/product/11.2.0/dbhome_1/perl/lib/5.10.0/i686-linux-thread-multi /opt/oracle/app/oracle/product/11.2.0/dbhome_1/perl/lib/5.10.0 /opt/oracle/app/oracle/product/11.2.0/dbhome_1/perl/lib /opt/oracle/app/oracle/product/11.2.0/dbhome_1/perl/lib/site_perl/5.10.0/i686-linux-thread-multi /opt/oracle/app/oracle/product/11.2.0/dbhome_1/perl/lib/site_perl/5.10.0 /opt/oracle/app/oracle/product/11.2.0/dbhome_1/perl/lib/site_perl /opt/oracle/app/oracle/product/11.2.0/dbhome_1/perl/libwww-perl/lib /opt/oracle/app/oracle/product/11.2.0/dbhome_1/perl/ext/POSIX /opt/oracle/app/oracle/product/11.2.0/dbhome_1/perl/URI /opt/oracle/app/oracle/product/11.2.0/dbhome_1/perl/HTML_Parser /opt/oracle/app/oracle/product/11.2.0/dbhome_1/perl/HTML-Parser/lib /opt/oracle/app/oracle/product/11.2.0/dbhome_1/sysman/admin/scripts /opt/oracle/app/oracle/product/11.2.0/dbhome_1/bin /opt/oracle/app/oracle/product/11.2.0/dbhome_1/sysman/admin/scripts/Net-DNS-0.48/lib/ /opt/oracle/app/oracle/product/11.2.0/dbhome_1/sysman/admin/scripts/libnet-1.19/ .) at /opt/oracle/app/oracle/product/11.2.0/dbhome_1/bin/EmctlCommon.pm line 597.
    So, please help me where i can get this file "CompEMdbconsole.pm" in order to start and run OEM
    Thanks

    Hi Ogan, Thanks for the reply, here is the output of command set
    BASH=/bin/bash
    BASH_ARGC=()
    BASH_ARGV=()
    BASH_LINENO=()
    BASH_SOURCE=()
    BASH_VERSINFO=([0]="3" [1]="2" [2]="25" [3]="1" [4]="release" [5]="i686-redhat-linux-gnu")
    BASH_VERSION='3.2.25(1)-release'
    COLORS=/etc/DIR_COLORS
    COLUMNS=178
    CVS_RSH=ssh
    DIRSTACK=()
    EUID=500
    GROUPS=()
    G_BROKEN_FILENAMES=1
    HISTFILE=/opt/oracle/.bash_history
    HISTFILESIZE=1000
    HISTSIZE=1000
    HOME=/opt/oracle
    HOSTNAME=localhost.localdomain
    HOSTTYPE=i686
    IFS=$' \t\n'
    INPUTRC=/etc/inputrc
    KDEDIR=/usr
    KDE_IS_PRELINKED=1
    KDE_NO_IPV6=1
    LANG=en_US.UTF-8
    LD_ASSUME_KERNEL=2.6.18
    LD_LIBRARY_PATH=/usr/local/lib
    LESSOPEN='|/usr/bin/lesspipe.sh %s'
    LINES=57
    LOGNAME=oracle
    LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:'
    MACHTYPE=i686-redhat-linux-gnu
    MAIL=/var/spool/mail/oracle
    MAILCHECK=60
    NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    OPTERR=1
    OPTIND=1
    ORACLE_HOME=/opt/oracle/app/oracle/product/11.2.0/dbhome_1
    ORACLE_TERM=xterm
    ORA_NLS33=/opt/oracle/app/oracle/product/11.2.0/dbhome_1/ocommon/nls/admin/data
    OSTYPE=linux-gnu
    PATH=/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/opt/oracle/bin:/opt/oracle/app/oracle/product/11.2.0/dbhome_1/bin
    PIPESTATUS=([0]="0")
    PPID=25076
    PRELINKING=yes
    PRELINK_FULL_TIME_INTERVAL=14
    PRELINK_NONRPM_CHECK_INTERVAL=7
    PRELINK_OPTS=-mR
    PS1='[\u@\h \W]\$ '
    PS2='> '
    PS4='+ '
    PWD=/opt/oracle
    QTDIR=/usr/lib/qt-3.3
    QTINC=/usr/lib/qt-3.3/include
    QTLIB=/usr/lib/qt-3.3/lib
    SHELL=/bin/bash
    SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
    SHLVL=1
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_CLIENT='192.168.2.253 29612 22'
    SSH_CONNECTION='192.168.2.253 29612 192.168.2.164 22'
    SSH_TTY=/dev/pts/1
    TERM=vt100
    UID=500
    USER=oracle
    _=clear
    consoletype=pty
    mpi_selection=
    mpi_selector_dir=/var/lib/mpi-selector/data
    mpi_selector_homefile=/opt/oracle/.mpi-selector
    mpi_selector_sysfile=/etc/sysconfig/mpi-selector
    qt_prefix=/usr/lib/qt-3.3
    tmpid=500

  • Arabic language not displayed in Oracle 11g

    Dear all,
    I have problem in inserting data Arabic language into oracle database 11g.. it displays " ??????? "
    I am programming a php application that insert data into oracle database, and I did as described in forums but still not working.
    here is what i did:
    NLS_LANG value is set to AMERICAN_AMERICA.AR8MSWIN1256
    Database character set is: AL32UTF8
    Arabic language is installed in windows regional and language settings, and Arabic keyboard
    HTML page character set is: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    I cant figure out whats causes the problem in my case. any help will be much appreciated.
    Regards

    Hi guys
    and thanks for the replies.. and sorry for my late reply
    I tried using ARABIC_UNITED ARAB EMIRATES.AR8MSWIN1256 in NLS_LANG but still the same issue,
    The way am viewing the input is via Oracle Enterprise Manager.
    And the way am inserting the values are via html form and php.
    Also, I tried selecting data and viewing it in the browser but also show "????"
    I haven't try AL32UTF8 instead of AR8MSWIN1256 yet, am gonna try and reply soon.
    Thanks

  • Sqlplus is not working in oracle client machine.

    In one of the application server on which Oracle client is installed, While login thru unix shell script im getting below error.
    "Error 6 initializing SQL*Plus
    Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory "
    /u/testuser>cat .profile
    # Copyright (c) 2001 by Sun Microsystems, Inc.
    # All rights reserved.
    # ident "@(#)local.profile 1.10 01/06/23 SMI"
    stty istrip
    PATH=/usr/bin:/usr/ucb:/etc:.
    export PATH
    stty erase '^?'
    PS1='$PWD>'
    export LD_LIBRARY_PATH=/oracle_home/x86/product/10.2.0/lib
    export ORACLE_HOME=/oracle_home/x86/product/10.2.0
    PATH=$PATH:/usr/bin:/usr/ucb:/etc:.:.:/oracle_home/x86/product/10.2.0/bin
    export PATH
    export TNS_ADMIN=/u/testuser
    CLASSPATH=.:/oracle_home/x86/product/10.2.0/jdbc/lib/classes12.jar
    export CLASSPATH
    alpha=/mydir/var/alpha/proj/logs//u/testuser>
    Thanks in advance.

    >
    export LD_LIBRARY_PATH=/oracle_home/x86/product/10.2.0/lib
    export ORACLE_HOME=/oracle_home/x86/product/10.2.0Why don't you:
    export ORACLE_HOME=/whatever
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    ?

  • Create Type as Object not working in linux oracle 11g

    Pleae refer to the following simple create type as object statement.
    CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER)
    It is working in oracle 11g and windows server 2008 environment.
    But it is not working in oracle 11g with linux environment.
    I am executing this statement as dynamic sql as follows
    CREATE OR REPLACE PROCEDURE TEMP_SP
    AS
    BEGIN
    DECLARE vcType VARCHAR2(30);
    BEGIN
    SELECT OBJECT_TYPE into vcType FROM USER_OBJECTS
    WHERE OBJECT_NAME='EC_VIEWABLETYPES' AND OBJECT_TYPE='TYPE';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    EXECUTE IMMEDIATE 'CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER) ';
    COMMIT;
    RETURN;
    END;
    END;
    exec TEMP_SP
    please let me know what i am missing ?

    And error is:ORA-00600: internal error code, arguments: [kothc_uc_md5:lxerr], [], [], [], [], [], [], [], [], [], [], []
    ORA-06512: at "ATIPAGENT.TEMP_SP", line 10
    ORA-01403: no data found
    ORA-06512: at line 1
    ..Query:exec TEMP_SP...Previous Query:CREATE OR REPLACE PROCEDURE TEMP_SP AS BEGIN DECLARE vcType VARCHAR2(30); BEGIN
    SELECT OBJECT_TYPE into vcType FROM USER_OBJECTS
    WHERE OBJECT_NAME='EC_VIEWABLETYPES' AND OBJECT_TYPE='TYPE'; EXCEPTION WHEN NO_DATA_FOUND THEN
    EXECUTE IMMEDIATE 'CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER) ';
    COMMIT;
    RETURN;
    END;
    END;

  • Load balancing is not happening on RAC (oracle 11g Rel 2) on Linux 5.1

    Hi,
    Load balancing is not happening on Oracle 11g RAC. We have defined the SCAN listener and confured the TNS accordingly. Still we get the load maximum on node2 and less load on Node1 or vice versa. Please suggest me what to do?

    This is not the right forum to ask this question.
    regards

Maybe you are looking for