SP1 lang

Hello all,
I've find this explanation about how could put the Sqlplus in linux to work:
But someone could give me more detailed explanations abiut how I must set this?
Thanks in advance, Eduardo
Sometimes when SQL*Plus is run, you see the error:
Message file sp1<Lang>.msb not found
Error 6 initializing SQL*Plus
This occurs when SQL*Plus was unable to find a message file during program initialization. The most common cause is that ORACLE_HOME has not been set. This prevents the message files being found and SQL*Plus would be unable to display error messages or text required for normal operation. Other causes are when the message file is corrupt or cannot be read.
Make sure that all the environment variables or registry entries needed to run SQL*Plus are set. The variables are platform specific but may include ORACLE_HOME, ORACLE_SID, NLS_LANG, ORA_NLS33, and LD_LIBRARY_PATH.
Also check that the file sp1XX.msb is present in the $ORACLE_HOME/sqlplus/mesg or %ORACLE_HOME%\sqlplus\mesg directory. The "XX" stands for the country prefix associated with your NLS_LANG environment variable. SQL*Plus reads only one of the sp1XX.msb files. For example sp1ja.msb is read if NLS_LANG is JAPANESE_JAPAN.JA16EUC. If NLS_LANG is not set, then the default (English language) sp1us.msb is used. Check that the appropriate file is of non-zero size and that the file permissions allow you to read it. Note the ".msb" files are binary. The contents may be meaningless when viewed or printed. If you are unsure which language file is being used, try unsetting NLS_LANG and run SQL*Plus to verify it can read the sp1us.msb file
"

See http://otn.oracle.com/support/tech/sql_plus/htdocs/connect.html#sp1_lang
for background info. I'm sorry I don't have any specific
things to try.
Only the "client" version of the 8.1.7.3 server bundle
has been certified with XP. The client version is tools
like SQL*Plus, SQL*Loader and Export/Import.
However I have seen reports of people installing an 8i
database on XP. Check the comp.oracle.* groups on Usenet
for the collected wisdom.
Chris

