Oracle RAC: not updated by srvctl tnsnames.ora

Hello

On both Oracle 10 g R2 RAC conditions 4.5 Linux nodes, I published with success the following commands to add a new service, but I don't see any changes on the tnsnames.ora file to add the created service connection descriptors. Is there anything missing? The tnsnames.ora file should not be updated by the srvctl?
[oracle@rac2 admin]$ add service -d rac -s biserv -r rac1 -a rac2 -P PRECONNECT
[oracle@rac2 admin]$ srvctl start service -d rac -s biserv

[oracle@rac2 admin]$ crstat
HA Resource                                   Target     State
-----------                                   ------     -----
ora.rac.biserv.cs                             ONLINE     ONLINE on rac1
ora.rac.biserv.rac1.srv                       ONLINE     ONLINE on rac1
ora.rac.db                                    ONLINE     ONLINE on rac1
ora.rac.hrserv.cs                             ONLINE     ONLINE on rac1
ora.rac.hrserv.rac1.srv                       ONLINE     ONLINE on rac1
ora.rac.hrserv.rac2.srv                       ONLINE     ONLINE on rac2
ora.rac.oeserv.cs                             ONLINE     ONLINE on rac1
ora.rac.oeserv.rac1.srv                       ONLINE     ONLINE on rac1
ora.rac.oeserv.rac2.srv                       ONLINE     ONLINE on rac2
ora.rac.rac1.inst                             ONLINE     ONLINE on rac1
ora.rac.rac2.inst                             ONLINE     ONLINE on rac2
ora.rac1.ASM1.asm                             ONLINE     ONLINE on rac1
ora.rac1.LISTENER_RAC1.lsnr                   ONLINE     ONLINE on rac1
ora.rac1.gsd                                  ONLINE     ONLINE on rac1
ora.rac1.ons                                  ONLINE     ONLINE on rac1
ora.rac1.vip                                  ONLINE     ONLINE on rac1
ora.rac2.ASM2.asm                             ONLINE     ONLINE on rac2
ora.rac2.LISTENER_RAC2.lsnr                   ONLINE     ONLINE on rac2
ora.rac2.gsd                                  ONLINE     ONLINE on rac2
ora.rac2.ons                                  ONLINE     ONLINE on rac2
ora.rac2.vip                                  ONLINE     ONLINE on rac2

[oracle@rac2 admin]$ cat tnsnames.ora
# tnsnames.ora.rac2 Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora.rac2
# Generated by Oracle configuration tools.

RAC =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.mydomain.com)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.mydomain.com)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = rac)
    )
  )

OESERV =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.mydomain.com)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.mydomain.com)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = oeserv)
      (FAILOVER_MODE =
        (TYPE = SELECT)
        (METHOD = BASIC)
        (RETRIES = 180)
        (DELAY = 5)
      )
    )
  )

LISTENERS_RAC =
  (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.mydomain.com)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.mydomain.com)(PORT = 1521))
  )

RAC2 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.mydomain.com)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = rac)
      (INSTANCE_NAME = rac2)
    )
  )

RAC1 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.mydomain.com)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = rac)
      (INSTANCE_NAME = rac1)
    )
  )

HRSERV =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.mydomain.com)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.mydomain.com)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = hrserv)
      (FAILOVER_MODE =
        (TYPE = SESSION)
        (METHOD = BASIC)
        (RETRIES = 180)
        (DELAY = 5)
      )
    )
  )

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

Srvctl manages the CRS (OCR), but does not alter the tnsnames.ora.

You can use netca to manage tnsnames.ora, but personally, I find it easier to manually edit the entries.

Tags: Database

