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?'

Similar Messages

  • Simple insert, delete and update not working after oracle 10g installation

    Hello,
    I made a new installation of Oracle 10g (10.2.0.1.0) and created a schema . Now i try to insert or update data using simple queries, but unfortunately nothing happens. I tried inserting or updating data even via sqlplus, but unfortunately the same result. Query takes infinite time to end, so i had to manually end it every time... No errors... No warnings... but takes long time... I have given all the required permissions to the schema but the same result. Can somebody help me figure out the problem?
    Tried creating a new table and the insert and delete are working fine... think the problem is with this table... Imported the rows of the table from another online database. I dont understand how this might be a problem.
    Edited by: user13333704 on Mar 15, 2011 1:26 AM

    However how do you generate awr reports and how to find the session wait?TO generate the AWR report
    sql> ?/rdbms/admin/awrrpt
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/autostat.htm#BABDHAGF
    The event column in v$session , in v$active_session_wait will show you the session wait event.What the session was actually waiting for.
    HTH
    Anand

  • What will you do if any SQL is not working.in oracle 10g...apps 11.5.10.2

    What will you do if any SQL is not working. in oracle 10g....apps 11.5.10.2

    928714 wrote:
    yes sir.If you help me in answering my questions i wll be very thankful to you sir.
    tnx,I haven't a clue.
    As you have been advised in many of your posts, go study the documentation for whichever specific topic you are interested in.
    For me to answer your questions, I would need to go get that documentation.
    Then I would need to read that documentation.
    Then I would need to write a forum post that interprets what I think I learned from that documentation.
    It is so very much faster if YOU go do that instead of posting to a forum and expecting others to do it. You will remember what you study for a lot longer time if you teach yourself.

  • Table_From_Block Build-in Package is not working in Oracle 10G

    Hi
    Table_From_Block Build-in Package is not working in Oracle 10G
    Kindly advice..

    user648759 wrote:
    Hi
    Table_From_Block Build-in Package is not working in Oracle 10G
    Kindly advice..Provide a little more information. Forms version OS version, more information about your problem and question.
    --and explain what on earth Table_From_Block* mean's--
    Tony
    PS: TABLE_FORM_BLOCK is a built-in for internal use, usually auto generated by forms. For a moment I didn't get what that meant, need more coffee.
    Edited by: Tony Garabedian on Aug 29, 2008 12:39 PM

  • Select * from tab is not working in oracle 10g

    select * from tab is not working in oracle 10g. But at the same time,
    select * from <<table>> is working.
    Please advise me.

    This works for me in 10.2.0.2
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select * from tab;
    TNAME                          TABTYPE            CLUSTERID
    LOAN_DETAIL                    TABLE
    PLAN_TABLE                     TABLE
    ...

  • Connect linux 4 oracle 10g client to window 2003 server oracle 10g server

    Hi,
    I have my oracle 10g server installed on windows 2003 server.
    On another system i have oracle 10g client is installed having RedHad enterprise edition 4.
    I want to connect my client to the database server.
    I check using oracle universal installer it shows in installed products i.e.
    oracle 10g client is installed on linex system.
    but when i try to write any command like
    [oracle@satish ~]$ sqlplus$
    bash: sqlplus$: command not found
    [oracle@satish ~]$ tnsping
    bash: tnsping: command not foundand it doen't show any enty in applications for oracle which is strange.
    as i am new to linux.
    how to overcome this problem.
    Thanks
    Umesh

    thanks for quick reply
    i work like
    [oracle@satish ~]$ cd /home/oracle/oracle/product/10.2.0/client_1
    [oracle@satish client_1]$ ./tnsping
    bash: ./tnsping: No such file or directory
    [oracle@satish client_1]$ ./sqlplus /nolog
    bash: ./sqlplus: is a directory
    [oracle@satish client_1]$ ls
    assistants   has               jdbc     nls          oui       root.sh      wwg
    bin          hs                jdk      odbc         owm       root.sh.old  xdk
    cdata        install           jlib     olap         perl      slax
    cfgtoollogs  install.platform  jpub     OPatch       plsql     sqlj
    classes      instantclient     jre      opmn         precomp   sqlplus
    crs          inventory         ldap     oracore      racg      srvm
    css          jar               lib      oraInst.loc  rdbms     sysman
    diagnostics  javavm            network  ord          relnotes  uix
    [oracle@satish client_1]$
    and
    [oracle@satish ~]$ expot ORACLE_HOME=/home/oracle/oracle
    bash: expot: command not found
    [oracle@satish ~]$ expoRt ORACLE_HOME=/home/oracle/oracle
    bash: expoRt: command not found
    [oracle@satish ~]$ export ORACLE_HOME=/home/oracle/oracle
    [oracle@satish ~]$ export ORACLE_SID=neo
    [oracle@satish ~]$ export PATH=$PATH:/home/oracle/oracle/product/10.2.0/client_1[oracle@satish ~]$
    [oracle@satish ~]$ ./sqlplus /nolog
    bash: ./sqlplus: No such file or directory
    [oracle@satish ~]$ ./tnsping
    bash: ./tnsping: No such file or directory
    [oracle@satish ~]$thanks
    Edited by: Umesh Sharma on Feb 20, 2009 6:33 AM

  • Lsnrctl and sqlplus do not work after installation

    I install Oracle 10g on my Linux, but it does not work. For example when run lsnrctl or sqlplus, nothing happens. Any idea?

    Hi,
    Create a bash profile .bash_profile in your home path as follows:
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    export PATH
    export ORACLE_BASE=/u01/oracle10g
    export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/dbhome_1
    export PATH=$ORACLE_HOME/bin:$PATH
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    export ORACLE_SID=TESTDB
    Save this setting and run this file first time
    $. .bash_profile
    Once you run this I hope sqlplus should work provided you supply correct path and directories names to this file.
    Use netca to recreate your listener and start it.
    $lsnrctl start
    $lsnrctl status
    Hope it will help.
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com

  • Ctrl+Z fuctianlity is not working in oracle 10g Form

    Hi
    I am using oracle 10g form and using
    Edit_TextItem to invoke Text Editor
    When i using CTRL+Z to undo things in editor it is not working but it works when i used Form6i.
    Please help me to solve this issue. i need to this functinality to be work.
    BR,
    SPS

    This works for me in 10.2.0.2
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select * from tab;
    TNAME                          TABTYPE            CLUSTERID
    LOAN_DETAIL                    TABLE
    PLAN_TABLE                     TABLE
    ...

  • Declarative transaction not working  for oracle 10g as.

    Hi Friends,
    While migrating from sun app server to oracle 10g as, i have problem in declarative transactions.
    I created stateless and stateful beans with declarative transactions. Transactions were working fine till they were in sun app server environment, but they fail in oracle 10g as environment.
    I build the ear through sun IDE and deployed the ear on oracle 10g as. Things worked fine till transactions come onto picture.Declarative transaction get failed in case of oracle 10g as.
    Please if you have faced such problem or have any way to solve this problem, Pls revert back.
    rgds,
    m_khanduri

    sb92075 thank you for reply. Please see the command outputs.
    $ hostname
    LONDAN
    $ id
    uid=503(oaprod) gid=5002(dba) groups=5002(dba)
    $ uname -a
    Linux LONDAN 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
    $ ps -ef | grep -i pmon | grep -v grep
    oaprod    3810     1  0 May11 ?        00:02:24 ora_pmon_OID
    jgarry thank u also. please see the response.
    $ ls -rl $ORACLE_HOME/dbs
    total 2848
    -rw-rw---- 1 oaprod dba    3584 May  8 14:33 spfileOID.ora
    -rw-r----- 1 oaprod dba 2867200 Sep 10 10:17 snapcf_OID.f
    -rwSr----- 1 oaprod dba    1536 May  5 06:17 orapwOID
    -rw-rw---- 1 oaprod dba      24 May 11 17:24 lkOID
    -rw------- 1 oaprod dba    8385 May  5 05:18 init.ora
    -rw------- 1 oaprod dba   12920 May  5 05:18 initdw.ora
    -rw-rw---- 1 oaprod dba    1544 May 11 17:24 hc_OID.dat
    ok. previously I set TNS_ADMIN. Now I set TWO_TASK, while connecting now am getting different error "insufficient privilege". Please check following.
    $ export TWO_TASK=OID
    $sqlplus / as sysdba
    SQL*Plus: Release 10.1.0.5.0 - Production on Wed Sep 11 05:22:28 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    But, now while connecting with "sys", I don't need to supply "@OID" it's connecting directly with "sqlplus sys as sysdba" command.

  • RH Linux VIP configuration not working for Oracle 10g RAC installation

    Hi all,
    I am trying to setup my test cluster on Oracle 10gR2 and Red Hat Linux 4. I have the public and private networks working fine and setup. However, after I setup the two VIP addresses, I cannot even ping these two virtual IPs from Linux. CRS install fails during initial run because it cannot communicate with the two VIP IP addresses. Can anyone help me out as to how to go about fixing the two VIPs so that Linux can ping them and CRS will install?
    Thanks

    It sounds like you configured your VIP on Linux in advance, before installing Oracle.
    You are not supposed to do that.
    Decide on an IP that the VIP will use with your network manager, but don't configure it in Linux. So before you start the clusterware install, ifconfig should not show your VIP.
    CRS does not need VIP when you install the clusterware, only the interconnect address.
    VIP is configured using a utility called VIPCA. If Clusterware installation fails and you think it was caused by VIP issues, try running VIPCA manually and let us know what were the results.

  • Help with Oracle 10g Client Connectivity from Linux to IBM SAN storage

    Hello Oracle Experts,
    This is my first post. My client is having oracle 10g database up and running in IBM SAN storage.
    We have some NMS tools running in Red Hat Linux version 5. So, these tools require connectivity to Oracle database which is residing in SAN storage connected with the Fibre cables.
    How do I establish the connectivity from Linux to SAN storage. If would be glad if you can explain me the steps and also if there is any pre-installation/post-installation, patches and procedures involved.
    If it is IP based network we normally give the IP address of the host running the database server. I have no idea about SAN storage connected with Fibre cable.
    Please guide me to establish the connectivity from linux 5 to SAN.
    Thanks.
    Regards,
    RaviShankar.

    user13153556 wrote:
    Hi Rajesh,
    Actually I will not be touching the Oracle instance SAN box directly. I will only access the database from another machine. I my case it is Linux box.
    So, my question is how do you make the Oracle Client in Linux box to connect to Oracle instance running in another non ip based machine SAN storage.Install Oracle client on this Linux machine ..
    Make sure you have network connectivity from linux machine to database server. You need to connect to server where db instance is running and you need not to bother about SAN storage.
    make tns entry into client $ORACLE_HOME/network/admin/tnsnames.ora file.
    Use sqlplus to connect to database using client.
    Regards
    Rajesh

  • Oracle 10g RAC installation on linux server.

    HI,
    Can anybody help me that to give some answers of my question's ?
    can i install oracle 10g RAC on a single hdd linux server which is installed on an ordinary intel processor based machine.
    if i can then plz tell me this how can i do this.
    i am new in linux server just wanted to learn that how to install oracle 10g RAC.
    thanks & Regards to all of my seniors..

    The only option you have to install RAC on 1 machine is to use Oracle VM, VMWare or Linux Virtualization feature (Linux Xen).

  • 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
    ?

  • Downcasting In Object PL/SQL Does not Work in Oracle 10g 10.1.0.2

    create type one_t as object (
    x number, y date ) not final
    create type two_t under one_t()
    set serverout on
    declare
    super one_t;
    sub two_t := two_t(1, sysdate);
    begin
    super := one_t(1, sysdate);
    sub := new two_t(1, sysdate);
    dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
    select treat(super as two_t) into sub from dual;
    dbms_output.put_line('super ' || super.x || ' ' || super.y );
    if sub is null then
    dbms_output.put_line('stupid');
    end if;
    if sub is of (two_t) then
    dbms_output.put_line('stupid');
    end if;
    end;
    The Other Piece Does not Even Compile
    declare
    super one_t;
    sub two_t := two_t(1, sysdate);
    begin
    super := one_t(1, sysdate);
    sub := treat(super as two_t);
    dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
    select treat(super as two_t) into sub from dual;
    dbms_output.put_line('super ' || super.x || ' ' || super.y );
    if sub is null then
    dbms_output.put_line('stupid');
    end if;
    if sub is of (two_t) then
    dbms_output.put_line('stupid');
    end if;
    end;
    ORA-06502: PL/SQL: numeric or value error: cannot assign supertype instance to
    subtype
    ORA-06512: at line 6

    You need use correct type when you create object.
    Don't forget object in reality is a memory pointer,
    so what if you don't allocate correct memory in creation,
    you can't treat object as subtype.
    And meanwhile, it doesn't depend on Oracle version -
    your example doesn't work in 9.2.0.1 for example.
    SQL> declare
      2  super one_t;
      3  sub two_t := two_t(1, sysdate);
      4  begin
      5  super := two_t(1, sysdate);
      6  sub := treat(super as two_t);
      7  dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
      8  select treat(super as two_t) into sub from dual;
      9  dbms_output.put_line('super ' || super.x || ' ' || super.y );
    10  if sub is null then
    11  dbms_output.put_line('stupid');
    12  end if;
    13  if sub is of (two_t) then
    14  dbms_output.put_line('stupid');
    15  end if;
    16  end;
    17  /
    sub 1 08.06.05
    super 1 08.06.05
    stupid
    &nbsp
    PL/SQL procedure successfully completed.Rgds.

  • Downcasting in Object PL/SQL Does not Work in Oracle 10g Enterprise Edition

    create type one_t as object (
    x number, y date ) not final
    create type two_t under one_t()
    set serverout on
    declare
    super one_t;
    sub two_t := two_t(1, sysdate);
    begin
    super := one_t(1, sysdate);
    sub := new two_t(1, sysdate);
    dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
    select treat(super as two_t) into sub from dual;
    dbms_output.put_line('super ' || super.x || ' ' || super.y );
    if sub is null then
    dbms_output.put_line('stupid');
    end if;
    if sub is of (two_t) then
    dbms_output.put_line('stupid');
    end if;
    end;
    The Other Piece Does not Even Compile
    declare
    super one_t;
    sub two_t := two_t(1, sysdate);
    begin
    super := one_t(1, sysdate);
    sub := treat(super as two_t);
    dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
    select treat(super as two_t) into sub from dual;
    dbms_output.put_line('super ' || super.x || ' ' || super.y );
    if sub is null then
    dbms_output.put_line('stupid');
    end if;
    if sub is of (two_t) then
    dbms_output.put_line('stupid');
    end if;
    end;
    ORA-06502: PL/SQL: numeric or value error: cannot assign supertype instance to
    subtype
    ORA-06512: at line 6

    You need use correct type when you create object.
    Don't forget object in reality is a memory pointer,
    so what if you don't allocate correct memory in creation,
    you can't treat object as subtype.
    And meanwhile, it doesn't depend on Oracle version -
    your example doesn't work in 9.2.0.1 for example.
    SQL> declare
      2  super one_t;
      3  sub two_t := two_t(1, sysdate);
      4  begin
      5  super := two_t(1, sysdate);
      6  sub := treat(super as two_t);
      7  dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
      8  select treat(super as two_t) into sub from dual;
      9  dbms_output.put_line('super ' || super.x || ' ' || super.y );
    10  if sub is null then
    11  dbms_output.put_line('stupid');
    12  end if;
    13  if sub is of (two_t) then
    14  dbms_output.put_line('stupid');
    15  end if;
    16  end;
    17  /
    sub 1 08.06.05
    super 1 08.06.05
    stupid
    &nbsp
    PL/SQL procedure successfully completed.Rgds.

Maybe you are looking for

  • Use of lookup table in obiee 11g

    Hi All, I am working on OBIEE 11g RPD. Under BMM layer, when select logical table and go to there properties, In general section we have lookup table check box. what is use of that lookup table check box in obiee 11g. Thanx and Regards Prashant

  • Flash animation preview is all white

    I'm using Flash CC on a windows computer. My document is an HTML5 canvas. I have my animation all finished, with the exception of the Actions for the button. I have tested the animation before adding any Actions and it shows up in the browser fine (I

  • Screen frozen on "installing items"

    i tried to do 5 updates (including firmware updates) on my mbp, the screen locks on the "installing items" screen; i let it run overnight then finally turned it off. when i checked for updates there were 4 (inc the firmware). clicked update and now i

  • Hibernate macbook pro through terminal hibernatemode 25

    Hibernate macbook pro through terminal hibernatemode 25 on mountlion does it harm system

  • I need a new ipod...i have a 2 year warrenty...i cant find the reciept! please help me!!!!

    when i plug my ipod into my car using a usb or aux cord...only one side of the car plays music....its my ipod thats the problem..not the car.. please help me get a new ipod or lead me in the direction of me obtaining a new ipod!