Similar Messages

  • After install of instant client 10.2, error Message file sp1 lang .msb not

    Greeting.
    I installed Oracle 10G. Was working great.
    then installed PHP5. working great.
    then TYPO3 (a web content manager) Still ok.
    then I wanted TYPO3 to user my oracle 10g server.
    One of the step was to install instant client (which I did)
    Then I needed to reboot: My oracle 10G doesn't start anymore.
    When trying 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
    I do have this file:
    find / -name sp1us.msb
    find: /proc/6014/task: No such file or directory
    /oracle/product/10.2.0/sqlplus/mesg/sp1us.msb
    here more info:
    echo $ORACLE_HOME
    /oracle/product/10.2.0
    echo $ORACLE_SID
    dubaidb
    # lsnrctl start listener
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 21-AUG-2009 13:45:55
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    TNS-01106: Listener using listener name LISTENER has already been started
    find / -name sqlplus -print 2>/dev/null
    /oracle/product/10.2.0/inventory/Templates/sqlplus
    /oracle/product/10.2.0/bin/sqlplus
    /oracle/product/10.2.0/oc4j/j2ee/oc4j_applications/applications/isqlplus/isqlplus/WEB-INF/classes/oracle/sqlplus
    /oracle/product/10.2.0/sqlplus
    /oracle/instantclient_10_2/sqlplus
    It seems I got 2 sqlplus files: one in /oracle/instantclient_10_2/sqlplus and /oracle/product/10.2.0/bin/sqlplus
    Logs info from /oracle/product/10.2.0/startup.log:
    /oracle/product/10.2.0/bin/dbstart: Starting up database "dubaidb"
    Fri Aug 21 13:18:49 EDT 2009
    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
    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
    Thank you in advance

    Well, what I ended up doing is the following:
    Unset LD_LIBRARY_PATH
    Backed-up my sqlplus in ORACLE_HOME/bin.
    Backed-up my libraried in ORACLE_HOME/lib
    Renamed instantclient to instantclient_bck
    copied all libraries from instantclient_bck to ORACLE_HOME/lib
    copied sqlplus from instantclient_bck to ORACLE_HOME/bin
    dbshut
    dbstart
    Everything came back as it used to be :)

  • Need urgent help for (Message file sp1 lang .msb not found)

    sir
    c:\oracle9i this is my database folder name
    c:\oraform this is my form folder name
    which one my oracle_home name
    sir i test this command
    c:\ set ORACLE_HOME=c:\ORACLE9I
    c:\ set ORACLE_SID=AAMIR
    c:\ sqlplus / as sysdba
    AND RUN SQL PLUS THEN SYSTEM GIVE ME THIS ERROR
    incorrect environment variable plus_dflt program execution error
    please give me idea how i run my system
    thank

    Duplicate post:
    ''Urgent'' incorrect environment variable plus_dflt program execution erro

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

  • Need a security expert to help on this one...

    Hi
    I have recently deployed a 3-tier **proprietary** application that:
    - has a thick-client installed on a Windows Vista client machine
    - Oracle 10g Enterprise edition version 10.2.0.1.0 installed on a server running Red Hat enterprise Linux. This is a very
    cut-down version of Linux, only accessible through SSH (or by directly plugging in a keyboard+monitor into the linux box). It
    does not have any GUI/windowing mechanism installed on it at all (so for example there is no 'xclock' installed in this
    linux). Also the oracle server software installed here does NOT have Oracle Enterprise Manager installed.
    I have complete access to the server and can log in as sysdba via SSH (simply login to a SSH terminal and then type in
    'sqlplus "/ as sysdba" - that lets me in as the SYSDBA.
    Problem: I want to use a graphical tool like Oracle Ent. Manager to look 'inside' the DB. But I cannot install anything or
    play around much with the linux box, but I can do whatever I want to the client vista machine.
    Attempts so far:
    Looking around inside the installation on vista client machine I discovered a folder:
    "<xxx>\3rdParty\Oracle10g" which contained files:
    - tnsnames.ora
    - sqlnet.ora
    - sqlplus.exe
    When I ran this sqlplus.exe on a CMD prompt it said:
    Error 6 Initialising Sql*Plus
    Message file sp1<lang>.msb not found
    SP2-You may need to set ORACLE_HOME to yourr oracle software directorySo I installed Oracle 10g Client (10.2.0.1.0) on the Vista client machine, hoping that I will then be able to use OEM on
    this vista machine and connect to the oracle running on the linux box.
    On the vista box I also did:set ORACLE_HOME=C:\oracle\product\10.2.0\client_1
    Now I ran the sqlplus.exe (on the vista box) again and it came up with a login prompt. Problem is I dont have a
    login/password; what I plan to do is to create a user by logging in as sysdba on the server, and grant all access to him, and
    then log into Oracle Ent Manager as this user from the windows machine.
    However, here is another problem: if I do 'tnsping <my_db_name>' it says:
    TNS-12541: TNS:no listener
    I suspect this is because of some security setting in this application OOTB.
    The entry in tnsnames.ora setting is correct, as it was done by the client install program (not manually). It contains:
    PROTOCOL=TCPS, and PORT=2484.
    There is also a 'wallet' folder on the client machine under 'Oracle10g' folder.
    Finally the sqlnet.ora on client machine contains:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    SSL_VERSION=0
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    SSL_SERVER_DN_MATCH = FALSE
    SSL_CLIENT_AUTHENTICATION = TRUE
    WALLET_LOCATION=
    (SOURCE=
    (METHOD=FILE)
    (METHOD_DATA =
    (DIRECTORY= C:\<xxxxxxxxxx>\Oracle10g\wallet)
    SSL_CIPHER_SUITES=(SSL_RSA_EXPORT_WITH_RC4_40MD5)
    All I would like to do is to be able to connect to the oracle server with tools I am familiar with (like OEM, TOAD etc.).
    This stuff is quite outside of my understanding, so if you can provide any insight it'll be much appreciated.
    Thanks

    You could try syncing the contacts with yahoo or google contacts, then sync them to the iPhone.  Or, export the contacts and then import them into one of the aforementioned servicse, or iCloud, then sync to the phone.

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

  • Problem in instation of 10g release 1 databse on RHEL 4

    I install oracle 10g on RHEL 4. But error occure in cofiguration assistant.
    following assistance not configured (which are recommended):
    Oracle Net Configuration Assistant - fail
    HTTP Server Configuration Assitant - skipped
    Java Security Configuration Assistant - skipped
    OC4J Configuration Assistant - skipped
    Web Cache Configuration Assistant - skipped
    Oracle Instance Configuration Assistant - skipped
    Oracle Database Configuration Assistant - skipped
    OC4J Instance Configuration Assistant - skipped
    OPMN Configuration Assistant - skipped
    Register DCM Plug-ins with EM - skipped
    Application Server Control Configuration Assistant -skipped
    DCM Repository Backup Assistant - skipped
    Enterprize Manager Reposotory Creation Assistant - skipped
    Log Details given about "Oracle Net Configuration Assistant" as
    /usr/app/oracle_sw_owner/oracle/product/10..0/EM10g_1/oracle.swd.jre/bin/..
    /lib/i686/native_thread/libzip.so : symbol errno version GLIBC_
    Unable to initialize threads:cannot find class javalang thread not define in file libc.so.6 with link time referance (libzip.so)
    could not create Java VM
    configuration of assistant "Oracle Net Configuration Assistant" fail
    When try to run sqlplus from xterm, it gives an following error :
    $ /usr/app/oracle_sw_owner/oracle/product/10.1.0/EM10g_1/bin/sqlplus
    Message file sp1<lang>.msb not found
    Error 6 initializing SQL*Plus
    After installation there is an information is given for Enterprise Manager Grid Control and it gives an url as http://localhost.localdomain:7777/em. But when i try to connect it gives an error massage as "The connection was refuse when attempting to contact localhost.localdomain:7777"
    Same situation when i try to connect Enterprise Manager Application Server (its url: http://localhost.localdomain:1810). It gives an error massage "The connection was refuse when attempting to contact localhost.localdomain:1810"
    What can i do in this situation? Please help me out.

    $ /usr/app/oracle_sw_owner/oracle/product/10.1.0/EM10g_1/bin/sqlplus
    Message file sp1<lang>.msb not found
    Error 6 initializing SQL*PlusYou got this error usually when you didn't set ORACLE_HOME environment variable properly.
    After installation there is an information is given for Enterprise Manager Grid Control
    and it gives an url as http://localhost.localdomain:7777/em. But when i try to
    It doesn't look like you have OEM Grid Control installed. I think you are referring to OEM DB Console.
    Check if you can start the DB console using
    emctl start dbconsole
    If not, you need to run emca to configure it.

  • Error while starting sqlplus in SunSolaris-5.8

    Hello,
    I'm getting below error when I start sqlplus in sunOS-5.8.
    I'm just giving following command.
    $sqlplus
    It giving the error like,
    Message file sp1<lang>.msb not found
    Error 6 initializing SQL*Plus
    Any info on this would be very useful..
    Thanks,
    Pradeep

    Hi Jhon,
    While connecting the work rep I am getting following error. Could you help me in this regards please ? I am new to ODI world. I am able to connect master rep but when I am trying to connect work rep getting following errors
    oracle.odi.core.config.WorkRepositoryResourceFailureException: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
         at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:155)
         at oracle.odi.core.OdiInstance.createWorkRepository(OdiInstance.java:504)
         at oracle.odi.core.OdiInstance.<init>(OdiInstance.java:581)

  • 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

  • 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

  • Error while using oracle client

    I agree to all what you have written .But as you said we often have client server co-existing on the same hardware platform and also i have additionally installed an oracle client .I agree that the TCP connections is via Net8 (Sql*Net) /ODBC etc. But my question is i want to connect to both my XE server and my other database servers (Production) using a single client (since m having 2 clients , one that came along with the XE database and the other which i have explicitly installed) ,I get the following error
    SP2-0667: Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory .Despite setting the path and ORACLE_HOME environment variables , the error persists.

    Windows host? Which version, xp? Which "2nd client" version, instant client?
    Double check the environment variables and %PATH%. Try changing directory to the particular client .../bin directory and run sqlplus from there, the client program you want may not be the client program you're getting.
    %ORACLE_HOME% also needs to be pre-pended to %PATH%, with that second client it might be helpful to set up a .bat file with proper settings. Saves having to retype stuff which will also be typo-prone, i.e. in ct2.bat:
    set ORACLE_HOME=C:\ora\<folder\path>
    set PATH=%ORACLE_HOME%;%PATH%

Maybe you are looking for