Ora:12705 unable to access NLS data files or  invalid environment specified

Hi All,
In our BW production SAP standard job DBA:update_stats is failing  . In Job log we found that  the info like
Ora:12705 unable to access NLS data files or  invalid environment specified.
Connect to DB instance failed.
Brconnect terminated with exit code 3.
We are on Oracle 10.2 BW 3.5  Sunsolaris 5.10
The Env is as below:
HOME=/home/bwpadm
PATH=/oracle/BWP/102_64/bin:/usr/jdk/j2sdk1.4.2_13/bin:/home/bwpadm:/usr/sap/BWP/SYS/exe/run:/etc:/usr/bin:.:/opt/EMCpower/bin/64:/etc/emc/bin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin
LOGNAME=bwpadm
HZ=
TERM=vt100
SHELL=/bin/csh
MAIL=/var/mail/bwpadm
TZ=US/Pacific
PWD=/home/bwpadm
USER=bwpadm
SAPSYSTEMNAME=BWP
DIR_LIBRARY=/usr/sap/BWP/SYS/exe/run
LD_LIBRARY_PATH=/usr/sap/BWP/SYS/exe/run:/opt/j2sdk1.4.2_08/bin
JAVA_HOME=/usr/jdk/j2sdk1.4.2_13
THREAD=NOPS
dbms_type=ORA
dbs_ora_tnsname=BWP
dbs_ora_schema=SAPBWP
ORACLE_PSRV=BWP
ORACLE_SID=BWP
DB_SID=BWP
ORACLE_HOME=/oracle/BWP/102_64
ORACLE_BASE=/oracle
ORA_NLS33=/oracle/client/92x_64/ocommon/nls/admin/data
NLS_LANG=AMERICAN_AMERICA.WE8DEC
SAPDATA_HOME=/oracle/BWP
Plz suggest what we have to change to fix the problem.
Thanks,
Subhash.G

Thanks for the reply,
The below is the orasid env:
As you suggest  we  found ld_library_path  is not set to  oracle client .
we still using 9.x client shall we add that path to the above varaible.
Please suggest..
HOME=/oracle/RSS
PATH=/oracle/RSS/102_64/bin:/oracle/RSS:/usr/sap/RSS/SYS/exe/run:/etc:/usr/bin:.:/opt/EMCpower/bin/64:/etc/emc/bin:/usr/ccs/bin:/usr/ucb
LOGNAME=orarss
HZ=
TERM=vt100
SHELL=/bin/csh
MAIL=/var/mail/orarss
TZ=US/Pacific
PWD=/oracle/RSS/102_64/dbs
USER=orarss
SAPSYSTEMNAME=RSS
DIR_LIBRARY=/usr/sap/RSS/SYS/exe/run
LD_LIBRARY_PATH=/usr/sap/RSS/SYS/exe/run:/oracle/RSS/102_64/lib
THREAD=NOPS
dbms_type=ORA
dbs_ora_tnsname=RSS
dbs_ora_schema=SAPRSS
ORACLE_SID=RSS
DB_SID=RSS
ORACLE_BASE=/oracle
ORACLE_HOME=/oracle/RSS/102_64
NLS_LANG=AMERICAN_AMERICA.UTF8
SAPDATA_HOME=/oracle/RSS.
Thanks,
Subhash.G

