Could not resolve ORA-02778: name given to the log directory is not valid

When issuing the command:

Startup nomount pfile=E:\oracle\product\10.2.0\database\INIThrv11d.ORA

I get:

ORA-02778: name given to the log directory is not valid

This error is usually quite simple, but I can't seem to understand what's not here. I checked all paths several times and they are all available in writing, but the error persists. I tried to run the Oracle service under my own username with no luck also (same error).

X: is a mapped drive. I use Oracle 10 g 2 on Windows Server 2003 R2.

My startup pfile:

-* ._allow_resetlogs_corruption = TRUE
* .aq_tm_processes = 1
* .background_dump_dest = "X:\admin\hrv11d\bdump".
* full = '10.2.0.0.0'
* .control_files ='X:\oradata\hrv11d\CONTROL01. CTL ',' X:\oradata\hrv11d\CONTROL02. CTL ',' X:\oradata\hrv11d\CONTROL03. CTL'
* .core_dump_dest = "X:\admin\hrv11d\cdump".
* .db_block_size = 8192
* .db_cache_size = 500000000
*. "db_domain ='activ.asn.au"
* .db_file_multiblock_read_count = 16
* .db_name = "hrv11d".
* .fast_start_mttr_target = 300
#* .hash_join_enabled = TRUE
* .instance_name = "hrv11d".
* .java_pool_size = 150 M
* .job_queue_processes = 10
* .large_pool_size = 150 M
#* .log_archive_start = TRUE
* .log_archive_dest = "X:\oradata\hrv11d\archive".
* .open_cursors = 300
* .optimizer_index_caching = 50
* .pga_aggregate_target = 1 G
* runoff = 150
* .query_rewrite_enabled = "FALSE".
* .remote_login_passwordfile = "EXCLUSIVE."
* .sga_max_size = 1 G
* .shared_pool_size = 250 M
* .sort_area_size = 524288
* .star_transformation_enabled = "FALSE".
* .streams_pool_size = 50331648
* .timed_statistics = TRUE
* .undo_management = "AUTO".
* .undo_retention = 10800
* .undo_tablespace = "UNDOTBS2".
* .user_dump_dest = "X:\admin\hrv11d\udump".
* .session_max_open_files = 20
optimizerconnect_by_cost_based = false

What should I look at next?

X: is a mapped drive says everything.
Oracle does not support the mapped drives, at least not before 10g.
In 10g you need to RUNAS service under a domain administrator account.
And Yes, it's actually documented.

---------------
Sybrand Bakker
Senior Oracle DBA

Tags: Database

