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
?

Similar Messages

  • Group Policy not work in some client machine.

    Hello All,
    Existing environment is AD 2012. gpupdate /force command does not working in some client machine. And it's occur randomly. Error shown about 15-20% of client machine. Please suggest. Hopefully this time get reply from community.
    The Error:
    User policy could not be updated successfully. The following errors were encount
    ered:
    The processing of Group Policy failed. Windows attempted to read the file \\example.net\sysvol\example.net\Policies\{31B2F340-016D-11D2-945F-00C04FB
    984F9}\gpt.ini from a domain controller and was not successful. Group Policy set
    tings may not be applied until this event is resolved. This issue may be transie
    nt and could be caused by one or more of the following:
    a) Name Resolution/Network Connectivity to the current domain controller.
    b) File Replication Service Latency (a file created on another domain controller
     has not replicated to the current domain controller).
    c) The Distributed File System (DFS) client has been disabled.
    Computer policy could not be updated successfully. The following errors were enc
    ountered:
    The processing of Group Policy failed. Windows attempted to read the file \\example.net\sysvol\example.net\Policies\{31B2F340-016D-11D2-945F-00C04FB
    984F9}\gpt.ini from a domain controller and was not successful. Group Policy set
    tings may not be applied until this event is resolved. This issue may be transie
    nt and could be caused by one or more of the following:
    a) Name Resolution/Network Connectivity to the current domain controller.

    Thanks for your reply. basically this error occurs with in same location as well as branch location. i have check event log in AD but not got any specific error. AD health status is ok. AD to AD synchronization also working well. All the client machine running
    on windows 7 64 bit and few of them are windows 8. 
    Please suggest. if you need any event log for analysis i can send you.
    Thanks
    I recommend you examine the event logs upon an affected client machine. Specifically, look for the surrounding events on that machine (both System, and Application logs), for the hours previous and the hour after.
    The time period may vary according to your environment (e.g. what is expected/normal for your environment, your configured GP refresh cycle-time).
    e.g., are there network drops, or power drops, or system crashes, restarts at the similar time.
    if it's a laptop, is it wireless? Was there a transition from wireless to wired operation?
    Is there VPN in use?
    If you are able to compare with another machine (I would encourage that), to understand what "normal" looks like in the logs, so that you have some kind of baseline data for comparison.
    Other checks, maybe confirm that the machines are updating as required (have the relevant WindowsUpdates etc), and consider if some security/protection/firewall software might be interfering with normal Windows operations.
    Also the potential for malware or virus, which can disturb many basic services (ensure a scan is performed and returns clean).
    If you have the opportunity for an affected user to contact you urgently when the symptom occurs, check that the gpt.ini file is accessible from their PC.
    e.g.: \\example.net\sysvol\example.net\Policies\{31B2F340-016D-11D2-945F-00C04FB
    984F9}\gpt.ini
    This file is hosted within the replicated SYSVOL share on your DC's, so check that it is accessible.
    You might also validate the particular GPO this refers to, and check each of your DC's holds the correct copy of the files for that GPO GUID.
    If you open that GPO, and perform a minor change to it (e.g. add a comment), then click Apply, OK, this should cause the GPO contents to replicate an updated version (be cautious, depending upon the nature of that GPO !!!)
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

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

  • Vo Substitution - not working on one client machine

    recently deployed a standard VO substitution for a simple table region. I also added (via personalization) an additional column with a MessageStyledText region. I deployed the new code, used the JDev jpximport.bat to deploy the substitution, and bounced Apache.
    We have 3 client machines. After the new code was deployed with the VO substitution, 2 of the machines display the new column correctly, however one is throwing an 'attribute not found' error. We have three users as well. On two of the machines when any of the users login, they see the additional column displayed correctly. On the problem machine, when any of the users login they also see the error. We are all using the same responsibility, and test data, the only apparent difference is the actual client laptop. We have cleared browser caches on all the machines, restarted them all, and tried firefox and IE... all with the same result.
    When I disable the personalization, the problem machine no longer displays the 'attribute not found' exception. This let me get to 'about this page', where I can see that there is no reference made to the custom VO (and instead the base VO is still there). It looks like for this one machine the substitution is not being used. I had the DB clear the jsp cache and re-bounce Apache, but it hasn't changed anything.
    If you have any ideas please let me know.

    Are you having any load balanced server? Are all the machines having the same network credentials and inside the same network/firewall?
    --Shiv                                                                                                                                                                                                                                                                                                   

  • Triggers not working in Oracle 9iAS

    The form triggers are not working in oracle 9i AS.
    My Application server has Linux operating system with oracle form/report server installed. I am able to upload the form
    in the client machine (using Internet Explorer Win98 OS). Also i can feed in the data but none of my triggers are working (WHEN BUTTON PRESSED and other validation triggers).
    Can anyone suggest what to do pls.
    Tnks in advance
    Rgds
    Manoj Philip
    [email protected]

    Well we've tested on Linux and the trigger do work - I remember two other postings on this forumn from prople with the same problem:
    Re: SQL Developer Necessities
    Re: About  EXPLAIN PLAN table
    In one case the problem was not re-compiling using f90genm.sh, in the other it was something to do with the Machine setup but I don't know what the final resolution was.
    The only other thing is to make sure that you are on a certified linux release for using with iAS e.g. Redhat Server 2.1 and Suse Enterprise server 7 and Untited Linux
    You can check the current certifications on Metalink.oracle.com

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

  • Barcodes are not shown in the client machine

    Hi,
    We are using asp.net web forms for launching crystal reports.  Crystal Reports rpt with barcode has been designed in Crystal 2008.  Barcode field has been defined by right clicking the required field and selecting Change to Barcode u2026 and the barcode type is selected.
    Barcode is shown when we launch the report in the web server.  When we launch the same report in the client machine barcode is not shown to the user.  The barcode font u201CCode39AzaleaWide2u201D is not available in the client machine.
    How to overcome this issue without installing the font manually in each client machines.  Crystal Reports 2008 is installed in the web server.
    I need some clarifications
    1. Whether the barcode fonts should be installed (mandatory) in the client machines.
    2. On launching the report whether the barcode fonts will be downloaded from the web server to the client machine
    3. Are the barcode fonts are freely distributable to all the client machines both internet and intranet users
    4. Is there any document available regarding this issue

    Hi,
    Please check [KB1588027|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap%28bd1lbizjptawmq==%29/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533383338333033323337%7D.do] for the answers.
    It is your call on how to distribute the fonts. Reports will not download the fonts on it's own.
    Thanks,
    Saurabh

  • Runtime.exec()  in Java not working in Oracle 10 Application Server

    Hi ,
    I am trying to call a .exe file which is in the Web Application folder .
    I am Using Process p = Runtime.exec("path to .exe file ")
    This code is working fine when used with JBOSS , but not working with Oracle Application server .
    Please tell me whether i need to do any chnages to make it work
    Thanks in advance .

    I ran a quick test with your code, I just had to make some small changes, and things work for me...
    I'm testing with JDeveloper 10g 10.1.3.2.0 ...
    The only thing I wonder is DBUser DBPass DBHost, those are not the actual values, correct?, neither they are environment variables?...
    In the server hosting your OAS, you should try running the whole CMD line from the start/run dialog ... make sure it works in that server ...
    Here is the code used in my test:
    In JSP:
      <%@ page import="runexepkg.*" %>
      <% 
      String msg = "";
      try
      RunEXE p = new RunEXE();
      msg = p.main1();
      catch(Throwable t)
         System.out.println("Exception Raised");
         t.printStackTrace();
      %>
      <%= msg %>In Java Class:
    package runexepkg;
    import java.sql.*;
    public class RunEXE
        String ss="";
        public String main1()
        try
            Runtime rt=Runtime.getRuntime();
            Process p = rt.exec("CMD /C start C:\\oraappserver\\j2ee\\WebGis\\applications\\PowerGis\\web\\WEB-INF\\classes\\GisProject\\cust_data_1.exe DBUser DBPass DBHost");
            System.out.println("Command has been executed");
            Class.forName("oracle.jdbc.driver.OracleDriver");
            Connection con = DriverManager.getConnection("jdbc:oracle:thin:@DBHost:DBPort:orcl","DBUser","DBPass");
            System.out.println("Test Connection ========== "+con);
            Statement st = con.createStatement();
            ResultSet rs = st.executeQuery("SELECT SYSDATE FROM DUAL");
            if(rs.next())
                ss="Command has been executed - Database has been accessed";
            else
                ss="Command has been executed - Database was not accessed";
        catch(Throwable t)
            System.out.println("Exception raised, command has NOT been executed");
            ss="Exception raised, command has NOT been executed";
            t.printStackTrace();
        return ss;
    }Edited by: Rodolfo Ferrari on Jul 23, 2009 10:40 PM

  • Addon is not working on Thin Client

    Dear,
    Here I am facing one problem in thin client architecture.
    Means there is one SERVER (Monitor + CPU) and 10 clients (Only Monitor).
    These 10clients monitor directly connect to server CPU means server & client
    both having same hard disk.
    Now the prob is tat ADDon is successfully installed on server and is working
    perfectly. But when we login through client it gives me connection error. He is not
    able to make a connection from client even though HARD DISK is same for client
    and server.
    Also I m not able to debugg our code on client side means dotnet program is
    opening on client but when I run my prog. it gives me error to Stop Debugging and
    also i checked config file and connection string. ITs ok and successfuly run on server.
    Please help me on this issue. If there is code / network problem then pls clear by steps.
    Thanks
    Regards

    Dear
    Thanks for ur suggestion.
    BUt problem is still the same and I confirmed that there is no Citrix server and no firewall.
    And also screen painter is not working on Thin Client PC. It gives me error that
    "COM UI was closed.To reload the COM Ui restart SAP Business One and Start Screen Painter".
    I did the same thing but still screen painter is not working
    Regards
    Vikas

  • Query works in Oracle Client but not JDBC

    The query is as follows:
    SELECT COUNT(*) THE_COUNT FROM sentorders WHERE ordersentdate BETWEEN '15-JAN-01' and '15-JAN-03';When I run this query in the Oracle client (SQL+) it tells me that THE_COUNT is 4 which is correct but when I use the following JDBC code I get THE_COUNT is 0 which is incorrect.
    public ResultSet viewTotalSentOrdersByDate()
      throws SQLException, Exception {
          String beginDate = "15-JAN-01";
          String endDate = "15-JAN-03";
          ResultSet rs = null;
        try  {
          String queryString = ("SELECT COUNT(*) THE_COUNT FROM sentorders WHERE ordersentdate BETWEEN '" + beginDate + "' and '" + endDate + "'");
          System.out.println(queryString);
          Statement stmt = con.createStatement();
          rs = stmt.executeQuery(queryString);
          while(rs.next()) {
           System.out.println(rs.getString("THE_COUNT"))
        } catch (SQLException sqle) {
          error = "SQLException: Could not execute the query.";
          throw new SQLException(error);
        } catch (Exception e) {
          error = "An exception occured.";
          throw new Exception(error);               
        return rs;
      }Thanks for the help
    Zac

    The query is as follows:
    SELECT COUNT(*) THE_COUNT FROM sentorders WHERE ordersentdate BETWEEN '15-JAN-01' and '15-JAN-03';When I run this query in the Oracle client (SQL+) it tells me that THE_COUNT is 4 which is correct but when I use the following JDBC code I get THE_COUNT is 0 which is incorrect.
    public ResultSet viewTotalSentOrdersByDate()
    throws SQLException, Exception {
    String beginDate = "15-JAN-01";
    String endDate = "15-JAN-03";
    ResultSet rs = null;
    try {
    String queryString = ("SELECT COUNT(*) THE_COUNT FROM sentorders WHERE ordersentdate BETWEEN '" + beginDate + "' and '" + endDate + "'");
    System.out.println(queryString);
    Statement stmt = con.createStatement();
    rs = stmt.executeQuery(queryString);
    while(rs.next()) {
    System.out.println(rs.getString("THE_COUNT"))
    } catch (SQLException sqle) {
    error = "SQLException: Could not execute the query.";
    throw new SQLException(error);
    } catch (Exception e) {
    error = "An exception occured.";
    throw new Exception(error);
    return rs;
    }Thanks for the help
    Zac

  • Crystal report not working on 64 bit machine

    Hello friends,
    Hope everyone is doing good.  I have an issue and you all are requested to help me out.
    I have build an Application using VS 2008, i used Oracle 10g as database and Crystal report 2008 for reports. The Application and reports are working fine when i deploy it on 32 bit machine, but when I deploy it on a 64 bit machine, my Application works fine but reports are not displayed, when ever i run report it ask Db credential with the following message
    "The report you requested requires further information."
    then Server, user ID and password filed, I off course supplied credential but no results.
    For resolving the issue i installed VS 2008 on 64 bit machine with redist CR Viewer and tried to verify database for the report thinking this might be an issue, but in CR designer it gives me following error when i tried to verify database or create new connection using OLEDB provider for Oracle
    Crystal Reports ActiveX Designer
    Logon failed.
    Details: ADO Error Code: 0x
    Source: Microsoft OLE DB Provider for Oracle
    Description: Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    Provider is unable to function until these components are installed.
    OK
    I tried the following fixes as well:
    - Installed CR viewer for 64 bit machine
    - Registering ORAOLEDB10.dll
    - Reinstalling VS 2008
    The Application works fine but Crystal reports are malfunctioning. Please help!!!!!!!!!!!!!!!
    Thanks a ton in Advance
    Happing coding and resolving issues
    Danish Mustafa Khan

    Also, see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e] article.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Copy/Paste functionlity is not working in oracle forms 11g

    Hi All,
    We are using custom built big application (oracle 11g/forms 11g).
    1. And few user are not able to copy/paste from oracle forms 11g to winword.And its random sometime they can ,sometime they can't .
    2. If they have problem means they have copy/paste issue and (When we close application and run it again it is working fine)
    3.it's random we are not able to re-produce in development environment.
    What i noticed both user have problem and both are using left hand mouse ,generally we use left/right they are using right/left.
    Here the Environment Detail:
    Java runtime :1.6.0_26
    Weblogic server
    oracle forms 11g
    So just wondering is there any changes required. Seniors/Guru please advise.
    Thanks!

    It is very important to make clear which direction you are going. If you are not able to copy from Forms and paste to an external application, this could be any one or more of the following:
    1. There is a problem with the JRE. Consider uninstalling ALL currentlly installed JREs and install the latest supported version 1.6.0_33
    2. There may have been an issue with the Forms version you are using. Be sure you are using 11.1.1.6 or 11.1.2.0. If not, install the latest patch.
    3. The JRE was unable to properly identify or store the digitial signature in the Forms jar file or one which you included (custom code). If you are using any customer jar files, ensure that they have been properly signed. Also be sure that JRE cache is being stored on the local client machine and not a remote location as this is not supported. If you have not altered the default, the cache is stored in the user's home directory under Application Data (AppData for Win7)
    4. Could be a mouse driver issue. Go to the mouse vendor's web site and get the latest driver for that mouse. Do not use the MS drivers.
    Example:
    C:\Users\<USER NAME>\AppData\LocalLow\Sun\Java\Deployment\cache
    So, recommendations:
    1. Uninstall all JRE versions currently installed. Install 1.6.0_33
    2. Ensure that you are using 11.1.1.6 or 11.1.2.0
    3. Clear the JRE cache. To do this close ALL open browsers and open the Java Control Panel. Look on the General tab for Temporary Internet Files > Settings > Delete Files > Ok
    4. Install the latest mouse driver.
    5. Retest
    Edited by: Michael Ferrante (Oracle) on Jul 25, 2012 2:58 PM

  • Client_ole not working on oracle forms 11g

    hello,,,
    I have configured webutil in forms 11g ( Doc ID : 1093985.1) step by step and finally
    i installed webutil demo from ( Doc ID : 1272222.1)
    When I test it works fine , everything works fine except OLE --> write to MS Word , when i enter some text and pressed on it ,nothing happening ulness if i check or unchecked "Silent?" .
    img :: -------------------------------> http://www.orafaq.com/forum/fa/10911/165137/
    My platform :
    Red Hat 4
    Weblogic 10.3.6
    Forms and reports 11g
    Any help

    It is very important to make clear which direction you are going. If you are not able to copy from Forms and paste to an external application, this could be any one or more of the following:
    1. There is a problem with the JRE. Consider uninstalling ALL currentlly installed JREs and install the latest supported version 1.6.0_33
    2. There may have been an issue with the Forms version you are using. Be sure you are using 11.1.1.6 or 11.1.2.0. If not, install the latest patch.
    3. The JRE was unable to properly identify or store the digitial signature in the Forms jar file or one which you included (custom code). If you are using any customer jar files, ensure that they have been properly signed. Also be sure that JRE cache is being stored on the local client machine and not a remote location as this is not supported. If you have not altered the default, the cache is stored in the user's home directory under Application Data (AppData for Win7)
    4. Could be a mouse driver issue. Go to the mouse vendor's web site and get the latest driver for that mouse. Do not use the MS drivers.
    Example:
    C:\Users\<USER NAME>\AppData\LocalLow\Sun\Java\Deployment\cache
    So, recommendations:
    1. Uninstall all JRE versions currently installed. Install 1.6.0_33
    2. Ensure that you are using 11.1.1.6 or 11.1.2.0
    3. Clear the JRE cache. To do this close ALL open browsers and open the Java Control Panel. Look on the General tab for Temporary Internet Files > Settings > Delete Files > Ok
    4. Install the latest mouse driver.
    5. Retest
    Edited by: Michael Ferrante (Oracle) on Jul 25, 2012 2:58 PM

Maybe you are looking for