Creating Instance of Oracle 11g on OLE 5

Aloha,

I installed the Oracle 11 g R2 on OLE 5 database using this guide (http://www.oracle-base.com/articles/11g/OracleDB11gR2InstallationOnEnterpriseLinux5.php) and I have not met any error during installation. I'm the part of creating an instance and I run into this error;

1 ORA-09925: cannot create the audit trail file

After clicking OK, I receive this error;

2 ORA-01017: name of user and password invalid. logon denied

and after;

3 ORA-01012: not connected

I have used and tried "dbca" oracle user I created and root user and both the same mistakes. I can not also delete the instance I create with mistakes and this also with the same errors whenever I try to delete the instance.

Also, I created a LISTENER on 'netca' and I was invited that port 1521 is used port by the system, I have always used anyway. Would that be the reason or I missed something else.

Hope someone can help me.

Thanks in advance.

Hades,

You have not run root.sh at the end of the installation [as * root * user]? If root.sh is not respected at the end of the installation, the oracle executable is not properly and the directory permissions were never implemented.

You have permissions on the following directories:

/ u01/app/Oracle
/U01/app/Oracle/product/11.2.0/Db_1
$ORACLE_HOME/rdbms/audit

Default location for the file pfile is $ORACLE_HOME/dbs/and is called as init$ ORACLE_SID.ora. In order to check the contents of the value of the audit_file_destparameter.

Published by: user130038 on August 9, 2011 07:34

Since you are using 11g, check the permissions of the:
$ORACLE_HOME/diag / $ORACLE_SID

Tags: Database

Similar Questions

  • How can I create a list of choices for the search bit in Oracle 11g ADF fields?

    Hi Experts,

    Please inform how to add some selection list or drop downs on the pane search Oracle 11g ADF.

    I have a requirement to create a list of choices for the search store field. # Please notify.

    SS_SearchCriteriaPage1.png

    Thank you

    David Selvaraj

    You can create a view based on a static list object and attach it to your attribute as lov-driven model.

    Dario

  • Maximum number of instances that can be created on an oracle server?

    Hi all...

    Can you tell me what is the maximum number of instances that can be created on an oracle server?

    Thanks and greetings

    Raymond Vinay

    Raymond Vinay wrote:

    Hi all...

    Can you tell me what is the maximum number of instances that can be created on an oracle server?

    Thanks and greetings

    Raymond Vinay

    The answer would be that as much as the ram in the server will stand. Is not limited the case as such. Maximum of how many you have created so far?

    Aman...

  • Create a second instance for Oracle 11 g on Windows Server 2008

    Hi gurus.

    I'm happy to be called a noob to this but could someone please help me. I would like to install\create a second instance of Oracle database on a Windows Server and I was wondering how to do this. Just use DBCA? And are there pitfalls that I should be looking out?

    I did once on an OEL5 install and I had to change environmental variables, but I think that the process is much easier on a machine under Windows environment.

    Help, please.

    Thank you

    800166 wrote:
    Thanks for the reply.

    If I create all the installation first and then create the second instance using dbca and what do you mean when you say properly configured net sql

    TNSNAMES. ORA must contain at least one entry for each instance

  • How to create the new database in oracle 11g

    Hello
    I m new in oracle 11g, I downloaded oracle 11g and with the help of the guide of the developer-2 days, I learned all the SQL queries, but I worked with human resources database.
    Now, I want to create my own database with the required tables. Can anyone help me how I can make my own database in oracle 11g.

    Thank you
    Manna

    870692 wrote:
    Hello
    I m new in oracle 11g, I downloaded oracle 11g and with the help of the guide of the developer-2 days, I learned all the SQL queries, but I worked with human resources database.
    Now, I want to create my own database with the required tables. Can anyone help me how I can make my own database in oracle 11g.

    Thank you
    Manna

    Be sure to distinguish between the terms and the database schema. Other products, make them bad. It would be a HR diagram (or a user, which is the same in Oracle). If you do not need to use the database Wizard, unless you are working with a new host with no database.

    A simple way would be to get the DDL to create the HR schema and modify it for your own. It can be extracted from your database in several ways, or you can copy the hr_cre.sql to your own script and change. The two ways are educational, and you can google for instructions.

  • Oracle 11g R2, CREATE THE TABLE and QUOTAS

    Hi all
    I need some insight on a strange behavior, that I discovered in Oracle 11 g 2. Don't know if I'm missing something or if I just discovered a security issue with Oracle.

    Oracle Version: 11.2.0.1.0

    The problem is with the CREATE TABLE and the QUOTA on the specific tablespace privilege.

    Please, try this on your system (if you have some free time and care to confirm the "bug").

    Create a user, grant privileges than two, CREATE THE SESSION and CREATE TABLE.

    Grant NO quota on any tablespace.

    Try to create a table on any tablespace (except SYSTEM) and everybody say if it worked or not.

    The oracle documentation provides the following:

    To create a relational table in your own schema, you must have the CREATE TABLE system privilege. To create a table in the schema of another user, you must have the CREATE ANY TABLE system privilege. In addition, the owner of the schema containing the table must have a quota of space on the tablespace contains the table or the UNLIMITED TABLESPACE system privilege.

    [http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/statements_7002.htm#SQLRF01402]

    The fact is, so far, on two different instances of Oracle 11 g 2, my users are not limited in the creation of the tables only when they have quotas, but where they want to, except the STRING.

    The behavior correct would be to deny the creation of the table the tablespace where there is no quota, but it does not work.

    My instance of Oracle 10 g behave properly and therefore the creation of the table is denied the tablespace with no quota.

    P.s1 sorry if this a well known "bug/problem/question". I've been ridiculous on a well-known forum for the same question. I don't need to be "filled spoon" as shown on this famous site! I have read the documentation! I googled a lot!

    P.s2 even if the creative work of table on tablespace with no quota, you cannot insert data into it. Yes, big picture, the user cannot not filled space with irrelevant data tables, but it can create thousands of tables...!

    Did I miss something?
    Is there a 'default' option I have to mark to prevent the creation of the table where it shouldn't?
    ? (?)

    Please read http://tkyte.blogspot.com/2011/02/deferred-segment-creation.html.

  • Problems with Oracle 11g R2 XE

    Hi guys,.

    I had a problem and have to solve for abt a week now and tried a lot of solutions.

    My environment:

    Windows 7 Professional SP 1 64-Bit

    AMD Phenom II x 4 940 @3.0 GH

    4 GB of RAM (in use during the installation of 40%)

    The Windows Firewall is enabled (but oracle.exe and lstnr.exe are configured as an exception)

    Avast! FREE Antivirus Version 2014.9.0.2018

    Installation (both times with the same result):

    Installed O 11g 64-Bit XE in two different ways:

    I was logged in with user lies in Admingroup

    Installation started via right click with administrationprivileges

    I activated the Administrators account and logged with adminprivileges.

    After that, I installed the 11g XE 64 bit

    between the two steps I cleaned and restarted my system, register was too empty and the file has been deleted manually

    as a first step, I get this problem: Windows cannot find " " http://127.0.0.1:%HTTPPORT%/Apex/f?p=4950 "

    -> Manually changing HTTPORT % to 8080

    -> now I could double-click the shortcut, Firefox/IE/Chrome opens but 404 not Found error is returned

    -XracleXETNListener OracleServiceXE, both are running

    [code]

    C:\Windows\System32 > lsnrctl status

    LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on November 4, 2014 18:02

    : 56

    Copyright (c) 1991, 2014, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))

    AMT-12541: TNS:no listener

    AMT-12560: TNS:protocol adapter error

    AMT-00511: no listener

    Windows 64-bit error: 2: no such file or directory

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = D³rsinKurt-PC)(PORT=1521)

    )))

    STATUS of the LISTENER

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

    Alias LISTENER

    TNSLSNR for Windows 64-bit version: Version 11.2.0.2.0 - Prod

    ction

    Start date November 4, 2014 13:53:50

    Uptime 0 days 4 h 9 min 9 s

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Listener log file C:\oraclexe\app\oracle\diag\tnslsnr\D³rsinKurt-PC\list

    ener\alert\log. XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = D³rsinKurt-PC)(PORT=1521)))

    The listener supports no services

    The command completed successfully

    [/ code]

    If Listenerservice is up and running, but I can't find the http Service 8080 with netstat-a

    so I started to study a little more:

    Registryfolder: HK_LOCAL_MACHINE\SOFTWARE\ORACLE is installed

    following subdirectories are installed: KEY_XE, ODP.NET, OracleMTSRecoveryService

    What I tried (both ways, with and without adminstrationprivileges):

    I created two new DWORD values in KEY_XE ORACLE_SID_AUTOSTART and - STOP both to true and stopped and started services, nothing changes.

    Inserted the two users (Administrator and normal user) in the Group ORA_DBA, nothing changes, even tried to set and the new

    you wanted to connect to sqlplus using the console:

    C:\Windows\System32 > sqlplus system

    SQL * more: Production version 11.2.0.2.0 on 4 Nov 18:09:21 Di 2014

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

    Enter the password:

    ERROR:

    ORA-01034: ORACLE not available

    ORA-27101: shared memory realm does not exist

    Process ID: 0

    Session IDs: serial number 0: 0

    Enter the user name:

    When I start directly at the sqlplus prompt and write the start of the command I got the following msg: ORA-01031: insufficient privileges

    I looked in the folder ORA_BASE and looked at the oradat file, it contains a XE-folder that is empty, the admin folder contains: XE / and adump, dpdump and pfile, all three are empty (what does this mean? No DB created at all?)

    I looked at the file ORA_HOME and found initXE.ora, oradba.exe, oradim and PWDXE.ora

    I looked in the oradim.txt log:

    Kills Nov 04 11:21:17 2014

    C:\oraclexe\app\oracle\product\11.2.0\server\bin\oradim.exe-arret-SID xe - usrpwd * - immediate shutmode - log oradim.log

    Kills Nov 04 11:21:55 2014

    ORA-01012: not connected

    Kills Nov 04 11:23:01, 2014

    C:\oraclexe\app\oracle\product\11.2.0\server\bin\oradim.exe-demarrage-SID xe - usrpwd * - log oradim.log - nocheck 0

    Kills Nov 04 11:23:38 2014

    ORA-01078: failure in the treatment of system settings

    ORA-01565: error in the identification of the file "C:\oraclexe\app\oracle\product\11.2.0\server\dbs/spfileXE.ora".

    ORA-27041: could not open the file

    04002 - OSD: could not open the file

    S/O-error: (OS 2) Das System kann die angegebene Datei nicht find.

    -> bingo, 1st question: there is no spfileXE.ora, how can I create it? more in the dbs-file there is only an init.ora and not initXE.ora?

    Looked in the log-file files 5 from clscX.txt (probably after each systemreboot? containing the following):

    Oracle Database 11g Clusterware Release 11.2.0.2.0 - Production Copyright 1996, 2010 Oracle. All rights reserved.

    2014-11-04 - 13:53:52.197: [5576] [default] ut_read_reg:2:ocr SOFTWARE\Oracle\olr registry key cannot be opened. error 2

    [DESTROYED] clse_get_crs_home [5576]: error recovery configuration OLR [0] [error opening of the olr registry key. The system could not find the file.

    ]

    -> SystemLanguage is German, so I translated the German parts, perhaps he was lost in the translation of sth

    -> 2nd question: is there a missing registry key?

    In addition, I looked at the ORACLE_HOME/server/config/home cloesly folder:

    cloneDBCreation:

    SQL > Create controlfile reuse database "XE" value

    2 MAXINSTANCES 8

    MAXLOGHISTORY 3 1

    MAXLOGFILES 16 4

    5 MAXLOGMEMBERS 3

    6 MAXDATAFILES 100

    DataFile 7

    8 "C:\oraclexe\app\oracle\oradata\XE\system.dbf"

    9 "C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf."

    10 "C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf."

    11 'C:\oraclexe\app\oracle\oradata\XE\users.dbf '.

    LOGFILE 12

    13 GROUP 1 SIZE 51200K,

    14 GROUP 2 SIZE 51200K,

    15 RESETLOGS;

    SP2-0640: not connected

    SQL > exec dbms_backup_restore.zerodbid (0);

    SP2-0640: not connected

    SP2-0641: "EXECUTE" requires the connection to the server

    SQL > shutdown immediate;

    ORA-01012: not connected

    "SQL > startup nomount pfile="C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\initXETemp.ora ";

    ORA-01031: insufficient privileges

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

    CloneRmanRestore:

    "SQL > startup nomount pfile="C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\init.ora ";

    ORA-01031: insufficient privileges

    SQL > @C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\rmanRestoreDatafiles.sql;

    SQL > set off echo;

    SP2-0640: not connected

    SP2-0640: not connected

    SP2-0640: not connected

    ERROR:

    ORA-01031: insufficient privileges

    SQL > spool C:\oraclexe\app\oracle\product\11.2.0\server\config\log\cloneDBCreation.log

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

    PostDBCreation:

    QL > Connect "SYS" / "' * ' as SYSDBA"

    ERROR:

    ORA-01031: insufficient privileges

    SQL > set echo on

    SQL > //create or replace directory DB_BACKUPS as 'C:\oraclexe\app\oracle\fast_recovery_area ';

    SP2-0103: nothing in the SQL buffer to run.

    SQL > start

    2 dbms_xdb.sethttpport('8080');

    3 dbms_xdb.setftpport('0');

    4 end;

    5.

    SP2-0640: not connected

    SQL > create spfile='C:\oraclexe\app\oracle\product\11.2.0\server\dbs/spfileXE.ora 'FROM pfile='C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\init.ora ';

    SP2-0640: not connected

    SQL > shutdown immediate;

    ORA-01012: not connected

    SQL > connect "SYS" / "' & & sysPassword ' as SYSDBA"

    ERROR:

    ORA-01031: insufficient privileges

    .

    .

    .

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

    SQL > @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\dbmssml.sql;

    SP2-0310: cannot open the file 'C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\dbmssml.sql '.

    SQL > @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\dbmsclr.plb;

    SQL > DROP PUBLIC DATABASE LINK DBMS_CLRDBLINK;

    SP2-0640: not connected

    SQL > CREATE the PUBLIC DATABASE LINK DBMS_CLRDBLINK with the HELP of "ORACLR_CONNECTION_DATA";

    SP2-0640: not connected

    SQL > CREATE or REPLACE LIBRARY wrapped ORACLECLR_LIB

    2 a000000

    1 of 3

    4 abcd

    5-abcd

    6 abcd

    7 abcd

    8 abcd

    9 abcd

    10 abcd

    11-abcd

    12 abcd

    13 abcd

    14 abcd

    ABCD 15

    ABCD 16

    17 abcd

    18 abcd

    19 16

    20 51 8 d

    21 L/XXXXXXXXXX...

    XXXXXXX 22...

    23

    24.

    SP2-0640: not connected

    SQL > DROP TYPE DBMS_CLRParamTable;

    SP2-0640: not connected

    SQL > DROP TYPE DBMS_CLRType;

    SP2-0640: not connected

    SQL > CREATE or REPLACE TYPE wrapped DBMS_CLRType

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

    XE:

    The created instance.

    So I hope this is enough information

    Thanks in advance

    Dursin Kurt

    OK guys I found:

    Problem is the XE.bat - Script could not add me to the ORA_DBA group.

    Reason: my Computername and username, both had a mutation of the vowel 'u '.

    Why it has not worked to my laptop computer company too have both my 'U' in the username

    solved!

  • Import of XML in the oracle 11g database

    I have some difficulty parsing of an XML file in the oracle 11g database.

    Currently using Oracle 11 g Express Edition (XE)

    Here's how my XML file looks like this:


    <? XML version = "1.0" encoding = "UTF-8" standalone = "yes"? >
    -< AccountMap xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" >
    -< account >
    -< AccountMapping >
    < AccountID > 0000000000000 - 000 < / AccountID >
    < AccountName > XLS < / AccountName >
    Excel < AccountType > < / AccountType >
    < AccountOwner > system < / AccountOwner >
    < / AccountMapping >
    -< AccountMapping >
    < AccountID > 0000000000000 - 001 < / AccountID >
    < AccountName > XLSS < / AccountName >
    Excel2 < AccountType > < / AccountType >
    System2 < AccountOwner > < / AccountOwner >
    < / AccountMapping >
    -< AccountMapping >

    and so now the file continues... I have the xml file that is saved on my hard drive

    I created a package in SQL Developer

    create or replace
    PACKAGE XML_FILEHANDLER AS

    type TRecord is (record
    Account_ID varchar2 (100)
    , Varchar2 (100) AccountName
    , Varchar2 (30) AccountType
    , AccountOwner varchar2 (100)
    );

    type TRecordTable is table of the TRecord;

    getRows function (p_directory in varchar2, p_filename in varchar2) return TRecordTable pipeline;

    END XML_FILEHANDLER;

    -BODY

    create or replace
    PACKAGE BODY XML_FILEHANDLER AS

    getRows function (p_directory in varchar2, p_filename in varchar2) return TRecordTable AS pipeline

    nb_rec NUMBER: = 1;
    tmp_xml CLOB.
    tmp_file CLOB.
    REC TRecord;

    BEGIN

    DBMS_LOB.CREATETEMPORARY (tmp_file, true);
    tmp_file: = dbms_xslprocessor.read2clob (p_directory, p_filename);

    recomm. Account_ID: = regexp_replace (tmp_file, '. * <>(. *) Account_ID < / Account_ID >. *', '\1', 1, 1, 'n');
    recomm. AccountName: = regexp_replace (tmp_file, '. * < AccountName >(.*) < / AccountName >. *', '\1', 1, 1, 'n');
    recomm. AccountType: = regexp_replace (tmp_file, '. * < AccountType >(.*) < / AccountType >. *', '\1', 1, 1, 'n');
    recomm. AccountOwner: = regexp_replace (tmp_file, '. * < AccountOwner >(.*) < / AccountOwner >. *', '\1', 1, 1, 'n');

    loop

    -This regexp is instance (s) of this model: "<? XML...? ' > < root_tag >... < / root_tag >.
    tmp_xml: = regexp_substr ([tmp_file, ' < \?xml[^?] +------? > \s+ < ([^ >] +) >. *? < / \1 > ', 1, nb_rec, 'n');
    When the output length (tmp_xml) = 0;
    -dbms_output.put_line (tmp_rec);
    nb_rec: = nb_rec + 1;

    SELECT Account_ID AccountName, AccountType, AccountOwner
    in rec. Account_ID, rec. AccountName, AccountType rec. rec. AccountOwner
    from xmltable)
    "Accounts/AccountMapping" in the way of xmltype (tmp_xml) columns
    Path of varchar2 (100) Account_ID 'Account_ID '.
    , Path of varchar2 (100) AccountName "AccountName".
    , AccountType varchar2 (30) path 'AccountType '.
    , Path of varchar2 (100) AccountOwner "AccountOwner.
    );

    line (CRE);

    end loop;

    DBMS_LOB.freeTemporary (tmp_file);

    GetRows END;

    END XML_FILEHANDLER;

    -I call my function using the following sql query

    Select * from table (XML_FileHandler.getRows ("XML", "test.xml"));

    Here is the error I get

    ORA-29283: invalid file operation
    ORA-06512: at "SYS." UTL_FILE", line 536
    ORA-29283: invalid file operation
    ORA-06512: at "XDB". DBMS_XSLPROCESSOR', line 265
    ORA-06512: at "user. XML_FILEHANDLER', line 13
    29283 00000 - "invalid file operation.
    * Cause: An attempt was made to read from a file or a directory which is
    not exist, or the file or directory access was denied by the
    Operating system.
    * Action: Check access privileges to the file and directory on the file system
    and if reading, check that the file exists.

    I did the following

    -Provided appropriate access to the user (read, write), including directory access rights
    -ensure that the directory exists
    -to ensure the existence of the file

    I have searched all over google and metalink but am unable to get this to run... Help, please!

    >
    SELECT Account_ID AccountName, AccountType, AccountOwner
    in rec. Account_ID, rec. AccountName, AccountType rec. rec. AccountOwner
    from xmltable)
    "Accounts/AccountMapping" in the way of xmltype (tmp_xml) columns
    Path of varchar2 (100) Account_ID 'Account_ID '.
    , Path of varchar2 (100) AccountName "AccountName".
    , AccountType varchar2 (30) path 'AccountType '.
    , Path of varchar2 (100) AccountOwner "AccountOwner.
    );
    >
    implement

    SELECT Account_ID, AccountName, AccountType, AccountOwner
    into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
    from xmltable(
    'AccountMap/Accounts/AccountMapping' passing xmltype(tmp_xml) columns
    Account_ID varchar2(100) path 'Account_ID'
    , AccountName varchar2(100) path 'AccountName'
    , AccountType varchar2(30) path 'AccountType'
    , AccountOwner varchar2(100) path 'AccountOwner'
    );
    
    SQL> SELECT Account_ID, AccountName, AccountType, AccountOwner
      2  --into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
      3  from xmltable(
      4  'AccountMap/Accounts/AccountMapping' passing
      5  xmltype('
      6  
      7  
      8  
      9  0000000000000-000
     10  XLS
     11  Excel
     12  System
     13  
     14  
     15  0000000000000-001
     16  XLSS
     17  Excel2
     18  System2
     19  
     20  
     21  ')
     22  columns
     23  Account_ID varchar2(100) path 'Account_ID'
     24  , AccountName varchar2(100) path 'AccountName'
     25  , AccountType varchar2(30) path 'AccountType'
     26  , AccountOwner varchar2(100) path 'AccountOwner'
     27  );
    
    ACCOUNT_ID                                                                       ACCOUNTNAME                                                                      ACCOUNTTYPE                    ACCOUNTOWNER
    -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- ------------------------------ --------------------------------------------------------------------------------
                                                                                     XLS                                                                              Excel                          System
                                                                                     XLSS                                                                             Excel2                         System2
    
    SQL> 
    

    AccountID use AccountID not Account_ID

    Account_ID varchar2(100) path 'AccountID'
    

    Published by: Alexandr on August 9, 2012 12:35 AM

  • Migrating oracle 9i to oracle 11g but now dblink is no work

    First of all, sorry for my English.
    Achieved an export from the old to the new db_links and now do not work.

    Oracle 9i - work

    13:52:45 card > @banco
    Mostra user, instance, e start time host - pressure enter para continue
    E the USER 'SYSTEM '.

    INSTANCE_NAME HOST_NAME STATUS STARTUP_TIME
    ---------------- ---------------------------------------------------------------- ------------ --------------
    atlas1 card OPEN 01/23/12 17:53

    Decorrido: 00:00:00.03

    BANNER
    ----------------------------------------------------------------------------------------------------
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
    PL/SQL Release 9.2.0.8.0 - Production
    CORE Production 9.2.0.8.0
    AMT for Linux: Version 9.2.0.8.0 - Production
    NLSRTL Version 9.2.0.8.0 - Production

    Decorrido: 00:00:00.03
    13:52:46 card >

    13:52:59 card > @dblink
    Informed o valor para db_link: scapr

    OWNER, DB_LINK CREATED USERNAME HOST
    -------------------- ------------------------------ -------------------- ------------------------------ --------------
    SCAPROD.PANVEL.COM.BR PUBLIC LINK SCA 17/11/11 14:35

    Decorrido: 00:00:00.03
    13:53:03 card > desc dual@scaprod
    Nome
    -------------------------------------------------------------------------------------------------------------------------
    MODEL

    13:53:07 card > desc [email protected]
    Nome
    -------------------------------------------------------------------------------------------------------------------------
    MODEL

    13:53:16 card >

    13:53:16 card > show the global setting

    VALUE OF TYPE NAME
    ------------------------------------ ----------- -------------
    global_context_pool_size string
    global_names boolean FALSE
    13:53:40 card >



    Oracle 11g - does not, a little work with the full name of the db_link:

    13:53:57 nouveaute11 > @banco
    Mostra user, instance, e start time host - pressure enter para continue
    E the USER 'SYSTEM '.

    INSTANCE_NAME HOST_NAME STATUS STARTUP_TIME
    ---------------- ---------------------------------------------------------------- ------------ -----
    aquarius card OPEN 01/26/12-13:42

    Decorrido: 00:00:00.01

    BANNER
    ----------------------------------------------------------------------------------------------------
    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE Production 11.2.0.3.0
    AMT for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production

    Decorrido: 00:00:00.04
    13:53:58 nouveaute11 >

    13:54:12 nouveaute11 > @dblink
    Informed o valor para db_link: scapr

    OWNER, DB_LINK CREATED USERNAME HOST
    -------------------- ------------------------------ -------------------- ---------------------------
    SCAPROD.PANVEL.COM.BR PUBLIC LINK SCA 26/01/12 13:02

    Decorrido: 00:00:00.03
    13:54:16 nouveaute11 > desc [email protected]
    Nome
    ---------------------------------------------------------------------------------------------------
    MODEL

    13:54:23 nouveaute11 > desc dual@scaprod
    ERROR:
    ORA-02019: description of conexao para o banco dados não localizada remote


    13:54:26 nouveaute11 >

    13:54:41 nouveaute11 > display the global setting

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------
    global_context_pool_size string
    global_names boolean FALSE
    global_txn_processes integer 1
    13:54:45 nouveaute11 >


    Any help? :)
    Thank you!

    vitorjr81 wrote:
    As you can see the db_link is functional, but just with the name and surname:

    13:54:16 nouveaute11 > desc [email protected]
    Name MODEL

    13:54:23 nouveaute11 > dual@scaprod desc
    ERROR:
    ORA-02019: description of conexao para o banco dados não localizada remote

    13:54:26 nouveaute11 >

    13:54:41 nouveaute11 > display the global setting

    VALUE OF TYPE NAME
    -chain global_context_pool_size
    global_names boolean FALSE
    global_txn_processes integer 1

    Do as below and post the results here

    SQL> select global_name from global_name;
    
    GLOBAL_NAME
    --------------------------------------------------------------------------------
    V112
    
    SQL> 
    
  • Migrate the data base sybase HR peoplesoft on oracle 11g

    Hi all

    We're looking for sybase 12 migration to Oracle 11 g. We are not sure on what path to choose for this migration to. THS sybase Database is about 55 GB. Here are a few questions. Please let me know. The downtime on this database cannot be more than 2 days at max.

    1. What is the fastest way and to do this, if there is one?
    2. all the Documentation on the migration steps?
    3. do we have to use any tools 3rd part for this?
    4 can we reach the migration of data with sql loader, if so is it the way suggested to do this, and is there a documentation on that?

    I tried developer sql to do the migration, but it doesn't go well and finally found that is not the way to migrate a database with peoplesoft, here is the link environment to explain more about what I've done with sql developer.

    If there are any other necessary information, link below has almost all of the information.

    Re: Migration of HRMS peoplesoft sybase database to oracle 11g

    Thank you
    Murielle

    (1) build an Oracle system demo patched for the same level of output than the current system of production.
    (2) launch the application designer and compare the production system for the demonstration for you system can capture changes.
    (3) load a custom table with the tables listed in the MVPRDEXP. EXP in the production system. Run a script to create a script to export for all PSRECDEFN where the RECTYPE is 0. This identifies all application data tables. You may want to dms export large tables in parallel.
    (4) DMS import the exported data in the Oracle instance.
    (5) re - apply changes.

  • Oracle 11g SOA suite in production

    Hello

    Please let me know that someone is using more SOA from Oracle 11g in the production. If she then, how it executes.


    Thank you

    Published by: Ramesh Tosun on October 14, 2010 22:48

    We went into production, and there is no performance related issues. We have 10 instances of L composites are created per day.

    We went for an active/active cluster. Only problem we are facing is the purge of the instances for which we couldn't get any promising solution Oracle

  • Create instance with TDE using DBCA

    Hello

    In general, we create instances of database with a template.

    Now, I like to implement the transparent data encryption.

    I can do this by adding a parameter to the TablespaceAttributes ?

    This is the part of the TablespaceAttributes in my current model:

    <TablespaceAttributes id="DATA">
             <online>true</online>
             <offlineMode>1</offlineMode>
             <readOnly>false</readOnly>
             <temporary>false</temporary>
             <defaultTemp>false</defaultTemp>
             <undo>false</undo>
             <local>true</local>
             <blockSize>-1</blockSize>
             <allocation>1</allocation>
             <uniAllocSize unit="KB">-1</uniAllocSize>
             <initSize unit="KB">-1</initSize>
             <increment unit="KB">-1</increment>         
             <minExtends>-1</minExtends>
             <maxExtends>-2</maxExtends>
             <minExtendsSize unit="KB">-1</minExtendsSize>
             <logging>true</logging>
             <recoverable>false</recoverable>
             <maxFreeSpace>0</maxFreeSpace>
             <autoSegmentMgmt>true</autoSegmentMgmt>
             <bigfile>false</bigfile>
             <datafilesList>
                <TablespaceDatafileAttributes id="c:\oradata\DATA1.DBF">
                   <id>-1</id>
                </TablespaceDatafileAttributes>
             </datafilesList>
          </TablespaceAttributes>
    
    

    support of Oracle response:
    Not possible to do it via DBCA

  • How to use newly created database in oracle

    Hi friends,

    I created a new database in the name of the model and I dono how to use this database.

    can someone help me through the process step by step.

    Note: I use the oracle 11g and working in the command prompt

    I thank in advance

    2749241 wrote:

    In fact, I learn about dblink so I need to know how to use it

    I created db using DBCA

    After I created db as a model and when tried to use the fake database

    his spear a mistake as TNS Protocol adapter error...

    Help me to enter this dummy database...

    Thank you

    That error is normally due to the eitehr you have a bad SID or in the service of the database is not started. In order to check what applies to you. Do a Google search for the same mistake.

    Aman...

  • use of temporary space in oracle 11g rac

    Hello

    Oracle version: oracle 11g r2

    OS: linux

    storage: asm on exadata

    Please help us understand the use of the temp

    {code}

    SQL > set linesize 1000
    SQL > set pagesize 1000
    SQL > col USERNAME format a20
    SQL > col SPID format a10
    SQL > col MODULE format a30
    SQL > col PROGRAM format a30
    SQL > SELECT s.sid, s.serial #, s.username
    2, p.spid, s.module, p.program
    3, SUM (su.blocks) * tbsp.block_size/1024/1024 mb_used
    4, su.tablespace
    5. FROM v$ sort_usage su
    6, v$ session s
    dba_tablespaces tbsp
    7, $v 8 p process
    9 WHERE su.session_addr = s.saddr
    10 AND su.tablespace = tbsp.tablespace_name
    11 AND s.paddr = p.addr
    GROUP 12 OF
    13 s.sid, s.serial #, s.username, s.osuser, p.spid, s.module,.
    14 p.program, tbsp.block_size, su.tablespace
    15 ORDER BY s.sid;

    USERNAME SID SERIAL # SPID MODULE PROGRAM MB_USED TABLESPACE
    ---------- ---------- -------------------- ---------- ------------------------------ ------------------------------ ---------- -------------------------------
    11 2092 DBSNMP 2861 emagent_SQL_oracle_database Oracle @ [email protected] 8 TMP4

    SQL > select * from v$ temp_space_header;

    FILE_ID BYTES_USED, BYTES_FREE BLOCKS_FREE RELATIVE_FNO BLOCKS_USED NOM_TABLESPACE
    ------------------------------ ---------- ---------- ----------- ---------- ----------- ------------
    TMP1 2 + 12 222274816 33554432 2048 1024 3.6418E
    TMP3 4 + 11 19283968 75497472 4608 1024 3.1595E
    TMP4 5 + 11 19687936 0 0 1024 3.2257E
    TMP5 6 + 13 688638464 0 0 1024 1.1283E

    {code}

    Why isn't bytes_used reclaim as only 8 MB is currently using

    Thank you

    PMP

    I wanted to tell temp is never off allocated. So, if a 'bad' query explodes temp. the only thing you can do is to create a new and drop the old one.

    11 GB temp is clearly ridiculous. Usually, this is caused by the merge join Cartesian paths in your instructions.

    -----------

    Sybrand Bakker

    Senior Oracle DBA

  • Change the default value of some columns in an oracle 11g table

    I have a table called cust_file, its table consists of a large number of columns (one of these columns called cus_tax) and have a lot of data.

    I use oracle 11g, I want to change the default value of the column cus_tax is equal 1.

    I wrote

    ALTER TABLE cust_file MODIFY (1 by DEFAULT cus_tax).


    Table changed


    but after I inserted new data to test the operation, I found that the new record has a value = null for the column cus_tax


    then I tested it using the following query


    Select data_default in the all_tab_columns where table_name = 'CUST_FILE' and column_name = 'CUS_TAX ';

    no selected line


    so please help me to change the default value of the cus_tax column.



    Thanks for any help.



    > but after I inserted new data to test the operation, I found that the new record has a value = null for the column cus_tax

    If the INSERT included a NULL value for the column, the GET of a NULL inserted by default substitution.

    SQL > create table hkc_test_10 (id_column number, data_col_1 varchar2 (5), data_col_2 varchar (5));

    Table created.

    SQL > insert into hkc_test_10 values (1, 'First', 'F');

    1 line of creation.

    SQL > select * from hkc_test_10 by 1.

    ID_COLUMN DATA_ DATA_
    ---------- ----- -----
    1 first F

    1 selected line.

    SQL > alter table hkc_test_10 change (data_col_2 default 'TRUE');

    Modified table.

    SQL > insert into hkc_test_10 values (2, 'Second', NULL);

    1 line of creation.

    SQL > select * from hkc_test_10 by 1.

    ID_COLUMN DATA_ DATA_
    ---------- ----- -----
    1 first F
    2 second

    2 selected lines.

    SQL > insert into hkc_test_10 (id_column, data_col_1) values (3, 'Third');

    1 line of creation.

    SQL > select * from hkc_test_10 by 1.

    ID_COLUMN DATA_ DATA_
    ---------- ----- -----
    1 first F
    2 second
    3 third TRUE

    3 selected lines.

    SQL >

    Hemant K Collette