Similar Questions

  • ORA-02778: name given to the log directory is not valid

    It's my file on the standby server pfile...
    DB production: PRD
    DB pending: STD
    std.__db_cache_size=176160768
    std.__java_pool_size=4194304
    std.__large_pool_size=4194304
    std.__shared_pool_size=79691776
    std.__streams_pool_size=0
    *.background_dump_dest='D:\oracle\product\10.2.0\admin\prd\bdump'
    *.compatible='10.2.0.0.0'
    *.control_files='D:\oracle\product\10.2.0\oradata\prd\control01.ctl','D:\oracle\product\10.2.0\oradata\prd\control02.ctl'
    *.core_dump_dest='D:\oracle\product\10.2.0\admin\prd\cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=32
    
    *.db_file_name_convert='D:\oracle\product\10.2.0\oradata\prd','D:\oracle\product\10.2.0\oradata\std'
    *.db_files=100
    *.db_name='prd'
    *.db_unique_name='STD'
    *.fal_client='std'
    *.fal_server='prd'
    *.instance_name='prd'
    *.job_queue_processes=10
    *.log_archive_config='DG_CONFIG=(prd,std)'
    *.log_archive_dest_1='LOCATION=D:\oracle\product\10.2.0\oradata\std VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=std'
    *.standby_archive_dest='D:\oracle\product\10.2.0\oradata\std'
    *.log_archive_dest_2='service=prd lgwr async VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=PRD'
    *.log_archive_dest_state_1='ENABLE'
    *.log_buffer=524288
    *.log_checkpoint_interval=10000
    *.log_file_name_convert='D:\oracle\product\10.2.0\oradata\prd','D:\oracle\product\10.2.0\oradata\std'
    *.max_dump_file_size='10M'
    *.nls_date_format='YYYY-MM-DD'
    *.NLS_LENGTH_SEMANTICS='CHAR'
    *.open_cursors=300
    *.os_authent_prefix=''
    *.pga_aggregate_target=56M
    *.processes=200
    *.remote_login_passwordfile='EXCLUSIVE'
    *.remote_os_authent=true
    *.resource_limit=TRUE
    *.sga_target=256M
    *.timed_statistics=FALSE
    *.undo_management='AUTO'
    *.undo_retention=10800
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='D:\oracle\product\10.2.0\admin\prd\udump'
    C:\Documents and Settings\Administrator>set oracle_sid=std
    
    C:\Documents and Settings\Administrator>sqlplus / as sysdba
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Oct 30 12:13:26 2009
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    Connected to an idle instance.
    
    SQL> startup nomount pfile='D:\oracle\product\10.2.0\oradata\std\initstd.ora';
    ORA-02778: Name given for the log directory is invalid
    No idea what wrong with that?...

    Hello

    check this setting in primary education

    in the primary, you gave,

    log_file_name_convert='d:\oracle\product\10.2.0\oradata\prd','d:\oracle\product\10.2.0\oradata\prd'

    in standby mode, you have given

    log_file_name_convert='d:\oracle\product\10.2.0\oradata\prd','d:\oracle\product\10.2.0\oradata\std'

    Kind regards
    Deepak

  • ORA-39070: unable to open the log file, while using expdp

    Hello
    Please notice why I get ORA-39070: unable to open the log file.
    When you run the expdp against the default directory: the expdp DATA_PUMP_DIR is completed successfully.

    -current direcory on the Linux file system:
    $ pwd
    /log_files/oracle/cdl1
    -Create directory and grant of read/write on it
    $ sqlplus sys/xxxx@cdl as sysdba
    SQL*Plus: Release 11.2.0.3.0 Production on Wed Feb 22 16:36:01 2012
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    
    SQL> create or replace directory EXPTEMPDIR as '/log_files/oracle/cdl1';
    Directory created.
    
    SQL> grant read,write on directory EXPTEMPDIR to system;
    Grant succeeded.
    -Verify the existence of the directory:
    QL> select * from dba_directories;
    
    OWNER      DIRECTORY_ DIRECTORY_PATH
    ---------- ---------- --------------------------------------------------
    ...
    SYS        EXPTEMPDIR /log_files/oracle/cdl1
    ...
    Check for permission to write to the directory:
    [/log_files/oracle/cdl1]$ touch 1
    [/log_files/oracle/cdl1]$ ls -l
    total 0
    -rw-r--r-- 1 oracle oinstall 0 Feb 22 16:38 1
    -try to expdp:
    expdp system/xxxx@cdl FULL=y DIRECTORY=EXPTEMPDIR dumpfile=expfull220212.dmp
    Export: Release 11.2.0.3.0 - Production on Wed Feb 22 16:38:33 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.   <<<<<<<<=======
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 536
    ORA-29283: invalid file operation

    Post pl OS details - it's an RAC instance?

    Error ORA-39002 ORA-39070 ORA-29283 ORA-6512 when you use Export DataPump (EXPDP) [ID 1305166.1]
    Export DataPump (EXPDP) triggers errors ORA-39002 ORA-39070 ORA-29283 ORA-6512 on RAC Instance [1317798.1 ID]

    HTH
    Srini

  • I bought a second hand Mackbook air.  Despite the changes made in Icloud, accounts etc., appearing as the Macbook Air of continuous... (the name given by the former owner)  How can I change the name?

    I bought a second hand Macbook Air (early 2014, 128 GB SSD, Intel Core I5).  Despite all the changes in system preferences, he continues to wear the name assigned by the former owner (user).  How can I change the name of Macbook Air of... (my name)?

    Erase the Mac and reinstall OS X under your name.

  • ORA-39087: directory name is not valid...

    Oracle 11.2.0.4 SE a 64-bit

    Windows 2012

    Overall the project is to move the database from 32 bit Windows 2008 to 64 - bit Windows 2012

    Habitable expdp/impdp using pre-created new database of selected patterns.

    Movement patterns is works very well but problem with certain follow-up activities.

    One of the scripts (.cmd file) to move running expdp on selected patterns.  On execution, it returns

    Connected to: Oracle Database 11 g Release 11.2.0.4.0 - 64 bit Production

    ORA-39002: invalid operation

    ORA-39070: unable to open the log file.

    ORA-39087: directory DPUMP_SCHEMA name is invalid

    The directory in the db object exists:

    SQL > select * from dba_directories where directory_name = "DPUMP_SCHEMA";

    OWNER DIRECTORY_NAME DIRECTORY_PATH

    ---------- ------------------------------ ------------------------------

    SYS DPUMP_SCHEMA G:\orcl\dpump

    And if the specified directory does not exist:

    SQL > host dir G:\orcl\dpump

    Volume in drive G is Oracle and Archlogs backup

    Volume serial number is 1C9C-1F4D

    Directory of G:\orcl\dpump

    2015/12/16 10:00 < DIR >.

    2015/12/16 10:00 < DIR >...

    0 file (s) on 0 bytes

    2 dir 108,017,045,504 bytes free

    As far as I can tell the only thing not taken into account is possibly permissions on the directory.  Looking at the, they APPEAR to be good, but we are dealing with Windows here, and permissions under Windows have always been somewhat a mystery to me.

    FWIW, there is also a "G:\orcl\rman" directory where rman backups and logs of TIME to go, and there is no problem with these jobs.  I can find no distinction between the permissions on g:\orcl\rman and g:\orcl\dpump, but once again, with the safety of Windows, I don't know what I was looking for.

    The database software was installed by a domain account (< domain > \OraAdmin) and all of these directories are created by the same account.  This domain account is a member of the local Administrators group.

    Hi Ed,

    Sorry for asking it - I knew that you would have given all subsidies on this directory (can you tour more check - just in case).

    I hope that you perform expdp with system user - according to the standard (in the case of the owner of the respective schemas - privs are granted/assigned)

    Do you use service_name in your expdp by chance?

    Can you share expdp statement - just in case (sorry to ask)

    Update:

    Under windows you can try DATA_PUMP_DIR = - his case set

    -Pavan Kumar N

  • Could not import the database using impdp via network_link

    Dear all,

    I'm trying to import the database from the remote location to my local database dump after you have created the dblink to local db db remotely.


    On a remote server:


    -Directory created and granted privileges. Name dir: PREMLIVE_EXPDP


    To the Local Server:


    User name: expuser with database privileges full dba, imp and exp.


    Name of the DB link: to_premiatest14


    I faced an error of no valid directory when I run the command on the local server to import the schema of remote database below.


    C:\ > impdp expuser/expuser network_link = rΘpertoire to_premiatest14 = PREMLIVE_EXPDP remap_schema = PREMIATEST:PREMIATEST15 logfile = 2013-09 - 02_premiatest15.log

    Connected to: Oracle Database 10 g Enterprise Edition Release 10.2.0.5.0 - 64 bit

    Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    ORA-39002: invalid operation

    ORA-39070: unable to open the log file.

    ORA-39087: directory PREMLIVE_EXPDP name is invalid

    Help or advice would be really appreciated.

    Kind regards

    Syed

    Hi Syed,

    I think you do the opposite on the directory stuff.

    The directory parameter is just to hold the log file. There is no file dumpfile required in IMPDP via dblink operations it's all cross-network.

    Basically, what is lacking is the DIRECTORY on the local server.

    Don't forget not also create the associated tablespace and remap if necessary.

    Kind regards

    Rodrigo

  • Could not import the datapump

    Hello

    Oracle Version: 10.2.0.1
    Linuxversion: Rhel4

    When I try to import the dump file I can't import the dump. It's on the virtual machine of san storage.
    [oracle@VM1-3 dbdump]$ impdp prod_91110/prod_91110 directory=dbdump dumpfile=prod_91102.dmp  remap_schema=prod_91102:prod_91110 remap_tablespace=nds_indx2:prod_91110,nds_data:prod_91110,ndsprod:prod_91110,nds_indx:prod_91110,prod_91102:prod_91110 parallel=3 job_name=prod_91110
    
    Import: Release 10.2.0.1.0 - Production on Tuesday, 10 November, 2009 23:17:21
    
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 475
    ORA-29283: invalid file operation
    Published by: SIDDABATHUNI on November 10, 2009 04:25

    SIDDABATHUNI wrote:
    Hello

    Oracle Version: 10.2.0.1
    Linuxversion: Rhel4

    When I try to import the dump file I can't import the dump. It's on the virtual machine of san storage.

    [oracle@VM1-3 dbdump]$ impdp vsprod_91110/vsprod_91110 directory=dbdump dumpfile=vsprod_91102.dmp  remap_schema=vsprod_91102:vsprod_91110 remap_tablespace=qfundvs_indx2:vsprod_91110,qfundvs_data:vsprod_91110,qfundvsprod:vsprod_91110,qfundvs_indx:vsprod_91110,vsprod_91102:vsprod_91110 parallel=3 job_name=vsprod_91110
    
    Import: Release 10.2.0.1.0 - Production on Tuesday, 10 November, 2009 23:17:21
    
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 475
    ORA-29283: invalid file operation
    

    Have you tried searching for your code on google before posting here?

    http://www.Google.AZ/search?hl=ru&source=HP&q=ora-39070&LR=&AQ=f&OQ=

  • ORA-12154 TNS: could not resolve service name

    Hi all

    I cloned an Oracle Apps 11.5.10.2 instance on a new server and coompleted it successfully. I could connect to the applications and submit queries with success. But when I try to connect to the database using SQLPLUS or TOAD, I get an "ORA-12154 TNS: could not resolve service name" error. I have the tnsentry for this database in tnsnames.ora on my PC. the entry is as below:

    QA11I. WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP (Port = 1561))(Host = amcdev0004.xxx.com))
    )
    (CONNECT_DATA = (SID = qa11i) ORACLE_HOME = qa11i/app/qa11iora/9.2) (SERVER = DEDICATED))
    )

    TNSPING does not work. I have tried other servers as well but does not work. Please notify.

    Thank you.

    Hello

    A parenthesis is missing in the tnsnames.ora to your first post (just to the left of the ORACLE_HOME).

    For your listener.ora on the next post I did not notice a missing parenthesis.

    Best regards
    Jean Valentine

  • ORA-12154 tns could not resolve the specified correct identifier

    I am facing the following problem:

    labVIEW 2012 32 bits 64 bits of Windows 7, 10.2.0.1.0 oracle client (32-bit).

    I created a DSN from Data Sources (ODBC) (32-bit version of what in % windir%\syswow64\odbcad32.exe) pointing to an instance of Oracle 10 g.

    I have test the DSN in this way (IE. Data sources (ODBC) and the connection is successful (which means that the tnsnames.ora is correct).

    I use the "DB tools Open Connection.vi" in order to get connected to this database, passing as parameters the DSN above, the user name and password.

    I get the error:

    ADO error: 0x80040E4D
    Exception occurred in the Microsoft OLE DB provider for ODBC drivers:

    [Oracle] [ODBC] [Ora] ORA-12154: TNS could not resolve the specified correct identifier

    all will help much appreciated

    Thanks in advance

    Hello everyone.

    I already solved the problem (work until late Saturday).

    the solution was to install the latest version of the Oracle customer, namely: Oracle 11 g Release 2 CLIENT for Windows 32 (11.2.0.1.0).

    Now everything works OK.

    I also tested in Windows 7 32 bit (the .vi even and the same Oracle client). This will also OK.

    Thans a lot.

  • sqlplus ORA-12154: TNS: could not resolve the connect identifier specified

    Hello

    I am not able to connect to the database using sqlplus, using following command:

    sqlplus activites@OCA010

    I get the error message "ORA-12154: TNS: could not resolve the connect identifier specified.

    I tried to connect by providing the full as connection string: "" sqlplus activities / [email protected]:1521 / compix "and he succeeded."

    I also tried to connect using sql developer by providing network TNS alias 'OCA010' it is also successful.

    Someone could please help out here and let me know how can I connect using sqlplus using aliases TNS network.

    content of the tnsnames.ora file is as follows

    tnsnames.ora # Network Configuration file: D:\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora

    # Generated by Oracle configuration tools.

    COMPIX =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = compix)

    )

    )

    BC =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = BC)

    )

    )

    ORACLR_CONNECTION_DATA =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    (CONNECT_DATA =

    (SID = CLRExtProc)

    (PRESENTATION = RO)

    )

    )

    OCA01 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = OCA01)

    )

    )

    OCA010 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.10.3)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = compix)

    )

    )

    Thanks in advance.

    2931143 wrote:

    Hi EdStevens,

    I used option TNS with Alias network as 'OCA010' in Sql Developer.

    I checked in tnsping and tnsnames.ora directory is correct.

    Please find below the exit of tnsping:

    C:\Users\LUCKY>tnsping OCA010

    AMT Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on October 29, 2015 21:07:38

    Copyright (c) 1997, 2010, Oracle.  All rights reserved.

    Use settings files:

    D:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora

    AMT-03505: failed to resolve the name

    Have you worked from the link I provided?  (I don't think you have time to do).

    It is possible that your tnsnames.ora is corrupted by some weird characters printable somewhere.  In some versions of the oracle, he might be sensitive to spaces vs. tabs.  If in doubt, netca to add entries, rather than doing it by hand.

  • DB Link error: ORA-12154: TNS: could not resolve the connect identifier specified

    Hi all

    We need to make an entry in the tnsname.ora file in a local database to connect to the remote database using db link?

    Here is my code: -.

    create the database link * _DBLINK

    connect to the USER IDENTIFIED BY 'user '.

    using '(DESCRIPTION =)

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = *. *. *. *)(PORT = 1521))

    )

    (CONNECT_DATA = (SERVICE_NAME = REM)

    )';

    After the creation of the DB connection when I'm trying to run select 1 of dual@***_DBLINK

    He throws me an error ORA-12154: TNS: could not resolve the connect identifier specified

    Am I expected to do an entry in the file tnsname.ora for "REM". I don't remember making any changes in the file tnsname.ora for the creation and access of the remote database via dblink.

    Help, please.

    Thanks in advance.

    2925917 wrote:

    Hi all

    We need to make an entry in the tnsname.ora file in a local database to connect to the remote database using db link?

    Here is my code: -.

    create the database link * _DBLINK

    connect to the USER IDENTIFIED BY 'user '.

    using '(DESCRIPTION =)

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = *. *. *. *)(PORT = 1521))

    )

    (CONNECT_DATA = (SERVICE_NAME = REM)

    )';

    After the creation of the DB connection when I'm trying to run select 1 of dual@***_DBLINK

    He throws me an error ORA-12154: TNS: could not resolve the connect identifier specified

    Am I expected to do an entry in the file tnsname.ora for "REM". I don't remember making any changes in the file tnsname.ora for the creation and access of the remote database via dblink.

    Help, please.

    Thanks in advance.

    I've learned to trust in your obfuscation you covered something important, or you are showing some apples and oranges.  Error to declare you come from not being able to find referenced in tnsnames.ora entry, but the way you say you created your link db, you hardcoded the entire connection, so he never users tnsnames.ora.

    I would change the definition of db_link

    create the database link * _DBLINK

    connect to the USER IDENTIFIED BY 'user '.

    using "REM."

    Then create an entry in your tnsnames.ora

    REM =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = *. *. *. *)(PORT = 1521))

    )

    (CONNECT_DATA = (SERVICE_NAME = REM)

    )

    )

    Also, use server name instead of the HOST = IP address

    The closer looks that you can miss brackets final closing on your original definition.

  • "ORA-12154: TNS: could not resolve the connect identifier specified" error executing the execution in CAD Plan.

    Hi friends,

    We do face-down question when executing the execution Plan in DAC for full charge. We are working on the project of modernization of the OBI Applications and my client has worked on this environment is a few days. Before this, they load to the source 'EBSTST' instance and now changed data for instance 'EBSWKLY '. We have changed the details of connection under the tab 'Physical Data Sources' DAC. Test the connection Source and target are good. We have added input TNS of EBSWKLY in the path: u01/app/oracle/oracle11g/product/11.2.0/client_1/network/admin.

    ORA-12154: TNS: could not resolve the connect identifier specified

    Database driver error...

    Function name: connect

    [The database error: could not connect to the database using the [apps] user and the connection string [EBSWKLY].].

    Please suggest me if I m done mistake anywhere...

    Thanks in advance.

    Raghu Jen7782

    I was saying about the environment variables defined by you on the server of informatica/dac under the .profile or .bash_profile as below:

    TNS_ADMIN = $ORACLE_HOME/network/admin; Export TNS_ADMIN

    ORACLE_BASE = / home/oracle/app/oracle; export ORACLE_BASE

    ORACLE_HOME=$ORACLE_BASE/product/11.2.0/; Export ORACLE_HOME

    ORACLE_SID = InstanceName; export ORACLE_SID

    Path = $PATH: / usr/sbin: $ORACLE_HOME/bin. export PATH

    LD_LIBRARY_PATH=.:$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH

    CLASSPATH = $ORACLE_HOME/jlib: $ORACLE_HOME/rdbms/jlib. Export CLASSPATH

    Here are some examples I mentioned everything. You can set them in the user profile from which you installed the server informatica/dac.

    If it is a CAR Forum, try to set the value of the instance-specific SID for example: orcl11 or orcl12 or orcl13... try to connect to each instance. Sometimes the general SID does not recognize configuration

  • ORA-16783: could not resolve the deficit for the database

    I have two databases emadb and emadbdg, governed by Data Guard. emadb is currently principal. emadbdg is currently pending physical.

    ORA16783 - cannot solve the gap for the database is one I think, is the origin of the problem. Anyone can help solve the problem below. Logs attached.

    Output of data protection

    DGMGRL > show detailed configuration

    Configuration - DRSolution

    Protection mode: MaxAvailability
    Databases:
    emadb - primary database
    Error: ORA-16825: multiple errors or warnings, including failover quick start or warnings, errors detected for the database

    emadbdg - (*) Physical standby database
    WARNING: ORA-16817: configuration not synchronized rapid failover

    (*) Fast failover target

    Properties:
    FastStartFailoverThreshold = "30"
    OperationTimeout = "30"
    FastStartFailoverLagLimit = "30"
    CommunicationTimeout = "180"
    FastStartFailoverAutoReinstate = 'TRUE '.
    FastStartFailoverPmyShutdown = "FALSE".
    BystandersFollowRoleChange = "ALL".

    Fast-Start Failover: ENABLED

    Threshold: 30 seconds
    Target: emadbdg
    Observer: emarn1
    Offset limit: 30 seconds (do not use)
    Primary closure: FALSE
    Auto-Rétablir: TRUE

    The configuration status:
    ERROR


    DGMGRL > see the detailed database emadb

    Database - emadb

    Role: PRIMARY
    State of destination: TRANSPORT-WE
    Occurrence (s):
    emadb

    Database error (s):
    ORA-16783: could not resolve the deficit for the database emadbdg

    Warning (s) of database:
    ORA-16817: unsynchronized fast-start failover configuration

    Properties:
    DGConnectIdentifier = "emadb.
    ObserverConnectIdentifier = "
    LogXptMode = "SYNCHRONIZE".
    DelayMins = '0'
    Binding = "optional."
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = "300"
    NetTimeout = "30"
    RedoCompression = "DISABLE."
    LogShipping = 'ON '.
    PreferredApplyInstance = "
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO '.
    StandbyFileManagement = 'AUTO '.
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = "4"
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = 'emadbdg, emadb '.
    LogFileNameConvert = "/ opt/app/oracle/oradata/emadbdg, / opt/app/oracle/oradata/emadb '"
    FastStartFailoverTarget = "emadbdg".
    InconsistentProperties = "(monitor).
    InconsistentLogXptProps = "(monitor).
    SendQEntries = "(monitor).
    LogXptStatus = "(monitor).
    RecvQEntries = "(monitor).
    Nom_sid = "emadb.
    StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=emarn1) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = emadb_DGMGRL) (INSTANCE_NAME = emadb)(SERVER=DEDICATED)))'
    StandbyArchiveLocation = "/ opt/app/oracle/oradata/emadb/archivelog1.
    AlternateLocation = "
    LogArchiveTrace = '0'
    LogArchiveFormat = '% t_%s_%r.dbf '.
    TopWaitEvents = "(monitor).

    State of the database:
    ERROR

    DGMGRL > see the detailed database emadbdg

    Database - emadbdg

    Role: STANDBY PHYSICS
    State of destination: apply
    Transport delay: (unknown)
    Apply the Lag: (unknown)
    Real-time query: OFF
    Occurrence (s):
    emadbdg

    Warning (s) of database:
    ORA-16817: unsynchronized fast-start failover configuration

    Properties:
    DGConnectIdentifier = "emadbdg".
    ObserverConnectIdentifier = "
    LogXptMode = "SYNCHRONIZE".
    DelayMins = '0'
    Binding = "OPTIONAL."
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = "300"
    NetTimeout = "30"
    RedoCompression = "DISABLE."
    LogShipping = 'ON '.
    PreferredApplyInstance = "
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO '.
    StandbyFileManagement = 'AUTO '.
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = "4"
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = 'emadb, emadbdg '.
    LogFileNameConvert = "/ opt/app/oracle/oradata/emadb, / opt/app/oracle/oradata/emadbdg '"
    FastStartFailoverTarget = "emadb.
    InconsistentProperties = "(monitor).
    InconsistentLogXptProps = "(monitor).
    SendQEntries = "(monitor).
    LogXptStatus = "(monitor).
    RecvQEntries = "(monitor).
    Nom_sid = "emadbdg".
    StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=emarn2) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = emadbdg_DGMGRL) (INSTANCE_NAME = emadbdg)(SERVER=DEDICATED)))'
    StandbyArchiveLocation = "/ opt/app/oracle/oradata/emadbdg/archivelog1.
    AlternateLocation = "
    LogArchiveTrace = '0'
    LogArchiveFormat = '% t_%s_%r.dbf '.
    TopWaitEvents = "(monitor).

    State of the database:
    WARNING

    DGMGRL >
    DGMGRL >
    DGMGRL >
    DGMGRL >
    DGMGRL > output

    Alex Antony Samantha wrote:


    Head node

    SQL> archive log list
    Database log mode            Archive Mode
    Automatic archival            Enabled
    Archive destination            /opt/app/oracle/oradata/emadb/archivelog1
    Oldest online log sequence     65
    Next log sequence to archive   67
    Current log sequence            67
    
    SQL> select thread#,max(sequence#) from v$archived_log group by thread#;
    
    THREAD# MAX(SEQUENCE#)
    ---------- --------------
          1           925
    

    It is misleading to the column sequence, sequence of real number is 65 series, but it's beyond. Have you restored any old backup with the incarnation?
    When you perform incremental backups, is the current_scn in the two primaries and Eve was balanced?

    And the sequence number * 29 * is transferred from the primary to the standby (or) he has been removed from the primary?
    Perform the two methods.

    (1) SQL > alter system set log_archive_dest_state_2 = 'reporter ';
    (2) conduct 3-4 log switches
    (3) SQL > alter system set log_archive_dest_state_2 = 'enable '.

    and displays the alert log database and backup files.
    And you mentioned the hostname in the entries of the listener, if this entry is added in/etc/hosts? otherwise you can use the IP address instead of the host name and then reload the listener.

    second method
    (1) copy archives missing from primary sequence of 29
    (2) place manually and then perform a recovery
    or
    (3) retrieve manually

    And update with your conclusions after all these lists.
    Thank you.

  • ORA-12154: TNS: could not resolve the connect identifier specified in 11g R2

    Hello

    Recently we changed the name of our Linux server, after chanding hostname, I made changes in tnsnames.ora and listener.ora and also local_listener at the database level.

    When I am trying to connect database of his failure with the error.

    [orawiz@wizapp admin] $ sqlplus system/oracle@WIZ

    SQL * more: Production of release 11.2.0.1.0 LUN 20 16:57:58 Feb 2012

    Copyright (c) 1982, 2009, Oracle. All rights reserved.

    ERROR:
    ORA-12154: TNS: could not resolve the connect identifier specified


    Here's my entires of tns.

    [orawiz@wizapp admin] $ cat tnsnames.ora
    tnsnames.ora # Network Configuration file: /wiz_app/wiz/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.

    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.172.20.236)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = wiz)
    )
    )

    #wiz = (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP) (HOST = 10.172.20.236)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVER = DEDICATED)
    # (SERVICE_NAME = wiz)
    # )
    # )

    [orawiz@wizapp admin] $ cat listener.ora
    listener.ora # Network Configuration file: /wiz_app/wiz/oracle/product/11.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.

    WIZ =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.172.20.236)(PORT = 1521))
    )
    )

    #SID_LIST_LISTENER =
    # (SID_LIST =
    # (SID_DESC =
    # (SID_NAME = wiz)
    # (GLOBAL_DBNAME = wiz)
    # (ORACLE_HOME = wiz_app/wiz/oracle/product/11.2.0/db_1)
    # )
    # )


    ADR_BASE_LISTENER = / wiz_app/wiz/oracle

    [orawiz@wizapp admin] $ cat sqlnet.ora
    sqlnet.ora # Network Configuration file: /wiz_app/wiz/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.

    NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)

    ADR_BASE = / wiz_app/wiz/oracle


    tnsping also default.

    [orawiz@wizapp admin] tnsping wiz $

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on 20 February 2012 17:03:16

    Copyright (c) 1997, 2009, Oracle. All rights reserved.

    Use settings files:
    /wiz_app/Wiz/Oracle/product/11.2.0/Db_1/network/admin/SQLNET.ora

    AMT-03505: failed to resolve the name
    [orawiz@wizapp admin] $

    Nothing to with listener.ora file with ORA-12154.
    If the listener does not not or the status is not ready then it's listener.ora.

    Below add entries in your file tnsnames.ora and post $tnsping wiz

    WIZ =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 10.172.20.236)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = wiz.)
        )
      )
    

    Publish your file sqlnet.ora

    Published by: CKPT on 20 February 2012 17:28

  • ORA-12154: TNS: could not resolve the connect identifier specifier (XE)

    Hello

    «I installed on my laptop with win 7 Oracle Database 10g Release 2 (10.2.0.1) Express Edition for Microsoft Windows, but when I tried to connect with Toad for Oracle Freeware 10.6 I get the following error ' ORA-12154: TNS: could not resolve the connect identifier specifier (XE)» I read on the forum that the problem comes from the wrong configuration of the AMT.
    This is rhe tnsping respons
    "C:\Users\Sergiu > tnsping XE.

    AMT Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 13-NOV-2
    010 15:20:10

    Copyright (c) 1997, 2005, Oracle. All rights reserved.

    Use settings files:
    C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = Sergiu-PC) (p)
    (ORT = 1521)) (CONNECT_DATA = (SERVER = dedicated) (SERVICE_NAME = XE)))
    OK (0 msec)
    "
    EARPHONE
    "
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (= Extproc PROGRAM)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP) (HOST = Sergiu-PC)(PORT = 1521))
    )
    )

    DEFAULT_SERVICE_LISTENER = (XE)
    "

    SQLNET

    "
    # This file is actually generated by netca. But if customers can opt for
    # install 'Software Only', this file does not exist and without the native
    authentication #, they will not be able to connect to the database on NT.

    SQLNET. AUTHENTICATION_SERVICES = (NTS)

    "

    TNSNAME
    "
    XE =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = Sergiu-PC)
    (PORT = 1521)
    )
    (CONNECT_DATA =
    (SERVER = dedicated)
    (SERVICE_NAME = XE)
    )
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = EXTPROC_FOR_XE)
    )
    (CONNECT_DATA =
    (PRESENTATION = RO)
    (SID = PLSExtProc)
    )
    )

    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = EXTPROC_FOR_XE)
    )
    (CONNECT_DATA =
    (PRESENTATION = RO)
    (SID = CLRExtProc)
    )
    )

    "

    Can someone tell me what is the problem?

    Best regards

    It can be caused by the location of the TOAD software. The have you installed under "Program Files (x 86)? If Yes, then try to reinstall in a different directory, media in the path name can cause problems.

Maybe you are looking for