Similar Messages

  • Ora-12705 can not access nls data files or invalid environment specified

    platform: win2000,
    dev tool: VC++2003
    the client machine:only install oracle instant client and XDK
    env variable:
    NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK
    ORA_NLS10=%XDK_HOME%/nls/data
    the exception was thrown out when open oracle connection:
    env->createConnection (user, password, service);
    I will appreciate if anyone can tell me what was going on
    Regard

    I recently encountered this error (12705 with same text) after installing, de-installing and again installing the Oracle 10.2.01 client. The initial install saved to a path ending in ... /Client1, but hung on the last screen (due to a conflict in my response to a prompt from Semantic to allow "javaw" to run). The second install saved to a path ending in .../Client2.
    The error was resolved by removing the path for .../Client1 in the "Path" Environment Variable.

  • ORA-12705: Cannot access NLS data files or invalid environment specified

    Hi,
    I am using Oracle 10g Express, ojdbc14.jar , apache tomcat 5 server on Linux (Fedora 6).
    In CustDisp.JSP I have following code:
    <%
    try {
    Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance();
    out.println("JDBC driver loaded.<br>");
    catch (ClassNotFoundException e) {
    %>
    error :<br>
    <%=e.toString() %>
    <%
    String sql = "SELECT custid, fname, lname FROM customers";
    try {
    Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","myid", "mypassword");
    out.println("Connection made.<br><br>");
    Statement s = con.createStatement();
    ResultSet rs = s.executeQuery(sql);
    %>
    When Itry to access http://localhost:8080/jsps/CustDisp.jsp,I get following error:
    java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified.
    When I display enviorenment parameters in this JSP, I get follwing:
    JDBC driver loaded.
    Oracle Home = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server
    Language = en_US.UTF8
    NLS Language = AMERICAN_AMERICA.AL32UTF8
    Path = /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    Class Path = /usr/lib/jvm/java/lib/tools.jar:/usr/share/tomcat5/bin/bootstrap.jar:/usr/share/tomcat5/bin/commons-logging-api.jar:/usr/share/java/mx4j/mx4j-impl.jar:/usr/share/java/mx4j/mx4j-jmx.jar
    Charset = null
    Home = /usr/share/tomcat5
    Log Name = tomcat
    LD LIB PATH = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data/ojdbc14.jar:
    Locale = en_US
    nls data directory : /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data
    I have checked permissions for nls data folder, they are :
    Owner: Oracle
    Folder Access: Create and delete files
    Group: Dba
    Folder Access: Access files
    Others
    Folder Access: Access files
    Execute: Allow executing file as program.
    I have written a java program and used same drivers,customers table and connection i.e
    Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance();
    String sql = "SELECT custid, fname, lname FROM customers";
    Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","myid", "mypassword");
    it works fine and displays customers.
    Only when I try to access my CustDisp.JSP, I get
    java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified. Error.
    Can some one please help me sorting out this problem?
    Thanks in advance.
    AQK

    Hi,
    Relevant code for CustDisp.JSP is given below:
    <%@ page session="false" %>
    <%@ page import="java.io.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="oracle.jdbc.*" %>
    <%
    try {
    Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance();
    out.println("JDBC driver loaded.<br>");
    catch (ClassNotFoundException e) {
    %>
    error :
    <%=e.toString() %>
    <%
    String sql = "SELECT custid, fname, lname FROM customers";
    try {
    Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","myid", "mypassword");
    out.println("Connection made.<br><br>");
    Statement s = con.createStatement();
    ResultSet rs = s.executeQuery(sql);
    %>
    Permissions for nls data folder
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data/
    are :
    Owner: Oracle
    Folder Access: Create and delete files
    Group: tomcat
    Folder Access: Access files
    Others
    Folder Access: Access files
    Execute: Allow executing file as program.
    In CustDisp.JSP I have following code which accesses ojdbc14.jar
    // Check access to the nls data files.
    cfile = "";
    try{
    File myfile = new File("/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data/ojdbc14.jar");
    if (myfile.exists() == true){
    cfile="ojdbc14.jar exists in the data directory. Its length is "+ myfile.length()+" It can be read =" myfile.canRead() " , can be written = " + myfile.canWrite();
    }else{
    cfile="ojdbc14.jar does not exist.";
    catch (Exception er){
    %>
    error in reading file:<br>
    <%=er.toString() %>
    <%
    This code gives following output:
    File ojdbc14.jar exists in the data directory. Its length is 1536979 It can be read =true , can be written = false
    Every things seems to be OK but when I try to access http://localhost:8080/jsps/CustDisp.jsp, Iget:
    Sql Error:
    java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified
    Best regards.
    AQK

  • [exec] ORA-12705: Cannot access NLS data files or invalid environment specified

    Hi all,
    We have an app running ok on WinXP, But if run on Win7 it gets error:
        [exec] Caused by: java.sql.SQLException: ORA-00604: error occurred at recur
    sive SQL level 1
         [exec] ORA-12705: Cannot access NLS data files or invalid environment speci
    fied
    Is this a sqlnet client issue?
    Thanks a lot,
    zxy

    yxes2013 wrote:
    I already google it but I am not confident about my result
    I need validation from genius guys like you
    And as long as you rely on being spoon-fed everything, you will never be confident about your result.
    Try the following:
    >change jre versión (donwload from http:www.sun.com) and declare the new JAVA_HOME variable.
    >try calling this code: Locale.setDefault(Locale.ENGLISH);
        before you open a database connection.
    > The NLS_LANG must be unset in the Windows registry (re-named is best).  Look for the NLS_LANG subkey in the registry at \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE, and rename it.
    And where did you find that solution?
    Lie On The Internet - YouTube

  • ORA-12705: Cannot access NLS data files or invalid enviroment specified

    Hi, I am using Oracle 11g R2 and using the client Navicat.
    I can connect through command promt and SqlPlus absolutely fine but when I try to connect with Navicat, it wont allow me to and gives me the error in the topic. I have changed the NLS_LANG to NLS_LANG1 and double checked the ORACLE_HOME which is fine. Im not sure on how to connect with Navicat so could someone try and assist me on getting this to work?
    Thanks in advance.

    939711 wrote:
    Hi, I am using Oracle 11g R2 and using the client Navicat.
    I can connect through command promt and SqlPlus absolutely fine but when I try to connect with Navicat, it wont allow me to and gives me the error in the topic. I have changed the NLS_LANG to NLS_LANG1 and double checked the ORACLE_HOME which is fine. Im not sure on how to connect with Navicat so could someone try and assist me on getting this to work?
    Thanks in advance.
    PLEASE stop spamming this forum with issues about non-Oracle products!
    Consider to bother the actual support folks from Navicat.
    http://www.navicat.com/en/support/live.html

  • Configuring Apach(ORA-12705: Cannot access NLS data files .. )

    Hello,
    I receive this error while configure an HTTP Server for Oracle XE Database.
    ORA-604 LogOn ORA-00604: error occurred at recursive SQL level 1\nORA-12705: Cannot access NLS data files or invalid environment specified
    The database NLS parameters is
    SQL> select * from nls_database_parameters;
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET CL8MSWIN1251
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 10.2.0.1.0
    DADs configuration:
    <Location /elxe>
    Order deny,allow
    PlsqlDocumentPath docs
    AllowOverride None
    PlsqlMaxRequestsPerSession 10
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlDatabaseConnectString elxe:1521:XE ServiceNameFormat
    PlsqlNLSLanguage AMERICAN_AMERICA.CL8MSWIN1251
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    PlsqlDefaultPage apex
    PlsqlDatabasePassword xxxx
    Allow from all
    </Location>
    What is wrong?

    It is most likely that the NLS files are missing from the server/pc.
    Also look at the apachectl file.
    Find the following line:
    NLS_LANG=${NLS_LANG=""}; export NLS_LANG
    Modify this line to look like the following:
    NLS_LANG=AMERICAN_AMERICA.CL8MSWIN1251; export NLS_LANG
    Christopher Soza
    Oracle BI DBA
    Orix Consultancy Services Ltd
    b: http://sozaman.blogspot.com

  • Error: 12705 Cannot access NLS data

    I have just downloaded and installed 11.2 Express Edition + Oracle SQL developer on Windows 7 but when I tried to connect it returned me an error: 12705 Cannot access NLS data.
    I tried to change NLS_LANG param in registry & skipped NLS settings bit it did not helped.
    How to resolve this?

    923110 wrote:
    The previous locale was set to Russia
    I have Win 7 32xAccording to Installation guide section 9, about supported language configurations, not many language message files are included.
    But I suspect something else is going on here. You could try changing Windows OS back to Russian locale and do:
    set nls_lang=russian_russia.cl8mswin1251
    sqlplus / as sysdba
    Fortunately, there are many people who are able to install successfully by simply adhering to the steps in this GuideAs indicated above, with Oracle at the very minimum you need to read and follow the Installation guide for the product.
    Oracle Database is an extremely capable development and deployment platform for database centric applications. It is also vast and complex, so don't be suprised if you need to spend a couple of years to get well oriented with it. One of the first things a new user should do is to get familiar with the relevant Documentation library.

  • I have an external hard drive from my time capsule that stopped working on me. I am attempting to access the data with a hard drive reader on my MAC. I am able to see the drive in disk utility and under system info USB. But I am unable to access the data.

    I have an external hard drive from my time capsule that stopped working on me. I am attempting to access the data with a hard drive reader on my MAC. I am able to see the drive in disk utility and under system info USB. But I am unable to access the data and it does not show on the desktop when connected.

    Ok if disk utility was able to verify the drive I doubt there is any problem.. are you trying to open a TM backup??
    You need to mount the sparsebundle then check the actual info inside the bundle.
    Don't use disk warrior.. if the disk has verified then unless you deliberately deleted files there is nothing that is going to do.
    Pondini has a lot of stuff about getting access to the sparsebundle.
    http://pondini.org/TM/17.html
    But if you have copied info to the TC that is now gone.. and the disk is ok.. I am not sure.. the TC will not have deleted the files itself.

  • Mac OS X : ORA-09925: Unable to create audit trail file

    I have followed the instuctions on Oracle's site:
    http://www.oracle.com/technology/tech/macos/index.html
    specifically the Blog pages by Sergio and Anthony and have encountered a couple problems:
    1) I got this error when running the db config assitant (dbca) as per Anthony's steps:
    ORA-09925: Unable to create audit trail file
    I was running this from a shell while logged onto the gui as my admin id (mtaylor) then running
    sudo -u oracle sh
    then running the ./bash_profile commands, altho I had to
    cd /Users/oracle
    cat .bash_profile
    and then copy and paste the commands since running
    ./.bash_profile
    and then testing by running
    echo $ORACLE_HOME
    gave me a blank line.
    I thought that logging onto the gui as mtaylor might be the problem since I was getting 2 errors in the shell as the java initialized:
    ATSFontGetFileSpecification failed: error -5000 (twice),
    2) so I decided to log onto the gui as the user oracle and then open a shell. Doing this, I get to step 12 of 12, press finish and nothing happens at all. It doesn't freeze tho because I can cancel and exit with no problem.
    I went back to mtaylor and tried again and now I get the same result. I may have done something else to fix my first problem meanwhile as I have been working on this for a few hours. 
    I have confirmed that I am specifying the correct directories in the dbca, the .bash_profile and the files below, and that the owner:group is oracle:oinstall with r/w access:
    ORACLE_BASE=/Volumes/u01/app/oracle
    ORACLE_HOME="$ORACLE_BASE/product/10.1.0.3/db_1"
    PATH="$PATH:~bin:$ORACLE_HOME/bin"
    ORACLE_SID=orcl
    My tnsnames.ora is (after default entry):
    orcl.world =
    (DESCRIPTION =
    (ADDRESS=(PROTOCOL=TCP)
    (HOST=localhost)(PORT=1521))
    (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))
    My listener.ora is:
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=orcl)
    (ORACLE_HOME=/Volumes/u01/app/oracle/product/10.1.0.3/db_1)))
    I am specifying /Volumes/u02/oradata as the datafiles location (this exists with the same permissions as above)and specifying include the example schemas.
    Any ideas anyone?
    Matt                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Problem solved.
    See
    10g install Mac OS X (Tiger) - ALMOST

  • Unable to access the data from Data Management Gateway: Query timeout expired

    Hi,
    Since 2-3 days the data refresh is failing on our PowerBI site. I checked below:
    1. The gateway is in running status.
    2. Data source is also in ready status and test connection worked fine too.
    3. Below is the error in System Health -
    Failed to refresh the data source. An internal service error has occurred. Retry the operation at a later time. If the problem persists, contact Microsoft support for further assistance.        
    Error code: 4025
    4. Below is the error in Event Viewer.
    Unable to access the data from Data Management Gateway: Query timeout expired. Please check 1) whether the data source is available 2) whether the gateway on-premises service is running using Windows Event Logs.
    5. This is the correlational id for latest refresh failure
    is
    f9030dd8-af4c-4225-8674-50ce85a770d0
    6.
    Refresh History error is –
    Errors in the high-level relational engine. The following exception occurred while the managed IDataReader interface was being used: The operation has timed out. Errors in the high-level relational engine. The following exception occurred while the
    managed IDataReader interface was being used: Query timeout expired. 
    Any idea what could have went wrong suddenly, everything was working fine from last 1 month.
    Thanks,
    Richa

    Never mind, figured out there was a lock on SQL table which caused all the problems. Once I released the lock it PowerPivot refresh started working fine.
    Thanks.

  • Unable to access my .xls file in iPhone or iPad using Icould drive. Request help.

    I installed iCloud drive in my mac and saved a .xls file to be viewed and used with my iPad and iPhone. Though these devices are upgraded to IOs8 and Icloud drive is 'on' in these devices, I am unable to access this particular file in iPad or iPhone. Request help on how to open, view and amend files thru iPhone or Ipad.

    Do you have Excel installed on your iPad and iPhone? https://itunes.apple.com/us/app/microsoft-excel/id586683407?mt=8

  • Access a data file within a jar package

    hello, everyone
    I got a problem in locating a data file packaged in jar file.
    For example, in foo.jar there is a data file with the directory path "d1/d2/data.log". In the command line, I want to access that data file by making it as an input to the Main class which will load data.log at runtime. However, it reported exception of "no such file or directory". In the command line, I input:
    java -classpath foo.jar d1.d2.Main d1/d2/data.log
    any suggestion?
    Thanks
    Chinyi

    I don't understand what you're trying to do by including d1/d2/data.log in the commandline? It appears to be extraneous and invalid.
    Assuming:
    that the class you want to execute is Main.class in foo.jar, and that its path in the jar is di/d2, and
    that Main uses d1.d2.data.log when it access this file, it should work.

  • Im getting the following Installer was unable to access a critical file/directory. Please try installing again.(Error code: 43) Contact Customer Support

    I'M GETTING THE FOLLOWING ERROR
    Installer was unable to access a critical file/directory. Please try installing again.(Error code: 43) Contact Customer Support

    Error downloading Creative Cloud applications

  • Hi...  I just attempted to update CC.  Download itself appears to have happened, but when then I got this message...  Installer was unable to access a critical file/directory. Please try installing again.(Error code: 43) Contact Customer Support .... can

    Installer was unable to access a critical file/directory. Please try installing again.(Error code: 43) Contact Customer Support
    Any ideas?

    Hi  Serpent,
    Try the following Steps:
    open activity monitor and close all Adobe related applications
    navigate to: /Library/Application support/Adobe
    In that directory you will see a folder named OOBE - Rename that folder to OOBEold
    Navigate to: MAC HD /Application/Utilities directory
    In there you will see a folder called "Adobe Application Manager" - delete it
    Download the Adobe Cleaner Tool from here: http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems/_jcr_conte nt/main-pars/accordion_container_1/accordion-par/accordion-item-1/accordion-item-par/proc e dure/proc_par/step_3/step_par/download/file.res/AdobeCreativeCloudCleanerTool.zip
    Open the Cleaner Tool and choose to clean "Creative Cloud" only.
    Download and install Creative Cloud again - https://ccmdls.adobe.com/AdobeProducts/KCCC/1/osx10/CreativeCloudInstaller.dmg
    Regards,
    Rave

  • Installer was unable to access a critical file/directory. Please try installing again. Error code 49.

    Installer was unable to access a critical file/directory. Please try installing again. Error code 49.  Tried multiple times. get the same error code, which gives no helpful info. "Support" just sends me in a circle, never getting to anything actually helpful.

    Launch Photoshop CC 2014 application from C: > Program Files > Adobe > Adobe Photoshop CC 2014.
    Once the Photoshop CC 2014 application is launched , click on Help menu.
    Select Updates option.
    Once the Updates are listed , close Photoshop cc 2014 and Creative Cloud application .
    Then click on Update button and try to update .

Maybe you are looking for

  • XML in Java: does encoding matter when it's only used for data?

    Hi everybody, I have a text document that I've converted into XML, and that I read into my Java program. The encoding I have to use to support accented characters, iso-8859-1, doesn't support certain characters, like curly quotes or em dashes. I'm no

  • Creative Audigy 4 Probl

    Hi to all, i tried searching for a similar problem iam currently experiencing but couldn't find any. I have just installed a new Creative Audigy 4 sound card to replace my onboard AC'97 sound card. I have disabled the onboard sound card from the Bios

  • HT1423 I ACCIDENTLY INSERTED MY MEMORY CARD IN CD SLOT. HOW DO I TAKE IT OUT.

    I ACCIDENTLY INSERTED MY MEMORY CARD IN CD SLOT. HOW DO I TAKE IT OUT.

  • Download file in txt format

    Hi, Im using Forms 6i, The output data is not spliting into lines by line .in between the lines there is a small box.If i open the same file in word itis spliting line by line. PROCEDURE do_based_customers (p_org_id in number,p_user_id in number,p_in

  • Display at 0% or 100% brightness

    Today I noticed that my early 2009 MBP 15" screen's display no longer respond to my brightness keys. It is either at 0% or 100% and the switchover is at the halfway mark. Also, the blue led at the front is not on anymore, only when sleeping. I just d