Maybe you are looking for

  • installation of El Capitan in a mac by usb, but only using windows to create the USB

    installation of El Capitan in a mac by usb, but only using windows to create the USB I'm having a problem to install el capitan on a mac book pro 2009 has changed (dead) to an ssd HARD drive I can't find that any information how to do this from a win

  • Instructions on web page of Mozilla Maintenance Service

    Under the deactivation of the Service of Maintenance of Mozilla on the page of the Service of Maintenance of Mozilla, instruction #1 is to go to preferences in Firefox Mac, no Options in Windows Firefox. If maintenance is for Windows, why put it in a

  • some windows don't open

    When I opened a new page in firefox, it opens not across the entire page there is a border of 4 "on both sides of the text. Menu bars are full width across the page however. This just happened with this help page, I openedNot all sites are affected

  • Print photos in the wrong order

    In the Photos app, I need to print multiple photos on one page.  It won't let me print them in the order I'd like, but seems to align them in chronological order.  The photos appear in chronological order on the page where I have chosen size, etc, bu

  • Questions on Satellite A300-1BI

    Hello everyone, this is my first post here and I would like to know a few things: 1 USB sleep & charge I plug my mp3 on USB and doesn´t the load, I need to enable something for this switch. Te computer is plugged in and no battery.2. What is the late