SP2-0750

I have just set up Oracle 10g R2 and have successfully configured my servers. However, when I try to connect to Orace with SQL*Plus, I recieve the following:
SP2-0750: You may need to set oracle_home to your oracle software directory
Need help!
George

Welcome to the forums !
What is your OS ? You need to set certain environment variables before you can connect.
See Re: What should be edited in .bash_profile for 11gR1 in oel5? for an example
HTH
Srini

Similar Messages

  • SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory

    Hi all,
    In windiws 2008 server i have installed 11g wtih 11g Client for Pro*c . so there is two Oracle_Home resides. In the same machine i have installed 11g Forms and reports with weblogic server.
    Now i am not able to connect with the Database in SQL Prompt.more over if i issue SQLPLUS i am getting this 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*"
    Here my Question and doubt is how i have to solve this issue.i want to use this 11g Database and 11g Forms and reports in single server. how to do this ?
    Kindly share your Advice.
    Regards
    Hamid

    Hameed wrote:
    "+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*"
    Here my Question and doubt is how i have to solve this issueIt is clearly said - set ORACLE_HOME prior to runing sqlplus.

  • SP2-0750: You may need to set ORACLE_HOME with instant client and sqlplus

    On an hp-ux 32 ,,,
    - i downloaded instant client from here http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/hpsoft.html
    - installed and set my shlib_path to directory where I extracted it.
    - running sqlplus comes up with this ...
    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.
    - what the heck am i missing here?
    Thank you.

    you can see from the 'tusc' ouput below that it is clearly trying to locate msb files. These files are not packaged with the instant client. So how it this supposed to ever work? These files are simply missing from the distribution.
    close(3) ............................................................................................................. = 0
    stat("/home/oracle/oraclnt/clnt/libclntsh.sl.10.1", 0x7f7e3070) ...................................................... = 0
    open("/home/oracle/oraclnt/clnt/libclntsh.sl.10.1", O_RDONLY, 02) .................................................... = 3
    fstat(3, 0x7f7e3138) ................................................................................................. = 0
    read(3, "0210010e0512@ \0C f7h 13\0\0\0\0".., 128) ................................................................... = 128
    lseek(3, 128, SEEK_SET) .............................................................................................. = 128
    read(3, "10\0\004\0\0\0( 01L W a4\0\010\0".., 48) .................................................................... = 48
    read(3, "80\0\0\v\0\0\004\0\0\0\0", 12) .............................................................................. = 12
    lseek(3, 4059136, SEEK_SET) .......................................................................................... = 4059136
    read(3, "058cy 10\0\0, \ \004: 8 \0\0\0\n".., 112) ................................................................... = 112
    mmap(NULL, 21782528, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 0x3df000) ......................................... ERR#12 ENOMEM
    close(3) ............................................................................................................. = 0
    munmap(0xcc000000, 70111232) ......................................................................................... = 0
    munmap(0x7f684000, 4096) ............................................................................................. = 0
    open("./nls/data/lx1boot.nlb", O_RDONLY|O_LARGEFILE, 0) .............................................................. ERR#2 ENOENT
    open("./sqlplus/mesg/sp1us.msb", O_RDONLY|O_LARGEFILE, 0121430) ...................................................... ERR#20 ENOTDIR
    open("./sqlplus/mesg/sp1us.msb", O_RDONLY|O_LARGEFILE, 0121430) ...................................................... ERR#20 ENOTDIR
    Error 6 write(2, "E r r o r 6 ", 8) ...................................................................................... = 8
    iwrite(2, "i ", 1) .................................................................................................... = 1
    nitializwrite(2, "n i t i a l i z ", 8) ...................................................................................... = 8

  • SP2-0750: You may need to set ORACLE_HOME

    Hi,
    I have set the following variables, but not able to execute sqlplus .
    export ORACLE_HOME=/home/oracle/product/10.2.0
    export ORACLE_BASE=/home/oracle
    export PATH=/home/oracle:/home/oracle/oracle/product/10.2.0/db_12/bin
    I get this, while runnning sqlplus.
    [oracle@localhost bin]$ sqlplus /nolog
    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
    hare krishna

    I would say (according to PATH) your ORACLE_HOME is
    /home/oracle/oracle/product/10.2.0/db_12 (not /home/oracle/oracle/product/10.2.0).
    Werner

  • Getting SP-0750 while logging in as sysdba

    Hi
    I have just installed 9.2.0.1 database and it was successful. But when i try to login i am getting SP-0750..
    Thanks in advance
    RP

    rpyk wrote:
    Message file sp1<Lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
    Regards
    RP"Message file sp1<Lang>.msb not found" almost invariably means ORACLE_HOME is not set correctly. I know you've already been asked about it's value, but please bear in mind that what is of importance is the value of the environment in which the failing process is running.
    So, if you are getting the error out of some job/process/client connection/etc, but you are checking the value of ORACLE_HOME from a separate session (telnet/ssh/etc) that you fire up for the purpose of checking, you could still be comparing apples to oranges.

  • ERROR in SAP System Installation

    Hi gurus!!
    We are trying to install a SRM system (EBP4.0) into existing database (oracle 9.2) -  MCOD mode - but when we run the installation the process terminates with the next error in sapinst.log
    ERROR 2008-08-29 11:16:50
    CJS-00084  SQL Statement or Script failed. Error Message: Executable /oracle9/app/product/9.2/bin/sqlplus returns 1.
    We also see in the ora_sql_results.log the next error:
    2008-08-29, 11:16:50 SAPINST ORACLE start logging for
    connect  / as sysdba ;
    @@"/tmp/sapinst_instdir/oradbusr.sql"
    exit;
    Output of SQL executing program:
    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
    SAPINST: End of output of SQL executing program /oracle9/app/product/9.2/bin/sqlplus.
    SAPINST found errors.
    SAPINST The current process environment may be found in sapinst_ora_environment.log.
    2008-08-29, 11:16:50 SAPINST ORACLE stop logging
    We think that the problem is that the installation process set the oracle_home environment variable as "/oracle/<SID>/920_64" although we specified in the input fields of the installation screens that the oracle_home must be other one (we can see the environment variables set up by the installation process in the sapinst_ora_environment.log file)
    2008-08-29, 11:16:50 SAPINST Current process environment:
    _=./sapinstexe
    LANG=en_US
    LOGIN=root
    MAQ=oracle2desa
    PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/usr/local/bin:/usr/opt/ifor/ls/os/aix/
    bin:/oracle9/app/product/9.2/bin
    LC__FASTMSG=true
    EDITOR=/usr/bin/vi
    HISTFILE=//.history/root_U233767
    LOGNAME=root
    MAIL=/usr/spool/mail/root
    ORACLE_SID=BYD
    LOCPATH=/usr/lib/nls/loc
    PS1=$MAQ ($LOGNAME) $PWD->
    USER=root
    AUTHSTATE=compat
    DEFAULT_BROWSER=netscape
    DISPLAY=HOR491702K:0.0
    SHELL=/usr/bin/ksh
    ODMDIR=/etc/objrepos
    JAVA_HOME=/usr/java14/jre
    HOME=/
    TERM=vt220
    MAILMSG=[YOU HAVE NEW MAIL]
    ORACLE_HOME=/oracle/BYD/920_64
    PWD=/tmp/sapinst_instdir
    TZ=NFT-1DFT,M3.5.0,M10.5.0/03:00
    TTYUSER=U233767
    A__z=! LOGNAME
    NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
    LIBPATH=/tmp/sapinst_instdir:/sapmnt/BYD/exe
    dbms_type=ORA
    dbs_ora_schema=SAPR3
    dbs_ora_tnsname=BYD
    DIR_LIBRARY=/sapmnt/BYD/exe
    NLS_LANG=AMERICAN_AMERICA.WE8DEC
    ORACLE_BASE=/oracle
    SAPDATA_HOME=/oracle/BYD
    SAPSYSTEMNAME=BYD
    SAPINST: End of current process environment.
    Maybe if we changed the control.xml file we could solve the problem but we have already try it without luck, so can anybody tell us wich line of control.xml file must we change?
    Anybody knows other solution for this issue?
    Thank you very much in advanced,
    Edorta Ramos

    IF it is windows OS. Please right click on My computer icon on the desktop> properties>Advanced --> Environmental Variables > Click on NEW> Give variable name as JAVA_HOME and variable value as path of jre (Ex: C:\j2sdk1.4.2_04\jre) Once entered say OK.
    In System variables section. select for path and click on edit. go the last and enter ";" and give the path for bin directory (Ex: C:\j2sdk1.4.2_04\bin).
    Hope it is help full.

  • OPMN Agent throwing error while running ODIOSCOMMAND parameter in package

    Hello,
    I have installed OPMN to run my standalone agent as windows service. I am able to run all objects except it fails to run ODIOSCOMMAND parameter in package at this step it is failing.
    Now I stopped OPMN instance from services and started agent manually by running the batch file and ran same package that has ODIOSCOMMAND it ran successfully.
    I tested my environmental_variables has oracle_home set in it.
    Error message is error file:
    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
    Operator error:
    ODI-1217: Session INCREMENTAL_UPDATE_WITH_NEW_TABLE (14067001) fails with return code 7000.
    ODI-1226: Step Load INV Values fails after 1 attempt(s).
    ODI-1241: Oracle Data Integrator tool execution fails.
    Caused By: com.sunopsis.dwg.function.SnpsFunctionBaseException: ODI-30038: OS command returned 1.
         at com.sunopsis.dwg.tools.OSCommand.actionExecute(OSCommand.java:294)
         at com.sunopsis.dwg.function.SnpsFunctionBase.execute(SnpsFunctionBase.java:276)

    1. Appended to the default paths database client and tnsnames locations to the opmn.xml file.
    2- Add the ORACLE_HOME to the opmn.xml file.

  • Which oracle 9i or 10 version for Windows Vista Home Premium

    hai,
    i faced difficulty while installing oracle 9i "jrew.exe" file was not able to execute was the error message and then tried to open sql plus but got an error "SP2-0750 - set variable ORACLE_HOME to your oracle software dir. i am not able to open 'isqlplus". what oracle version should i install to work in isqlplus without any error messages or difficultys - please help. the previous answeres in this forum does not answere for installing oracle in "windows vista home premium" so please help me to install .

    Windows Vista Home edition is not certified platform.
    In addition to that, 9i is not certified on vista as a whole.

  • Error in invoking sqlplus

    Hi All,
    Yesterday we didnt one database upgrade after upgrade from 8.1.7.4 to 10.2.0.4 every thing went fine but after upgrade application users is not able to connect to the database by using their credentials.
    FROM ORACLE USER
    $ sqlplus
    SQL*Plus: Release 10.2.0.4.0 - Production on Mon Apr 26 10:50:22 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Enter user-name: / as sysdba
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    BUT BY USING APPLICATION USER CREDENTIALS ON THE SAME BOX
    cyrus: sqlplus
    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
    even all the env var is setted.
    even i have ran the changePerm.sh also for relaxing the permissions.
    can you tell me where i have made the mistake
    OS is AIX 5.3
    KK

    Hi,
    1. Check if $ORACLE_HOME of both users is exactly the same
    2. Check if sqlplus that you are executing is the same too (which sqlplus)
    3. If that doesn't work, try executing directly ORACLE_HOME=/u01/oracle/.... sqlplus "/as sysdba"
    Regards,
    Mario Alcaide

  • How to solve ORA-12560:TNS:protocol adapter error?

    I'm trying to use sqlplus on Windows 2008 R2 which is installed on VirtualBox to access an Oracle 11gR2 database on Red Hat Linux.
    I'm sure that the database on Red Hat Linux is up and tnsnames.ora is a copy from another machine which is used by another application to connect to the same Oracle database.
    When I run sqlplus, I got the ORA-12560: TNS:protocol adapter error.
    sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    Both sqlnet.ora and tnsnames.ora are located in c:\app\administrator\product\11.2.0\client64\network\admin folder.
    The registry ORACL_HOME has c:\app\administrator\product\11.2.0\client64.
    echo %ORACLE_HOME% incommand window returns %ORACLE_HOME%
    echo %ORACL_SID% in command window returns %ORACLE_SID%
    If I set ORACLE_HOME to another folder, I will get the following error:
    Error 6 initializing SQL*Plus
    SP2-0667: Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
    So, I believe the ORACLE_HOME in registry has the correct value.
    I have also tried set ORACLE_SID to the service name listed in tnsnames.ora but sqlplus still returns the ORA-12560:TNS:protocol adapter error.
    For unknown reason, the value of ORACLE_HOME and ORACLE_SID I set by using set command will not persist after I close the command window that I set the values.

    881656 wrote:
    I'm trying to use sqlplus on Windows 2008 R2 which is installed on VirtualBox to access an Oracle 11gR2 database on Red Hat Linux.
    I'm sure that the database on Red Hat Linux is up and tnsnames.ora is a copy from another machine which is used by another application to connect to the same Oracle database.
    When I run sqlplus, I got the ORA-12560: TNS:protocol adapter error.
    sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    It make NO sense do to as above when attempting to connect to Oracle DB on *NIX
    which knows NOTHING about NTS Authentication.
    SQLNET.AUTHENTICATION_SERVICES = (NONE)
    or just remove the line or whole file.
    Also need to be sure that ipchains is disabled on *NIX system                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • CM issue

    we have a vision server on windows. The issue is with CM. i can start them from component services.However all the requests shows "Inactive manager"
    Only the Internal manager shows 1,1 as actual and target while other managers are not running.They shows a status of "Target node/queue unavailable"
    reading some metalink docs i updated the control_code to null and commit
    Update fnd_concurrent_queues set control_code = null where control_code ='N';
    but again when i refresh the requests, it shows control_code=N
    i also used cmclean.sql and also rebuild the cm views-
    FNDLIBR "FND" "FNDCPBWV" apps/apps "SYSADMIN" "System Administrator" "SYSADMIN"
    ran autoconfig-it completed with errors-attached is the list--
    AutoConfig Setup Phase
    Running Setup Process 8 of 12 for AD_TOP
    Executing script in InstantiateFile:
    C:\oracle\visora\8.0.6\orainf.cmd
    script returned:
    ECHO is off.
    ECHO is off.
    Tue 01/08/2008 07:28 AM
    LSNRCTL80 for 32-bit Windows: Version 8.0.6.3.0 - Production on 08-JAN-2008 07:28:53
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    TNS-01101: Could not find service name APPS_VIS
    NNC-00401: program interface initialization failed
    orainf.cmd exiting with status 0
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out
    Validating information in AD_APPL_TOPS table........
    ERRORCODE = 768 ERRORCODE_END
    .end std out.
    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
    .end err out.
    AutoConfig Services Phase
    Running Service Process 10 of 10 for AD_TOP
    Executing script in InstantiateFile:
    C:\oracle\visora\iAS\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe -I C:\oracle\visora\iAS\Apache\perl\5.00503\lib\MSWin32-x86;C:\oracle\visora\iAS\Apache\perl\5.00503\lib;C:\oracle\visora\iAS\Apache\perl\site\5.00503\lib\MSWin32-x86;C:\oracle\visora\iAS\Apache\perl\site\5.00503\lib;C:\oracle\visappl\au\11.5.0\perl C:\oracle\viscomn\admin\install\VIS_vision\adupdlobs.pl
    script returned:
    ERRORCODE = 768 ERRORCODE_END
    .end std out.
    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
    .end err out.
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [APPLY PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: C:\oracle\visora\iAS\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe -I C:\oracle\visora\iAS\Apache\perl\5.00503\lib\MSWin32-x86;C:\oracle\visora\iAS\Apache\perl\5.00503\lib;C:\oracle\visora\iAS\Apache\perl\site\5.00503\lib\MSWin32-x86;C:\oracle\visora\iAS\Apache\perl\site\5.00503\lib;C:\oracle\visappl\au\11.5.0\perl C:\oracle\viscomn\admin\install\VIS_vision
    adadmat.pl INSTE8_APPLY 768
    adupdlobs.pl INSTE8_APPLY 768

    now the reports are erroring out with-ERR REP-3002: Error initializing printer. Please make sure a printer is installed.
    Metalink says--
    1. Define a dummy printer on the server to be defined as local printer.
    2. Set this dummy printer to be the default.
    3. Make the following updates in the registry, before making any changes to the registry you should always make a backup copy:
    Complete path Regedit:
    HKEY_USERS\S-1-5-...............\Software\Microsoft\Windows NT\CurrentVersion\Devices
    You will find String value with name as the newly defined printer
    Same goes to:
    HKEY_USERS\S-1-5-...............\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts
    You will find String value with name as the newly defined printer
    HKEY_USERS\S-1-5-...............\Software\Microsoft\Windows NT\CurrentVersion\Windows
    You will find String value with name "Device" and has value including the printer name as defined
    All the above string values should also be set under the following paths for the valid printer to be seen by all users
    HKEY_USERS\.DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\Devices
    HKEY_USERS\.DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts
    HKEY_USERS\.DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\Windows
    Now what does step 3 means?
    Thanks

  • RC-50004: Fatal: Error occurred in ApplyDBTier during adcfgclone.pl

    Hi,
    While running adcfgclone.pl, I am encountering <RC-50004: Fatal: Error occurred in ApplyDBTier> message.
    Full log is
    - >
    RC-50004: Fatal: Error occurred in ApplyDBTier:
    StackTrace -
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NoClassDefFoundError: oracle/jdbc/OracleDriver
    at oracle.apps.ad.util.DBUtil.registerDriver(DBUtil.java:153)
    at oracle.apps.ad.util.DBUtil.<init>(DBUtil.java:102)
    at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.getDBConnection(FileSysDBCtxMerge.java:802)
    at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.initializeParams(FileSysDBCtxMerge.java:150)
    at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.setParams(FileSysDBCtxMerge.java:131)
    at oracle.apps.ad.context.CtxValueMgt.mergeCustomInFiles(CtxValueMgt.java:1789)
    at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1608)
    at oracle.apps.ad.clone.ApplyDBTechStack.runCVM(ApplyDBTechStack.java:646)
    at oracle.apps.ad.clone.ApplyDBTechStack.runAutoConfig(ApplyDBTechStack.java:699)
    at oracle.apps.ad.clone.ApplyDBTechStack.doConf(ApplyDBTechStack.java:369)
    at oracle.apps.ad.clone.ApplyDBTechStack.doApply(ApplyDBTechStack.java:397)
    at oracle.apps.ad.clone.ApplyDBTechStack.<init>(ApplyDBTechStack.java:313)
    at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:104)
    ... 6 more
    Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ... 19 more
    ERROR while running Apply...
    Wed Oct 19 10:35:53 2011
    ERROR: Failed to execute /d03/oracle/sid/db/tech_st/11.2.0/appsutil/clone/bin/adclone.pl
    < -
    Can someone help me to resolve this issue?
    I think this is different than the similar errors in Troubleshooting RapidClone issues with Oracle Applications R12 [ID 603104.1]...

    Yes, I have 11gR2 database at the moment.
    To make sure... Are you referring to the target database system?
    Now, I am still in the middle of cloning, and when I tried to run sqlplus I get the error saying that <SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory>.
    So yes, failure occurred in the early stage of running adcfgclone.pl script.
    I took some more logs before RC-5004 error message.
    ->
    Beginning database tier Apply - Wed Oct 19 10:35:14 2011
    APPS Password : Log file located at /d03/oracle/SID/db/tech_st/11.2.0/appsutil/log/CONTEXT/ApplyDBTier_10191035.log
    | 0% completed NON-COMPLIANT: /d03/oracle/SID/db/tech_st/11.2.0//oraInst.loc does not point to an inventory inside the current ORACLE_HOME
    Rapid Clone only supports oraInst.loc at that location if its content points to an inventory inside the same ORACLE_HOME
    Please make the necessary changes to the following file:
    /d03/oracle/SID/db/tech_st/11.2.0//oraInst.loc
    running OUI CLI home cloning:
    /d03/oracle/SID/db/tech_st/11.2.0/oui/bin/runInstaller -clone -silent -force -waitForCompletion -invPtrLoc /etc/oraInst.loc ORACLE_HOME=/d03/oracle/SID/db/tech_st/11.2.0 ORACLE_BASE=/d03/oracle/SID/db/tech_st/11.2.0 ORACLE_HOME_NAME=SID_db112_RDBMS
    \ 0% completed
    RC-50004: Fatal: Error occurred in ApplyDBTier:
    <-
    In addition, oraInst.loc is existing in the target ORACLE_HOME directory, owned by the target oracle user.
    oraInst.loc has
    inventory_loc=/oracle/oraInventory
    where oraInventory has the right permission drwxrwx---

  • Installing oracle xe on centos ci environment

    Hi,
    I have a CI environment that run automated tests on my application every time a commit is pushed to github, the tests are run on a matrix of environments to check if the application is able to run with different databases.
    I currently have tests running with sqlite, mysql and postgres and would like to add oracle to the matrix.
    The application is in python, (for those curious it is here: https://github.com/treeio/treeio) so on top of the oracle xe database itself I need to install the appropriate driver (cx_oracle)
    The current CI I'm using is travis (https://travis-ci.org/), the tests run in a debian (or maybe ubuntu, I'm not sure) environment, they already have mysql and postgres installed
    Installing oracle xe on debian proved to be a headache, I've found https://oss.oracle.com/debian/ unstable main non-free which contains only and old 32 bits version, while this wouldn't be a problem for me it generate conflicts when I tried to install cx_oracle dependencies
    In any case I've found another CI (snap-ci.com) which uses centos, I've managed to install oracle-xe from the rpm and pip install cx_oracle finally works, but when I try to run anything that uses sqlplus it fails:
    echo "CREATE USER treeio IDENTIFIED BY treeio;" | sqlplus -S -L sys/admin AS SYSDBA
    sqlplus: command not found
    it seems it was not added to the path or maybe I should have installed yet another rpm.
    Ideally I would like to run the tests with oracle DB on both services (so I can test my application runs fine on debian and centos the same) but I can settle on running it on just one of them if you tell me it is not possible
    by the way, does anyone runs oracle or any of its tools on debian? they seems to provide only RPMs. do everyone that works with oracle uses read hat only?
    thanks
    Avraham

    Hi,
    The CI service have a interactive shell, I was able to further debug. I fixed the command not found problem and then it complained about permissions, but running with root gives me yet another exception.
    currently my script is as below:
    #set paths:
    export ORACLE_VERSION="11.2"
    export ORACLE_HOME="/usr/lib/oracle/$ORACLE_VERSION/client64"
    export PATH=$PATH:"$ORACLE_HOME/bin"
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$ORACLE_HOME/lib"
    . /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh
    # create user
    echo "CREATE USER treeio IDENTIFIED BY treeio;" | sudo sqlplus -S -L sys/admin AS SYSDBA
    It gives me
    Error 6 initializing SQL*Plus
    SP2-0667: Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
    I also noticed that I was insalling oracle xe 11.2 and client libraries 12.1, I'm not sure if that would cause problems but I'm installing libraries and clients with the same version (11.2.x)

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

  • Oracle 9i, 10g, 11g on same machine...11g not working....

    Hello All,
    I have a dilemma.
    I have a server that originally had 9i client installed.
    We installed 10g and ODP .Net to gain use of some new funcionality used in .Net and batch processing.
    Halfway through testing we realized that 10g's version of ODP.Net has a memory leak issue.
    11g was found to correct this issue so we installed it on the server as well and it solved the problem.
    Life was good.
    9i, 10g, 11g, and ODP.net were all working well.
    However, this was a test server. We now needed to go through the same installs for the production server.
    On the night of the software install someone made a mistake and installed 10g on the test server again for the second time, after 11g was already installed.
    So at this point the test server has:
    9i
    10g
    11g
    10g
    And now many of the applications on the server are not working correctly and no amount of config changes seemed to fix it.
    So we decided to uninstall 11g and then 10g and start over.
    At this point we have 9i and 10g installed and the applications are working correctly.
    We have tried to reinstall 11g and configure multiple times and 11g will simply not work.
    I am stumped at this point. The application that actually does use 11g and ODP.Net simply stops executing at the point it attempts to open a connection with NO ERRORS.
    An Exception does occur but there are no contents or error messages in the exception. I have never had this happen before. How do you fix an error you dont have?
    So at this point I am just reaching out to see if anyone might have a suggestion. The next step might be to perform a system restore to the point where life was good (before 10g was installed a 2nd time after 11g).
    Anyone?

    Thanks gdarling.
    I was hoping to just start the thread and go from there as sometimes information overload makes people pass on reading the whole post. I am glad you still read it:)
    To start off with here are the entries (unedited in my PATH variable):
    E:\oracle11\product\11.2.0\client_1\bin;E:\oracle102\product\10.2.0\client_1\bin;E:\oracle\product\10.2.0\client_1;E:\Orant9i\bin;
    I recently moved the 9i path back to the front in order to get the other applications on the server working again as some were erroring out with this when 11.2 was first:
    *"OCIEnvCreate failed with return code -1 but error message text was not available"*
    I searched for a long time as to the cause of this error but did not turn up much. Most of the posts just mention that the client was installed incorrectly.
    Policy files:
    I compared the assembly of the "working" server to the "bad" server and they appear identical as far as I can see.
    Directories
    -9i has one directory
    -As you can probably see from the path, it still looks like there are 2 installations of 10g on the server. As well as remnants of three directories that resemble 10g install directories.
    -11g has one directory
    Couple observed behaviors:
    1.
    running sqlplus from the 9i and 10g directories works.
    running sqlplus from the 11g directory results in the following error:
    E:\oracle11\product\11.2.0\client_1\bin>sqlplus.exe
    Error 6 initializing SQL*Plus
    SP2-0667: Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
    2.
    Running tnsping works from the 9i and 10g directories
    Running tnsping from 11g results in this:
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 13-MAY-2
    010 09:32:32
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Message 3511 not found; No message file for product=NETWORK, facility=TNSTNS-035
    05: Message 3505 not found; No message file for product=NETWORK, facility=TNS
    *(NOTE: THIS ERROR ALSO OCCURS ON THE "GOOD" SERVER)*
    Registry:
    There is a difference in the registry.
    The "good" server has this entry in the ORACLE area:
    KEY_OraClient10g_home1
    KEY_OraClient11g_home1
    where as the "bad" just has
    KEY_OraClient10g_home1
    Both servers have ODP.Net folder containing:
    2.112.1.0
    There are also other entires in this registry area but they are the same.
    It wasn't our original intention to have all three clients on the same machine. Halfway through our system testing of a new process we realized the 10g has a memory leak which was corrected in 11g.
    So we just installed 11g. These are supposed to be able to coexist right?
    It sounds like we could have just installed 11g...
    I am going to look into your suggestions.
    As far as sysinternals I am a novice. And I am assuming it would need to be loaded on the server...is that correct? Or should I be using it on my local machine with the application in question running?
    Getting more software (sysinternals) installed on the server might be a hurdle...
    Thanks again

Maybe you are looking for

  • Errors in Analytics Dashboards (Peoplesoft and SQL Server)

    Hi All, We are facing a problem implementing BI APPs 7.9.6.3 for Peoplesoft Fin 9.1 (and using MS SQL Server 2008). We loaded the Warehouse without problems but when We try to see the reports in FIN and Procurement & Spend Dashboards we get the follo

  • Reverse Company Code Transaction

    Hello. My client did the following Company Code Transaction; 1- Create Purchase Order 2- Perform Goods Receipt (MIGO) 3- Perform Invoice Verification (MIGO) 4- Perform Payment Run.' However he need to reverse the transaction, but we doesn't know the

  • IdeaTab A2107 Movie Playback

    I downloaded a movie from the Google PlayStore on my A2107.  The playback is choppy and the audio and video are not in sync.  Anyone have an issue like this?

  • Help with conversion

    I have waited 20 minutes and it still says converting pdf to word, how long does it take?

  • My battery is dead in about an hour. What gives?

         I just bought a new Nano Ipod. I can listen for about an hour to a few songs and the battery is drained. What can I do? Thanks, Tom