Similar Questions

  • Oracle BI developer Client tools without Tnsnames.ora

    Hello gurus,


    In my local computer of the user, I installed Oracle BI developer Client Tools version 11.1.1.6
    It allows us to open a repository online/offline without installing OBIEE and Oracle database in our user, just put in ODBC connection.
    But the problem is when the user want to try to create the new repository, it seems that "the connection failed".
    There we have to copy some tnsnames.ora? In our local computer of the user, there is no tnsnames.ora since it does not install OBIEE/Oracle database on the local computer.

    Help, please


    Thanks in advance

    See you soon,.

    JOE

    Hey Joe,
    If you import data from an oracle database. You must install the Oracle database client. Then only, you can import data from Oracle database.
    In addition, you are supposed to copy file ora, TNSNAMES.

  • customer will not use the correct tnsnames.ora file

    Hello all, I installed oracle 10g client on my machine... but here's the thing... I tnsnames.ora several file on my machine (which I can't delete or play with)... and because of this oracle is not able to connect to the database I want it to connect to... I can't do tnsping to the database... is there a way where I can point my client to use a specific tnsnames.ora file? as a pointer? or something where it will look in this file specific tnsnsame.ora?

    You can specify what tnsnames.ora for use the TNS_ADMIN environment variable
    Switch to the directory that contains your tnsnames.ora to use.

    Kind regards
    Uwe

    http://uhesse.WordPress.com

  • DBD::Oracle and instant client - can't find tnsnames.ora

    Hi all! :-)

    Guys, please, help!

    My OS: CentOS 6.6, i386

    Installed:

    Oracle - instantclient12.1 - basic - 12.1.0.2.0 - 1.i386

    Oracle - instantclient12.1 - devel - 12.1.0.2.0 - 1.i386

    Oracle - instantclient12.1 - sqlplus - 12.1.0.2.0 - 1.i386

    Perl-DBI-1, 609 - 4.el6.i686

    and last perl-DBD-Oracle-1, 74-CPAN.

    Apache 2.2.15, mod_perl 2.0.4

    SELinux disabled.

    ORACLE_HOME = usr/lib/oracle/12.1/client, LD_LIBRARY_PATH = /usr/lib/oracle/12.1/client/lib

    tnsnames.ora exist in /usr/lib/oracle/12.1/client/network/admin

    I wrote a simple perl script to test the connection:

    use strict;
    use DBI;
    
    my $dbh = DBI ->connect("dbi:Oracle:crm", 'login', 'password',{RaiseError => 1} );
    $dbh->disconnect();
    
    

    When I try to run script command line - everything isn't ok, no errors (Yes, I can run queries, etc... )

    But!

    With apache, I get an error:

    DBI connect('crm','login',...) failed: ORA-12154: TNS: could not resolve the connect identifier specified (DBD ERROR: OCIServerAttach) in /opt/otrs/bin/cgi-bin/oratest.pl on line 9

    I am trying to add ORACLE_HOME with PerlSetEnv and script see (I checked through % ENV), but no luck.

    Probably easier to use EZconnect instead of tnsnames.ora:

    $machine = 'my.oracle.database.com';
     $port = 1521;
     $sid = 'my_sid';
     $dbh = DBI->connect("dbi:Oracle://$machine:$port/$sid", $user, $pass) ||
      die "Failed to connect: $DBI::errstr\n";
    
  • Oracle TNS not getting format not recognized

    Hi all

    I have two installations in my system:

    Oracle 10g

    Oracle, forms and reports 6i - Oracle8

    I don't know in what order its been installed, it came with my installation of windows office directly.

    The problem is with the TNSNAMES file.

    The tnsnames.ora file is being levied on the 'C:\Ora10g' only location (10g installation location).

    But the tnsnames I mentioned in the file are not getting identified. I get the error message "TNS could not resolve service name".

    And if I replace the tnsname for (for example: UAT) with UAT.world, and then its getting identified. Which means that I realized that this format is to check with the Oracle8 version. There is no problem with format tns.

    Now my question is what are the settings that should be changed to make this file be scanned with the installation of Oracle 10 g.

    Please help me...

    Sameer Sai wrote:

    Even I tried to delete these two entries and tried:

    Names.default_domain = everyone

    Name.default_zone = everyone

    But it's not working. Can you please help?

    But if you have, as you say, two ORACLE_HOMES, you need to make the change in the relevent one.  Better to do that sybrand said and set your TNS_ADMIN variable to point to one or the other.  Indeed, in such a case, I would say for the creation of a special "tns admin" directory.  Say, "C:\app\oracle\tnsadmin\."  Place your files tnsnames.ora or sqlnet.ora in this directory and set 'TNS_ADMIN = C:\app\oracle\tnsadmin'

  • Issue of INS-35354 when installing Oracle RAC 12 on infrastructure Oracle Grid 12

    Hello

    I am trying to install Oracle RAC 12.1.0.2 one node installation on Windows Server R2 2012, but the installer told me:

    'Valid [INS-35354] the system on which you try to install Oracle RAC One doesn't not part of a cluster.'

    On the same server I have is installed and running Oracle Grid Infrastructure + ASM.

    I don't know what is missing the installation program, which is possible to register? The installation program does not provide which had not passed the specific audit.

    Thanks for the tips

    Georg

    Hello

    A CCR node does not mean that you install the grid infrastructure in a single node and install a base of a RAC data on this node.

    Basically, a concept CAR is similar to active passive clustering to provide high availability. To have a node database RAC upward and launched, you will have to install clusterware on at least two server by selecting the option during the installation of the IM.

    Pls follow the below post for detailed answer

    INS-35354: validates the system on which you are trying to install Oracle RAC not part of a group when installing a 12 c RAC node database

    Concerning

    Krishnan

  • When I need the machine tnsnames.ora and customer configurations?

    Hello

    I installed Oracle 11 g on Linux system and successfully created the databases. I can access the database (on server) Enterprise Manager and SQL * (by sqlplus SYSTEM/pass@ora). On another computer I installed the Oracle 11 g database Client (and chose the type administrator installation). Before you start the network for local configuration Setup Wizard Net Service Name, I started Enterprise Manager (the same address, what happens on the server). I was very surprised that I can access Enterprise Manager client without any additional configuration.
    I know, tnsnames.ora help with SQL * more (we can access SYSTEM/pass@ora and don't give no address ip and port).
    And my questions: can I access by Enterprise Manager of any client computer without creating tnsnames.ora and additional configurations client machine?
    Is SQL * more use only tnsnames.ora?

    Thanks awfully for help.
    Concerning

    Luk004 wrote:
    can I access by Enterprise Manager of any client computer without creating tnsnames.ora and additional configurations client machine

    Yes, because the Business Manager is an application of 3 layers: you connect to an application server that connects to the database instance.

    Luk004 wrote:
    Is SQL * more use only tnsnames.ora?

    No.: each client must connect directly to the instance of database with a base layer Oracle Call Interface (OCI) must use tnsnames.ora.
    There are a few exceptions:
    -The thin JDBC driver: http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_environments.htm#sthref52.
    -EZConnect connection string: http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/naming.htm#ABC524382SRI12.

  • Claisse permanent entries in application tnsnames.ora

    Hello

    We have r12.0.4 on 2nd node with other applications and multi-user with 1 db and batch proccesing services architecture, when I run autconfig the entry below is bad get added in application tnsnames.ora

    FNDFS_APPLTOP_fbiprddb =
    (DESCRIPTION =
    (ADDRESS_LIST =
    * (ADDRESS = (PROTOCOL = tcp (PORT = 1627))(HOST=FBIPRDAPL.fbico.com)) *.
    (ADDRESS = (PROTOCOL = tcp (PORT = 1627))(HOST=fbiprddb.fbico.com))
    )
    (CONNECT_DATA =
    (SID = FNDFS)
    )
    )

    I don't want this entry to get add when I run autoconfig, I know that I can use IFILE to this issues so that adconfig does not write that the tnsnames.ora But y at - it another way I can solve this problem without using IFILE by some reserve in autoconfig file or someother thing?

    Concerning

    Hello

    See it is a multi-user system so there are 3 xml files 2 for 1 for the database and applications which have there respective run.i scripts must run autconfig first for xml database file? xml file then primary apps then secondary applications xml file? RIGHT

    Fix.

    Kind regards
    Hussein

  • Net Oracle does not read the tnsnames.ora file.

    I am running 11.2.0.3 on Solaris 10 SPARC x 64. I'm trying to configure oracle net for a new database on hold in order to be able to use rman duplicate to create. LDAP is what we mainly use for all of our connections and, possibly, what I could use very well for my goal of rman duplication. But, I fear that I do nothing seems to allow me to read the tnsnames.ora file.

    My SQLNET. ORA file is as follows:

    NAMES. DIRECTORY_PATH = (LDAP, TNSNAMES)

    NAMES. DEFAULT_DOMAIN = mydomain.com

    My TNSNAMES file. ORA file is as follows on both servers:

    WLDB_HERE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary_server) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = wldb_here.mydomain.com))
    )

    WLDB_THERE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby_server) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = wldb_there.mydomain.com))
    )

    I have a static entry in the remote listener.ora file so I can connect to create the instance:

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wldb_there.mydomain.com)
    (ORACLE_HOME = / u01/app/oracle/product/OraHome112)
    (SID_NAME = WJZI)
    )
    )

    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby_server) (PORT = 1521))
    )

    Permissions on my .ora files in $ORACLE_HOME/network/admin are

    -rw - r - r - 1 oracle dba

    The user that I am connected to who is oracle.

    I have set up several times before, but for some reason that I can't get this to work. I get

    AMT-03505: failed to resolve host

    Of

    tnsping wldb_there

    or

    tnsping wldb_here

    I have not tried to take the LDAP Protocol on my sqlnet.ora because I need, but I really want to know if anyone has had an experience like this before.

    Thank you-

    gregb wrote:

    I am running 11.2.0.3 on Solaris 10 SPARC x 64. I'm trying to configure oracle net for a new database on hold in order to be able to use rman duplicate to create. LDAP is what we mainly use for all of our connections and, possibly, what I could use very well for my goal of rman duplication. But, I fear that I do nothing seems to allow me to read the tnsnames.ora file.

    My SQLNET. ORA file is as follows:

    NAMES. DIRECTORY_PATH = (LDAP, TNSNAMES)

    NAMES. DEFAULT_DOMAIN = mydomain.com

    My TNSNAMES file. ORA file is as follows on both servers:

    WLDB_HERE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary_server) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = wldb_here.mydomain.com))


    )

    Because you have NAMES. DEFAULT_DOMAIN = mydomain.com in your sqlnet.ora, when you try to connect to "WLDB_HERE", before tnsnames.ora is read, sqlnet will transform your application in "WLDB_HERE.mydomain.com".  And that's what he's going to get.

    You do not have an entry in your tnsnames.ora to 'WLDB_HERE.mydomain.com '.

    WLDB_THERE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby_server) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = wldb_there.mydomain.com))
    )

    I have a static entry in the remote listener.ora file so I can connect to create the instance:

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wldb_there.mydomain.com)
    (ORACLE_HOME = / u01/app/oracle/product/OraHome112)
    (SID_NAME = WJZI)
    )
    )

    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby_server) (PORT = 1521))
    )

    Permissions on my .ora files in $ORACLE_HOME/network/admin are

    -rw - r - r - 1 oracle dba

    The user that I am connected to who is oracle.

    I have set up several times before, but for some reason that I can't get this to work. I get

    AMT-03505: failed to resolve host

    Of

    tnsping wldb_there

    or

    tnsping wldb_here

    I have not tried to take the LDAP Protocol on my sqlnet.ora because I need, but I really want to know if anyone has had an experience like this before.

    Thank you-

  • Oracle apex 5.0: not update the values in the Collection.

    Hello again,

    I have a problem in IR where content comes from the collection query.

    Now the question is when I update the value of the column in the report and click on the custom button, that it will update the value of collection and insert the updated values of the collection member in another table that works well according to my condition, but when I will apply to any word in the search bar (say books in order not to update the values of books) and tries to update the value as a result of research above requirement does not work I mean the collection is not updated. Apex. Oracle.com

    testdump/developer/Office

    All of the Suggestions!

    Thank you

    Pranav.

    Pranav.Shah wrote:

    I have a problem in IR where content comes from the collection query.

    Now the question is when I update the value of the column in the report and click on the custom button, that it will update the value of collection and insert the updated values of the collection member in another table that works well according to my condition, but when I will apply to any word in the search bar (say books in order not to update the values of books) and tries to update the value as a result of research above requirement does not work I mean the collection is not updated. Apex. Oracle.com

    testdump/developer/Office

    The "coll update" process fails with a ORA-01403: no data found error. This happens in line 11 because of the access attempt to the wwv_flow.g_f01 using the variable array subscript c who has been incremented beyond the size of the table, which is now smaller because of the IR filter applied.

    begin declare
      c pls_integer := 0;
    begin
    for c1 in (
      select seq_id,c001 from apex_collections
      where collection_name = 'MATRIX2'
      ) loop
    c:=c+1;
    apex_debug.message(c);
      apex_collection.update_member_attribute (p_collection_name=> 'MATRIX2',
      p_seq=> c1.seq_id,p_attr_number =>'2',p_attr_value=>wwv_flow.g_f01(c));
    
    end loop;
    end;
    end;
    

    I agree with fondant tabular forms on interactive reports, but you can meet your requirement as follows. In your application, see page 2.

    1 Add a column of form element hidden IR containing the sequence number of collection:

    select
        c001 col1
      , apex_item.text(2, c002) col2
      , apex_item.hidden(1, seq_id) seq
    from
        apex_collections
    where
        collection_name = 'MATRIX2'
    

    2 place the question of the hidden form in the report using the COL1 Expression HTML attribute:

    #COL1##SEQ#
    

    3. change submit to the process if it is driven by the subject table, not the existing collection:

    begin
    
      for i in 1..apex_application.g_f01.count
      loop
        apex_collection.update_member_attribute(
            p_collection_name=> 'MATRIX2'
          , p_seq=> apex_application.g_f01(i)
          , p_attr_number => '2'
          , p_attr_value=> apex_application.g_f02(i));
      end loop;
    
    end;
    
  • Oracle RAC 12.1.0.2 (GI battery) deployment on OEL 7 (3.8.13 - 35.3.4.el7uek) fails with ORA-27102

    Hi guys,.

    I am currently trying to deploy a complete installation (GI battery) of Oracle RAC 12.1.0.2 cool on OEL 7 (3.8.13 - 35.3.4.el7uek) with 2 nodes for validation purposes. However the installation itself went well, but 'Creation repository for Oracle Grid Infrastructure Management container' step fails with "ORA-01034: ORACLE not available / ORA-27102: out of memory / Linux-x86_64 error: 12: cannot allocate memory". The steps of runInstaller validation completed successfully, but I never take this step of configuration without jumping.

    Here is my configuration which should normally avoid such errors ORA.

    Host

    -bash - $4.2 uname - a

    Linux OELRAC1 3.8.13 - 35.3.4.el7uek.x86_64 #2 SMP Tue Jul 29 23:24:14 CDT 2014 x86_64 x86_64 x86_64 GNU/Linux

    "Creation of repository database for Oracle Grid Infrastructure Management container" error in /oracle/base/cfgtoollogs/dbca/_mgmtdb/trace.log

    From restoration to August 9, 14

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 12 type of device = DISK

    channel ORA_DISK_1: from the restore backup set data file

    channel ORA_DISK_1: specifying datafile (s) to restore from backup set

    channel ORA_DISK_1: restore datafile 00003 to + GRID

    channel ORA_DISK_1: backup /oracle/grid/12102/assistants/dbca/templates/MGMTSeed_Database.dfb piece reading

    channel ORA_DISK_1: ORA-19870: error when restoring the backup /oracle/grid/12102/assistants/dbca/templates/MGMTSeed_Database.dfb piece

    ORA-19504: could not create the file "+ GRID.

    ORA-17502: ksfdcre:4 cannot create the file + GRID

    ORA-15001: diskgroup 'GRID' does not exist or is not mounted

    ORA-01034: ORACLE not available

    ORA-27102: out of memory

    Linux-x86_64 error: 12: cannot allocate memory

    Additional information: 2663

    Additional information: 1565392897

    Additional information: 161480704

    switch to the previous backup

    Number of folder of the data file = 3 name = + GRID

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the restore command at 09/08/2014 19:41:47

    ORA-01119: error in creating file of database "+ GRID.

    ORA-17502: ksfdcre:4 cannot create the file + GRID

    ORA-15001: diskgroup 'GRID' does not exist or is not mounted

    ORA-01034: ORACLE not available

    ORA-27102: out of memory

    Linux-x86_64 error: 12: cannot allocate memory

    Additional information: 2663

    Additional information: 1565392897

    Additional information: 1614807040

    RMAN-06956: create the data file failed; try again after removing + OS GRID

    SHM / CPI (check the id of shm with previous information)

    -bash - $4.2 ipcs - a

    -Shared memory segments-

    key shmid owner perms bytes nattch status

    1565360128 0 x 00000000 grid 640 4096 0

    1565392897 0 x 00000000 grid 640 4096 0

    0xfba47600 1565425666 640 24576 29 grid

    Memory of the ASM instance setting

    SQL > see the memory settings

    VALUE OF TYPE NAME

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

    whole big memory_max_target 1076M

    whole large memory_target 1076M

    ASM disk groups

    SQL > select NAME, STATE, TOTAL_MB, USABLE_FILE_MB from v$ asm_diskgroup;

    NAME STATE TOTAL_MB USABLE_FILE_MB

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

    RACK MOUNTED 6144 4868

    / dev/shm to memory_target (more than enough free space)

    -bash - $4.2 df-h

    Size of filesystem used Avail use % mounted on

    tmpfs, 630M 2.4 G 3.0 G 21% / dev/shm

    Kernel for SHM limits set to unlimited parameter

    -bash - $4.2 sysctl - a | grep shm

    kernel.shmall = 1152921504606846720

    kernel.shmmax = 922337203685477580

    User limits on unlimited for memory

    -bash-4, $ 2 cat /etc/security/limits.conf

    # Oracle settings

    grid soft nproc 2047

    grid hard nproc 16384

    grid soft nofile 1024

    grid hard nofile 65536

    Oracle nproc 2047 soft

    Oracle nproc 16384 hard

    Oracle soft nofile 1024

    Oracle hard nofile 65536

    * hard memlock unlimited

    * soft memlock unlimited

    -bash - 4, $ 2 known - grid

    -bash - $4.2 ulimit - a

    the file size (blocks, - c) of base 0

    (kbytes, - d) data seg size unlimited

    scheduling priority (-e) 0

    size of the file (blocks, f) - unlimited

    pending signals (-i) 23953

    Max locked memory (kbytes, - l) unlimited

    size of the memory (k, m) max - unlimited

    open files (-n) 1024

    a size (512 bytes, - p) 8 hose

    (Bytes, - q) POSIX message queues 819200

    real-time priority (-r) 0

    size (Ko, - s) 8192 battery

    time processor (seconds,-t) unlimited

    Max user process (-u) 2047

    virtual memory (KB), - v) unlimited

    the locks on files (-x) unlimited

    So what the hell is wrong here? Why the instance ASM (+ ASM1) returns the error below, even if there is no memory limit / problem. The error with the disk group is also absolutely no sense.

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

    ORA-01119: error in creating file of database "+ GRID.

    ORA-17502: ksfdcre:4 cannot create the file + GRID

    ORA-15001: diskgroup 'GRID' does not exist or is not mounted

    ORA-01034: ORACLE not available

    ORA-27102: out of memory

    Linux-x86_64 error: 12: cannot allocate memory

    Additional information: 2663

    Additional information: 1565392897

    Additional information: 1614807040

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

    Someone at - he encounter the same problem with 12.1.0.2 by deploying the CDB for Grid Infrastructure Management repository? Is there something special with UEK3 (3.8.13 - 35.3.4.el7uek) on 7 OEL? Any necessary special kernel parameter (although the runInstaller controls do not mention)? I'm totally tapped by GI 12.1.0.2.

    Thank you.

    Best regards

    Stefan

    Hi guys,.

    I was finally able to solve this problem.

    She was related to a memory on the provisioning of problem in the virtual environment as both nodes are VMs. Unfortunately none of these errors of memory were populated / pushed somehow in the virtual machine.

    Best regards

    Stefan

  • ORA-04031 Oracle RAC ASM 11.2.0.3

    Hello:

    I need your help.

    When the automatic increase in memory of comics, more than 8 GB, my BD RAC indicates failure.

    Environment:

    Oracle RAC 11.2.0.3 with 2 nodes.

    O.S.: SunOS 5.11 rac1 11.1 sun4v sparc sun4v

    RAM: 32 GB.

    Oracle Grid Infrastructure 11.2.0.3

    Oracle ASM 11.2.0.3

    Oracle Database 11.2.0.3 Enterprise Edition with RAC option.

    Symptom:

    I created my DB CARS with MEMORY_TARGET = 1 G.

    I have been to increase the parameter up to 8 GB without problem, but the 9 GB, this error occurs:

    * .memory_max_target = 9g

    * .memory_target = 4g

    SQL > startup nomount;

    ORACLE instance started.

    ORA-00604: an error has occurred at the SQL level recursive 2

    ORA-04031: unable to allocate 32 bytes of shared memory ('shared

    pool"," X$ KSMSD "," KGLS ^ c51f85ea ',' kglHeapInitialize:temp') "

    Background:

    What are the parameters of the kernel for the oracle account:

    Oracle@RAC1:~$ prctl - n Project.Max - shm-memory - i project user.oracle

    project: 100: user.oracle

    NAME PRIVILEGE VALUE FLAG ACTION BENEFICIARY

    Project.Max - shm-memory

    the 20,00 GB privilege - deny-

    system 16.0EB max deny-

    Oracle@RAC1:~$ prctl - n Project.Max - sem - IDS - i project user.oracle

    project: 100: user.oracle

    NAME PRIVILEGE VALUE FLAG ACTION BENEFICIARY

    Project.Max - sem - IDS

    privileged 16.0 M - deny -.

    system of 16.8 M max deny-

    How can I fix?

    Thank you

    David

    Your paging file must be at least as big as your physical ram, or in your case specific at least 9 GB or larger.  The value of your swap 32 GB if you plan to use the AMM but I wouldn't use it AMM because Oracle does not support on Solaris.  Supported only for the ASM instance and not the databases.

  • EM does not create entry tnsnames.ora with service name orcl11gr2

    Hi all

    I am trying to create a service network with EM Database Control, Net Services Administration link name. On the service name field, under the "Edit Net Service Name" screen, I type in orcl11gr2, and it throws the following error:

    Validation error
    Review and correct the following errors, and then try again:
    Service name - specify a valid service name.

    I wonder what is the additional validation that checks EM. I guess it's to check the number of characters to 8 characters or less.

    In addition, because of this additional validation that is in MS, all entry tnsnames.ora with service name = orcl11gr2, I won't be able to use 'EM to change, as I have the same error.

    But why Oracle implements this additional validation when the same validation is not implemented on other Oracle tools? For example:
    1 dbca allows me to create a database with instance_name greater than 8 characters, and the results of the initialization parameters will be as follows:
    db_name = orcl11gr - truncated to 8 characters
    instance_name = orcl11gr2
    db_unique_name = orcl11gr2
    noms_service = orcl11gr2

    2 oracle Net Manager supports the name of orcl11gr2. The name of the created Service Net, I have no problem connecting to the database.
    3. name of the service orcl11gr2 of listener support

    I am using Oracle 11 g R2 (11.2.0.1.0) for Microsoft Windows (x 64), running on Windows 7.

    Its a known issue fixed 12gc Ms.

    concerning
    Bennett

  • tnsnames.ora and oracle cleint

    We have a duty to make an analysis of data on one of our oracle databases. We have a copy of the tnsnames.ora file with the Server DB and SID etc.

    If you use something like toad or gold to query the DB, you also need to install client oracle on the machine (windows XP)? Or just the TOAD software?

    Is there a device by default on XP where tnsnames.ora needs to be saved?

    And if we don't need the customer what is the right version?

    user599292 wrote:
    We have a duty to make an analysis of data on one of our oracle databases. We have a copy of the tnsnames.ora file with the Server DB and SID etc.

    If you use something like toad or gold to query the DB, you also need to install client oracle on the machine (windows XP)? Or just the TOAD software?

    Is there a device by default on XP where tnsnames.ora needs to be saved?

    And if we don't need the customer what is the right version?

    Toad, Yes, you have the Oracle client. Cannot say on 'gold', I don't know what it is. In general, any product like that will sit on top the Oracle client, not replace it.

    There is nothing magical about tnsnames.ora. It is just a file of name resolution that is used by the software oracle client. If you have a magical application which replaces the customer oracle instead of using it, then your tnsnames.ora will be without intrinsic value beyond giving you the necessary information configure magic of the application.

    Published by: EdStevens on October 14, 2011 06:32

  • Sqlplus not find tnsnames.ora

    Hey guys,.

    I have a question about oracle client and the tnsnames.ora file. Basically, I have the customer put in place and it seems to work on the use of sqldeveloper such that she can see the tnsnames.ora file in the drop-down list but I don't seem to be able to connect using sql, which makes me think that it cannot find the file ora. I set the env as:
    DON@donkeyhome:/usr/lib/oracle$ echo $PATH
    .:/usr/lib/oracle/oracle_client/bin:.:/usr/lib/jvm/jdk/bin:/usr/lib/jvm/jdk/jre/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
    DON@donkeyhome:/usr/lib/oracle$ echo $ORACLE_HOME
    /usr/lib/oracle/oracle_client
    DON@donkeyhome:/usr/lib/oracle$ echo $TNS_ADMIN
    /usr/lib/oracle/network/admin
    DON@donkeyhome:/usr/lib/oracle$
    Sql developer seems to work with the tns ok but not sqlplus:

    DON@donkeyhome:/usr/lib/oracle$ sqlplus SYSADM@STUDA1
    
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jan 6 16:26:50 2009
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Enter password:
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Any help with this would be greatly appreciated that I had this problem and commented on many forums for about 1 month now :(

    Dave was soon

    Published by: wheelie on January 5, 2009 22:28

    Published by: wheelie on January 7, 2009 22:32

    Wheelie,

    I understand that you have tried many options to solve and in general, this mistake is easy to correct. Bad especially as a tnsnames.ora entry, you can also try dos2unix tnsnames.ora see if it removes all special characters and it changes size.

    Concerns

Maybe you are looking for