Connect sys

Hi,
Can anyone tell me why following happens ? my DBA told me that
the sys password is change_on_install
SQL> connect sys/change_on_install@dslim2
ERROR:
ORA-01017: invalid username/password; logon denied
SQL> connect sys/change_on_install@dslim2 as sysdba
ERROR:
ORA-01031: insufficient privileges
Many thanks.
Ivan

Go Through Below Links
>>>Cannot connect as sys user?
[b]>>>Re: SYS user password

Similar Messages

  • Metadata Repository Creation Assistant cannot connect SYS

    Hi!
    I have Oracle10.2.0.1.0 running on Oracle EL4. ORACLE_HOME is /opt/app/oracle/product/10.2.0/db_1 and ORACLE_SID is "orcl".
    I have installed MRCA in /opt/app/oracle/product/10.1.4.0.1/mrca. After installation, I run MRCA with /opt/app/oracle/product/10.1.4.0.1/mrca/runRepca. When I get to the section to enter connection information, I enter the SYS password but it fails to connect.
    I can go into sqplus and do sqlplus /nolog , and then do connect / as sysdba (as user oracle). That works. However, I have the administrator client software installed in /opt/app/oracle/product/10.2.0/client_1, and when I launch "oemapp control" I cannot connect sys as sysdba (I get an insufficient privileges error).
    Please help!

    there are prerequisits to RepCA, did you check all of them?<<To be honest with you, no.
    The OAS MRCA User's Guide has over 25 pages of install requirements (Sections 1.3, 1.5 and 1.6, and surprisingly, the section for installing RepCA, 1.4 comes before the requirement sections for the database and OID), with lots of rabbit trails to follow (for steps here, go here; this stuff is discussed over there, etc) to follow before you can get the whole picture.
    In all fairness to Oracle, there's plenty of information there in the docs, not just in a well organized manner, IMHO. Of course, complexity helps Oracle University fill up training sessions. :) For someone who simply wants a cookbook to get up and running in as short a timeframe as possible so that s(he) can start doing work with these technologies (for example, a Java developer that doesn't need/care to know about Oracle DB administration but that needs access to a DB or Portal instance to work on his/her projects but has no access to a DBA resource) following a long trail of docs, release notes, addendums, and interspersed bits of knowledge is just running out of luck.
    So what I did is, since RepCA runs its own requisites check when you launch the installer, and my intended install met all of them (except shmmax being like 4GB; my system only has 3GB) I went with that. With help from this forum I was able to figure out how to proceed with the install... now the message about RepCA not supporting Oracle DB 10g 10.2.0.1.0... on Oracle EL4... if it doesn't work I don't know yet what I'm going to do. I've spent significant time working through the matrix to identify a set of components that can happily live with each other and allow me to do some work!
    Thanks for your input. I'll follow the link and be more patient and read more (on the prerequisites) and hopefully I'll be able to navigate the maze in order to help out another newbie tomorrow.
    Thx!

  • Connection sys as sysdba

    Hi,
    Our DB is in 8.1.7.4 on Win 2003 server. If I connect
    SQL> connect sys/mypassword@MYDB as sysdba
    I have
    ERROR:
    ORA-01017: invalid username/password; logon denied
    But if I issue :
    SQL> connect sys@MYDB as sysdba
    Enter password:
    It would be OK :
    Connected.
    What is the problem ?
    Thank for help.
    In the two cases I entered the correct password and I'm sure of it.

    By default, the SYS password on 8i is change_on_install, is it the one you used ?
    Furthermore, the user/password used when you are conneting as sysdba doesn't matter :
    E:\apps\oracle\ora0817\bin>sqlplus /nolog
    SQL*Plus: Release 8.1.7.0.0 - Production on Wed Oct 1 18:44:03 2008
    (c) Copyright 2000 Oracle Corporation.  All rights reserved.
    SQL> conn kuere/eiriuur@DEMO817 as sysdba  --obviously this user/password doesn't exists onto the database
    Connected.
    SQL> show user
    USER is "SYS"
    SQL> disc
    Disconnected from Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.1 - Production
    SQL> conn sys/change_on_install@DEMO817 as sysdba
    Connected.
    SQL> show user
    USER is "SYS"
    SQL> disc
    Disconnected from Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.1 - Production
    SQL> conn sys@DEMO817 as sysdba
    Enter password:
    Connected.
    SQL> show user
    USER is "SYS"
    SQL> disc
    Disconnected from Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.1 - Production
    SQL> conn /@DEMO817 as sysdba
    Connected.
    SQL> show user
    USER is "SYS"
    SQL> show parameter password
    NAME                                 TYPE    VALUE
    remote_login_passwordfile            string  EXCLUSIVE
    SQL>Please, check the remote_login_passwordfile parameter value as I showed here above. Are you locally on the server or remote connection ?
    Lastly, some unexpected behaviour can come on non-certified config (8i on W2003), but you already know that.
    Nicolas.

  • Default Connections (SYS, SYSTEM, DBSNMP, SYSMAN) Unavailable When SQLOpens

    I installed the 32-Bit version of Oracle 11gR2 on my Windows 7 x64 system because the x64 version wouldn't install. I downloaded the 32-Bit version of SQL Developer with JRE, but when I run SQL Developer, the default connections (SYS, SYSTEM, DBSNMP, and SYSMAN) are not available.
    I have entered the tnsnames directory on the Database:Advanced Preferences screen, and restarted my PC, but there's obviously something I'm missing.
    Suggestions?
    Thanks.

    Hi Paul,
    Once I connect to the Network Adapter, will the default ids show up?The SQL Developer Help says (and I believe this procedure works even if you cannot "connect" to the local database):
    To create (automatically generate) a database connection for each unlocked user account in the Oracle database instance
    on the local system, right-click the Connections node and select Create Local Connections. The connections are placed in
    a folder named Auto-Generated Local Connections. Note that for these autogenerated connections (except for the one
    named system-<database-name>), you will always be prompted for the password when you connect, and you cannot edit
    the user name or password in the connection properties dialog box.Next, if this what you are actually asking, and you have a local database installed, then you need to make sure your database listener is up and running. Open a command line and try these commands:
    lsnrctl statusIf it is not already started, either start it with
    lsnrctl startor otherwise from your Windows Administrator Tools -> Services -> Oracle<home>Listener (right-click: Start)
    Hope this helps,
    Gary

  • Error Creating a Net Connection with user "sys" as dba

    I can connect as user "sys" locally, but cannot
    connect as user sys as a network connection.
    situation #1: connecting locally ... no problem ...
         [oracle@localhost ~]$ sqlplus
         SQL*Plus: Release 11.2.0.1.0 Production on Sat May 12 23:31:39 2012
         Copyright (c) 1982, 2009, Oracle. All rights reserved.
         Enter user-name: sys as sysdba
         Enter password:
         Connected to:
         Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    situation #2: connecting "sys" by network ... error message - insufficient privileges ...
         SQL> connect sys@orcl as sysdba
         Enter password:
         ERROR:
         ORA-01031: insufficient privileges
    situation #3: connecting by network as user "system" ... no problem ...
         SQL> connect system@orcl
         Enter password:
         Connected.

    Certainly you are not following the rules of etiquette detailed in this forum.
    I guess you did not read the documentation relating to forum etiquette.
    If you read the forum etiquette documentation you would have read
    the following....
         When answering a question, please be courteous and respectful;
         there are different levels of experience represented here.
         A poorly worded question is better ignored than flamed -
         or better yet, help the poster ask a better question.
    Certainly when you answered me you did not followed those rules.
    You did not kindly help me make a better question, you insulted
    by implying my question is dumb and rating it as "boring".
    On your last post you insulted me again using the word "lazy" several times.
    and you also rated my question as "boring". Your opinion is of no value
    to anyone here, people just need help, if you don't know the answer just
    keep your opinions to yourself.
    If you examine my responses, none of them have an insulting word, or insulting
    implications. I cannot say the same about yours. So, I can mark your postings
    as being abusing and not following the rules of etiquette, I encourage you
    to read carefully the etiquette rules, the documentation, but I will not
    use insulting words on you as you did with me.
    I have to assume you are having a bad day. I pardon you for your disrespect.
    Stop cluttering this forum with personal offenses and comments,
    this is not the place for that.
    Case closed.

  • Is possible to connect db with sys/sys as sysdba in SQLPLUS utility

    Hi all,
    I'm using windows 2000 with oracle 10.1.0
    I have to connect server through SQLPLUS utility. I can able to connect system/manager@instance_name
    From system user, i cant able to query >archive log list; .Im getting error as permission denaid.
    is any possbilities there to login as super user(sys/sys as sysdba) in SQLLUS utility.
    Thanks

    connect sys/sys@instance_name as sysdbaUses password file in $ORACLE_HOME/dbs, connecting through SQL*NET
    connect sys/sys as sysdbaUses the BEQ protocol to connect to the database process directly and uses OS authentication, meaning your can use whatever username or password, it does not matter, same as connect / as sysdba - It will always connect to the SYS schema regardless. For this to work, your account needs to be in the SYSDBA group. (DBA - Linux, OSDBA - Windows).
    See the oracle standard documentation for creating a password file under Windows.
    When you have created the passwd file, you can reset the password using
    sqlplus / as sysdba
    alter user sys identified by 'password' ;

  • Cannot connect to sys giving the database name

    Hello All,
    I cannot connect to sys user when giving the database name but with no database name I can connect.
    [oracle@ccoshs02xvdbs04 trace]$ sqlplus sys/passwdA123system@mps01dev as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 1 10:38:36 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Enter user-name:
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Enter user-name:
    ERROR:
    ORA-01017: invalid username/password; logon denied
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    [oracle@ccoshs02xvdbs04 trace]$ sqlplus sys/passwdA123system as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 1 10:40:06 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> show parameter instance
    NAME TYPE VALUE
    active_instance_count integer
    cluster_database_instances integer 1
    instance_groups string
    instance_name string mps01dev
    instance_number integer 0
    instance_type string RDBMS
    open_links_per_instance integer 4
    parallel_instance_group string
    parallel_server_instances integer 1

    [oracle@ccoshs02xvdbs04 script]$ sqlplus sys/passwdA123system as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 1 11:19:47 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> alter user sys identified by passwdA123system
    2 ;
    User altered.
    SQL> connect sys/passwdA123system@mps01dev
    ERROR:
    ORA-28009: connection as SYS should be as SYSDBA or SYSOPER
    Warning: You are no longer connected to ORACLE.
    SQL> exit
    [oracle@ccoshs02xvdbs04 script]$ sqlplus sys/passwdA123system@mps01dev as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 1 11:21:15 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    Many thanks.

  • ORA-28009: connection as SYS should be as SYSDBA or SYSOPER

    Porque este erro acontece?
    Acontece porque o parâmetro O7_DICTIONARY_ACCESSIBILITY está configurado como FALSE.
    Agora vamos ao que interessa, como resolver:
    Conecte-se como SYSDBA
    SQL> conn / as sysdba
    Connected
    Agora vamos configurar aquele parâmetro para TRUE
    SQL> ALTER SYSTEM SET O7_DICTIONARY_ACCESSIBILITY=TRUE scope=spfile;
    System altered.
    Agora você pode fechar o DB e abrir novamente, e logar-se como SYS ( SQL> connect sys/passwd@sv ).

    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:940042518290
    "My recommendation would be to leave the the O7_DICTIONARY_ACCESSIBILITY set to false and
    change scripts that connect as SYS to connect as some other user. Using the SYS account
    should be avoided in any case -- you should never use it to create objects, cannot use it
    to create triggers and some commands (for example "set transaction read only") don't even
    work when connected as SYS.
    Consider SYS to be a special account that you never need to use anymore."

  • Connection Problem to sys with @ TNSNAMES ?

    Hi oracle gurus,
    OS: Solaris 10
    DB: Oracle Database Release 10.2.0.3.0
    I have problem to connect to sys as SYSDBA throw @<TNSNAMES>
    I did the follow test below:
    TEST 1: OK
    SQL> connect sys/xxx as sysdba
    Connected.
    TEST 2: OK
    SQL> connect sysman/xxx@OEMREP
    Connected.
    TEST 3: FAIL?
    SQL> connect sys/xxx@OEMREP as sysdba
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Does anyone now why test 3 fail?
    Its NOT because of wrong password.
    Best Regards - Tommy
    Message was edited by:
    T.Rönnholm

    Hi,
    >>I have problem to connect to sys as SYSDBA throw @<TNSNAMES>
    Certainly you are typing a wrong password. As Werner said, in server side, doesn't matter what you typed id you are using OS authentication:
    oracle@icaro:~> sqlplus blablabla/blablabla... as sysdba
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Dec 7 15:07:07 2007
    Copyright (c) 1982, 2004, Oracle.  All rights reserved.
    Conected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SYS@BD1> show user
    USER e "SYS"In resume, when you connect to the database by using the SYSDBA privilege, you are connected to the SYS schema.
    Cheers
    Legatti

  • Unable to connect SQL Developer 4.0.2 to Oracle REST Data Services 2.0.7 (Apex Listener)

    Background
    1. Weblogic 10.3.6.0 running on Oracle Linux 6.5 with Oracle JRockit(R) (build R28.2.3-13-149708-1.6.0_31-20120327-1523-linux-x86_64, compiled mode)
    2. Oracle Apex 4.2.1
    3. Apex Listener 1.1.3
    4. Apex and Apex Listener running on the Weblogic box above
    5. SQL Developer 4.0.2 running on Windows 7 64 bit / Java 1.7.0_55
    Updated Apex to 4.2.5 via p17966818_425_Generic.zip patchset. Apex environment running fine as do all applications via Listener 1.1.3
    Updated Oracle Listener to the latest version of Oracle REST Data Services 2.0.7
    Current Status
    Apex Applications and RESTful services are running fine.
    Problem
    Unable to connect SQL Developer 4.0.2 to Oracle REST Data Services 2.0.7
    Error message in SQL Developer - Cannot connect to DEV. HTTP/1.1 403 Target service not allowed
    Additional Information
    Steps followed -
    1. The oracle users APEX_LISTENER and APEX_REST_PUBLIC_USER did not exist, so I ran apex_rest_config.sql from the APEX 2.4.1 patchset whilst connected sys as sysdba and provided the same password as APEX_PUBLIC_USER for both users.
    2. I also ran
    grant insert, delete on APEX_040200.wwv_flow_rt$privilege_groups to APEX_LISTENER;
    alter session set current_schema = APEX_LISTENER;
    create or replace synonym wwv_flow_rt$privilege_groups for APEX_040200.wwv_flow_rt$privilege_groups;
    as per Oracle SQL Developer User's Guide Release 4.0
    3. copied ords.war to apex.war
    4. java -jar apex.war configdir /u01/app/oracle/admin/apex/devdomain1/
    5. java -jar apex.war
    Jun 5, 2014 5:15:31 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /u01/app/oracle/admin/apex/devdomain1/apex
    Enter the name of the database server [localhost]:dbservername
    Enter the database listen port [1521]:
    Enter 1 to specify the database service name, or 2 to specify the database SID [1]:1
    Enter the database service name:dbservicename
    Enter the database user name [APEX_PUBLIC_USER]:
    Enter the database password for APEX_PUBLIC_USER:
    Confirm password:
    Enter 1 to enter passwords for the RESTful Services database users (APEX_LISTENER,APEX_REST_PUBLIC_USER), 2 to use the same password as used for APEX_PUBLIC_USER or, 3 to skip this step [1]:2
    Jun 5, 2014 5:16:52 PM oracle.dbtools.common.config.file.ConfigurationFiles update
    INFO: Updated configurations: defaults, apex, apex_al, apex_rt
    Enter 1 if you wish to start in standalone mode or 2 to exit [1]:2
    6. java -jar apex.war user adminlistener "Listener Administrator"
    Jun 5, 2014 5:18:52 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /u01/app/oracle/admin/apex/devdomain1/apex
    Enter a password for user adminlistener:
    Confirm password for user adminlistener:
    Jun 6, 2014 5:19:12 PM AM oracle.dbtools.standalone.ModifyUser execute
    INFO: Created user: adminlistener in file: /u01/app/oracle/admin/apex/devdomain1/apex/credentials
    7. Updated the defaults.xml file
    Added
    <entry key="apex.security.user.roles">RESTful Services</entry>
    <entry key="apex.security.developer.roles">OAuth2 Client Developer, SQL Developer</entry>
    as per Oracle SQL Developer User's Guide Release 4.0
    Changed
    <entry key="debug.printDebugToScreen">false</entry>
    to
    <entry key="debug.printDebugToScreen">true</entry>
    for RESTful debugging
    Added
    <entry key="security.verifySSL">false</entry>
    to use OAuth2 in Non HTTPS Environment as per Oracle® REST Data Services Installation and Configuration Guide, Release 2.0
    8. Deleted the Admin and Manager Roles within the apex application deployment which were part of the Apex Listener 1.1.3 install
    9. Deployed the apex.war in weblogic
    10. Stopped and started the weblogic server to which apex.war was deployed
    11. In SQL Developer, View, RESTful Services. In the RESTful services windows hit connect, Create a new connection,
    Connection Name DEV
    Username adminlistener
    selected http protocol
    Hostname weblogicservername
    Port 7250
    Server Path /apex
    Workspace (blank)
    On the Authentication dialog
    Username adminlistener
    Password passwordsuppliedabove in step 6
    Response is a dialog box titled Authentication Failed
    message - Cannot connect to DEV. HTTP/1.1 403 Target service not allowed
    NOTHING UNUSUAL IN ANY OF THE WEBLOGIC LOG FILES, EXCEPT THAT IT STATES
    'Oracle REST Data Services version : 2.0.6.27.18.06' when I've installed 2.0.7.
    Any help much appreciated

    Further to the above post, I thought I'd simplify my Apex Listener install just to see if I can connect to it via SQL Developer
    So downloaded the latest version 2.0.8 and decided to configure and run the Listener on my pc whilst still connecting to the same database.
    Operating system : Window 7 Pro 64 bit
    Oracle Apex Listener 2.0.8
    Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
    Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
    Went through the configuration as above, once started I tried again to access the listener via SQL Developer. This time I received this output from the listener:
    INFO: Error: ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_RT$APPROVALS_SGID_FK) violated - parent key not found, occurred during execution of: [CALL, insert into wwv_flow_rt$approvals (user_name,status,client_id,security_group_id,created_by,created_on,updated_by,updated_on) values(/*in:user_id*/?,/*in:status*/?,/*in:client_id*/?,/*in:tenant_id*/?,upper(/*in:user_id*/?),/*in:created*/?,upper(/*in:user_id*/?),/*in:created*/?), [tenant_id, in, class java.math.BigInteger], [client_id, in, class java.math.BigInteger], [user_id, in, class java.lang.String], [status, in, class oracle.dbtools.rt.oauth.ApprovalRequest$Status], [created, in, class java.sql.Timestamp]]with values: [adminlistener, APPROVED, 3858401374580004, -1, adminlistener, 2014-06-23 12:19:18.785, adminlistener, 2014-06-23 12:19:18.785]
    SQL Developer responded with an Authentication Failed titled dialog with the following displayed in the body of the dialog
    Cannot connect to DEV.
    <!DOCTYPE html>
    <!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->
    <!--[if IE 7 ]> <html class="ie7 no-css3"> <![endif]-->
    <!--[if IE 8 ]> <html class="ie8 no-css3"> <![endif]-->
    <!--[if IE 9 ]> <html class="ie9"> <![endif]-->
    <!--[if (gt IE 9)|!(IE)]><!-->
    <html>
    <!--<![endif]-->
    <html lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <style type="text/css" media="screen">html,body,div,span,h3,p,ol,ul,li,header,hgroup{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}header,hgroup{display:block}body{font:normal 12px/16px Arial,sans-serif;margin:0 auto;background:#6a9cda}header#xHeader{border-bottom:1px solid #8fa4c0;position:relative;z-index:10;background:none #000}header#xHeader hgroup{width:974px;margin:0 auto;position:relative;height:36px;background:none #000}header#xHeader a#uLogo{margin:8px 0;display:inline-block;font:bold 14px/20px Arial,sans-serif;color:#AAA;text-decoration:none}header#xHeader a#uLogo span.logo{color:#F00}.no-css3 div#xContentContainer div.xContent{padding-top:14px}.no-css3 div#xContentContainer div.xContent div.xMainLeft h2{margin-top:0}div#xWhiteContentContainer{margin-bottom:30px}div#xWhiteContentContainer.xContentWide{background:#FFF;margin-bottom:0}div#xWhiteContentContainer.xContentWide div.xWhiteContent{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}div#xWhiteContentContainer div.xWhiteContent{width:974px;margin:0 auto;padding:0 0 20px 0;background:#FFF;min-height:500px;-moz-border-radius:0 4px 4px 4px;-webkit-border-radius:0 4px 4px 4px;border-radius:0 4px 4px 4px;-moz-box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15)}div#xContentHeaderContainer{background:#6a9cda;-moz-box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset;-webkit-box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset;box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset}div#xContentHeaderContainer div.xContentHeader{width:974px;margin:0 auto;padding:30px 0 32px 0;position:relative;min-height:60px}div#xContentHeaderContainer div.xContentHeader h3{font:bold 24px/24px Arial,sans-serif;color:#fff;text-shadow:0 2px 1px rgba(0,0,0,0.25);margin:0 0 20px 0}div#xFooterContainer{min-height:200px;border-top:1px solid rgba(0,0,0,0.15);background:#6a9cda}body.errorPage div#xContentHeaderContainer div.xContentHeader{min-height:30px}body.errorPage div#xContentHeaderContainer div.xContentHeader h3{font:bold 30px/30px Arial,sans-serif;color:#FFF;text-shadow:0 1px 2px rgba(0,0,0,0.25);margin:0}div.errorPage p{font:normal 14px/20px Arial,sans-seri;color:#666;padding:0 0 10px 0}div.errorPage ul{list-style:disc outside;padding:0 10px 0;margin:0 0 20px 0}div.errorPage ul li{font:normal 12px/16px Arial,sans-serif;color:#666;margin:0 0 8px 10px}pre{font-family:Consolas,"Lucida Console","Courier New",Courier,monospace}
    </style>
    <script type="text/javascript" charset="utf-8">
      'header hgroup'.replace(/\w+/g,
      function(n) {
      document.createElement(n)
    </script>
    <title>Internal Server Error</title>
    </head>
    <body class="errorPage">
      <header id="xHeader">
      <hgroup>
      <a id="uLogo" href="./"><span class="logo">ORACLE</span>
      REST DATA SERVICES</a>
      </hgroup>
      </header>
      <div id="xContentHeaderContainer">
      <div class="xContentHeader">
      <h3>
      <span class="statusCode">500</span> - <span
      class="statusMessage">Internal Server Error</span>
      </h3>
      </div>
      </div>
      <div id="xWhiteContentContainer" class="xContentWide">
      <div class="xWhiteContent">
      <div class="errorPage">
      <p>
      <ul class="reasons">
      </ul>
      </p>
      <p>
      <pre>Request Path passes syntax validation
    Mapping request to database pool: PoolMap [_failed=false, _lastUpdate=-1, _pattern=null, _poolName=apex, _regex=null, _type=REGEX, _workspaceIdentifier=null, _serviceName=null]
    Applied database connection info
    Attempting to process with PL&#x2F;SQL Gateway
    Not processed as PL&#x2F;SQL Gateway request
    Attempting to process as a RESTful Service
    Choosing: oracle.dbtools.rt.oauth.TokenHandler as current candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=NONE], originsAllowed=[], corsEnabled=true]
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    No Tenant Principal established yet, continuing processing
    APEX_LISTENER pool exists, continuing processing
    No matching tenant found for: oauth2, cannot dispatch
    Chose oracle.dbtools.rt.oauth.TokenHandler as the final candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=NONE], originsAllowed=[], corsEnabled=true] for: POST oauth2&#x2F;token
    oauth2&#x2F;token authorized as: p6xycV-2QceFnFHkWyJlnA..
    </pre>
      </p>
      <p>
      <pre>WebException [statusCode=500]
      at oracle.dbtools.rt.web.WebException.webException(WebException.java:343)
      at oracle.dbtools.rt.web.WebException.internalError(WebException.java:262)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApproval(JDBCOAuthDataAccess.java:514)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApprovedRequest(JDBCOAuthDataAccess.java:181)
      at oracle.dbtools.rt.oauth.OAuthAuthorization.resourceOwnerCredentials(OAuthAuthorization.java:654)
      at oracle.dbtools.rt.oauth.OAuthAuthorization.tokenRequest(OAuthAuthorization.java:273)
      at oracle.dbtools.rt.oauth.TokenHandler.post(TokenHandler.java:44)
      at oracle.dbtools.rt.web.RequestHandler.response(RequestHandler.java:268)
      at oracle.dbtools.rt.web.RequestHandler.dispatch(RequestHandler.java:361)
      at oracle.dbtools.rt.web.RequestHandler.dispatch(RequestHandler.java:85)
      at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:93)
      at oracle.dbtools.rt.web.ETags.checkPrecondition(ETags.java:93)
      at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:426)
      at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:164)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1059)
      at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:999)
      at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:434)
      at oracle.dbtools.standalone.SecureServletAdapter.doService(SecureServletAdapter.java:91)
      at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:379)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:196)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Unknown Source)
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_RT$APPROVALS_SGID_FK) violated - parent key not found
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
      at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)
      at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1046)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)
      at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3713)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1378)
      at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:230)
      at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:124)
      at com.sun.proxy.$Proxy44.execute(Unknown Source)
      at oracle.dbtools.common.jdbc.JDBCInsert.execute(JDBCInsert.java:58)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApproval(JDBCOAuthDataAccess.java:487)
      ... 34 more
    </pre>
      </p>
      </div>
      </div>
      </div>
      <div id="xFooterContainer">
      </div>
    </body>
    </html>
    I am assuming this must be part of the problem I am seeing this the Weblogic deployment in my original post.
    Does anyone have any suggestions on how best to tackle this?
    Regards,
    Derek

  • Oracle 9.0.1 on Solaris/SPARC infinite connection timeouts

    Hello, All!
    I have the following system configuration:
    Solaris 5.9 Maintenance Update 4;
    Sun Ultra 10, 1 UltraSPARC IIi 440Mhz CPU, 1024M RAM;
    Oracle 9.0.1 (9i Release 1).
    The database was created with JServer option turned on (we're using the integrated CORBA functionality); archive log mode is OFF, database cache advice is ON.
    In a nutshell,
    ==============
    the problem is in really infinite connection timeouts of Oracle after a long time of inactivity (say, on Monday after two weekend days).
    Long description.
    =================
    Client-side symptoms.
    First, I tried to establish a connection to a published CORBA object, and received no response (I am already waiting for 1 hour 40 minutes).
    Then, I tried to connect to the database with SQLPlus, remotely:
    $ sqlplus /nolog
    SQL> CONNECT SYS/change_on_install@ORCL AS SYSDBA;
    All the same, I receive no reply. However, the listener is alive, I can establish a network connection to both ports 1521 and 2481. Client-side logs (specified via sqlnet.ora) say the following:
    =========== skipped ===========
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:770] nioqsn: entry
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:770] nioqsn: exit
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:770] nioqrc: entry
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nsdo: cid=0, opcode=84, bl=0, what=1, uflgs=0x20, c
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nsdo: rank=64, nsctxrnk=0
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nsdo: nsctx: state=8, flg=0x400d, mvd=0
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nsdofls: DATA flags: 0x0
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nsdofls: sending NSPTDA packet
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nspsend: plen=770, type=6
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nttwr: entry
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nttwr: socket 12 had bytes written=770
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nttwr: exit
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nspsend: 770 bytes to transport
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nsdo: nsctxrnk=0
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nsdo: cid=0, opcode=85, bl=0, what=0, uflgs=0x0, cf
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nsdo: rank=64, nsctxrnk=0
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nsdo: nsctx: state=8, flg=0x400d, mvd=0
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nsdo: switching to application buffer
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nsrdr: recving a packet
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nsprecv: reading from transport...
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nttrd: entry
    If I try to connect to the database locally, I receive the same result:
    $ sqlplus /nolog
    SQL> CONNECT / AS SYSDBA;
    -- no reply.
    Server-side symptoms.
    Oracle logs in ${ORACLE_BASE}/admin/ORCL have no entries referring the last two days. Oracle server debug log (specified via sqlnet.ora) says the following:
    ========== skipped ===================
    nttrd: socket 20 had bytes read=181
    nttrd: exit
    nsprecv: 181 bytes from transport
    nsprecv: tlen=181, plen=181, type=6
    nsrdr: got NSPTDA packet
    nsrdr: NSPTDA flags: 0x0
    nsdo: what=1, bl=2009
    nsdo: nsctxrnk=0
    nioqrc: exit
    nioqsn: entry
    nioqrc: entry
    nsdo: cid=0, opcode=84, bl=0, what=1, uflgs=0x20, cflgs=0x3
    nsdo: rank=64, nsctxrnk=0
    nsdo: nsctx: state=8, flg=0x420c, mvd=0
    nsdo: gtn=156, gtc=156, ptn=10, ptc=2019
    nsdofls: DATA flags: 0x0
    nsdofls: sending NSPTDA packet
    nspsend: plen=93, type=6
    nttwr: entry
    nttwr: socket 20 had bytes written=93
    nttwr: exit
    nspsend: 93 bytes to transport
    nsdo: nsctxrnk=0
    nsdo: cid=0, opcode=85, bl=0, what=0, uflgs=0x0, cflgs=0x3
    nsdo: rank=64, nsctxrnk=0
    nsdo: nsctx: state=8, flg=0x420c, mvd=0
    nsdo: gtn=156, gtc=156, ptn=10, ptc=2019
    nsdo: switching to application buffer
    nsrdr: recving a packet
    nsprecv: reading from transport...
    nttrd: entry
    nttrd: socket 20 had bytes read=770
    nttrd: exit
    nsprecv: 770 bytes from transport
    nsprecv: tlen=770, plen=770, type=6
    nsrdr: got NSPTDA packet
    nsrdr: NSPTDA flags: 0x0
    nsdo: what=1, bl=2009
    nsdo: nsctxrnk=0
    nioqrc: exit
    Oracle local client debug log (oracle enterprise manager runs on the same machine) says:
    ...nsevwait: nsevwait: nsevwait: nsevwait: nsevwait:
    nsevwait: nsevwait: nsevwait: nsevwait: nsevwait:
    nsevwait: nsevwait: nsevwait: nsevwait: nsevwait: ...
    ps -e -o "user,pid,pcpu,pmem,rss,vsz,args" says there're several (3) processes running as oracle, with "args" oracle_ORCL, which eat up nearly all available memory (they have "pmem" values of 25, 25 and 17 per cent, respectively). One of these processes has "pcpu" value varying from 97% to 100%, moreover, this is a user, NOT system time (according to sdtperfmeter, disk/page/swap activity is extremely low; system load holds at value of 4). Here is a sample vmstat output:
         cpu
    cs us sy id
    287 99 1 0
    285 100 0 0
    280 100 0 0
    272 100 0 0
    298 98 2 0
    275 99 1 0
    267 100 0 0
    307 97 3 0
    282 100 0 0
    270 100 0 0
    307 98 2 0
    287 100 0 0
    Here cs is the number of cpu context switches per second;
    us is cpu user time;
    sy is cpu system time.
    The question is: what oracle may be doing and how can I fix the problem?
    Thanks in advance.

    Now, 3 hours later, the first two (of three) connections got established, but subsequent database queries are in the same nearly dead state.
    CPU usage remains about 100%, system load 4.
    I know that oracle restart (and/or system restart) will cure the problem -- but only until next weekend.
    Can this be oracle misconfiguration?

  • Can't Create Saved Connection in 11g (Discoverer Plus).

    We're getting ready to go live with a new installation of Discoverer Weblogic 11g, but we have run into a problem. We are getting errors when we have any user try to create a saved login connection from their login screen. We hit "Create Connection" and enter all the required login info (as we always did with our 10g version), but when we hit 'Apply' or 'Apply and Connect' we get the following errors.......
    A connection error.
    - Oracle BI Discoverer Viewer cannot save the connection. Check for other errors.
    - ORA-04063: package body "PROD_DISCOVERER_PS.WWSSO_API_PRIVATE" has errors ORA-06508: PL/SQL: could not find program unit being called: "PROD_DISCOVERER_PS.WWSSO_API_PRIVATE" ORA-06512: at line 1
    Users can login just fine when they enter all their info on the login screen, this is only happening when we try to create the saved connection. Is anyone else running into this on 11g? Is there a setting we are missing or something? Maybe something in the pref.txt file? Any help would be appreciated, especially since we are being asked to go live soon. Thanks!
    Here is our system setup:
    Oracle BI Discoverer 11g (11.1.1.4.0)
    Oracle Business Intelligence Discoverer Plus 11g (11.1.1.4.0)
    Discoverer Model - 11.1.1.4.0
    Discoverer Server - 11.1.1.4.0
    End User Layer - 5.1.1.0.0.0
    End User Layer Library - 11.1.1.4.0
    Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    Java Virtual Machine:     Sun Microsystems Inc. 1.6.0_29
    JVM Memory Available:     9046KB out of 37372KB
    Operating System:     x86 Windows XP 5.1
    Using protocol: RMI protocol over JRMP transport

    Additional info:
    Based on the error messages, we can see something is wrong with the package being called. We had a long running help ticket with Oracle opened, but in our opinion, it was not really resolved. We provided the following info after a request from Oracle....
    The package does exist. The package is valid but the package body is invalid due to missing dependant objects
    It is owned by PROD_DISCOVERER_PS.
    The database version is 11.2.0.1.0 (64 bit)
    SQL> select OWNER, OBJECT_TYPE
    +2 from all_objects+
    +3 where object_name = 'WWSSO_API_PRIVATE';+
    OWNER OBJECT_TYPE
    PROD_DISCOVERER_PS PACKAGE
    PROD_DISCOVERER_PS PACKAGE BODY
    We have tried to recomplie the package, still invalid.
    After some further questions we were asked to provide info on the app_registry.......We got an error when trying that.......
    The app_registry object does not exist ...
    SQL> connect sys as sysdba
    Enter password:
    Connected.
    SQL> select comp_id,version,status from app_registry;
    ERROR at line 1:
    ORA-00942: table or view does not exist
    In the end (after a lot of back and forth), Oracle could not reproduce our problem on their test system. Because their test system uses Enterprise Edition and we installed Standard Edition, their solution was that the issue is caused because we are using Standard Oracle DB and we should be using Enterprise Edition. Creating a saved connection doesn't sound at all like something that would be affected by Standard or Enterprise edition. That's not an easy "solution" for us right now, and we can use a real fix. That's like taking your car into the shop because your blinkers don't work on your 2010 model car and the dealer's solution is "Oh, your 2010 car blinkers don't work? We have a 2011 model and they work just fine. You'll need to buy a 2011 car so the turn signals function."

  • Connecting to an idle instance

    Hi all
    I got proble, connecting to my 9i database.From SQPLUS i got error-Oracle is not available.
    From command prompt was not able to connect as sysdba
    Finaly with your help was able to connect like this: connect sys@myinstance as sysdba.
    My question is why my database instance is getting idle?
    I was able to tnsping servise name ,but not to connect as sysdba and startup database.SID parameters are ok and services were started/on Win 2000/
    Why my database instance is getting idle?
    Thanks everyone

    Hi all
    I got proble, connecting to my 9i database.From
    SQPLUS i got error-Oracle is not available.
    From command prompt was not able to connect as
    sysdba
    Finaly with your help was able to connect like this:
    connect sys@myinstance as sysdba.
    My question is why my database instance is getting
    idle?r.- Your database is closed
    I was able to tnsping servise name r.- You can test the service name independently of the state of the database. When you use the tnsping, that utility locates the service in the tnsnames.ora and give you an answer.
    ,but not to
    connect as sysdba and startup database.SID parameters
    are ok and services were started/on Win 2000/
    Why my database instance is getting idle?
    Thanks everyoner.- You have to get connection as sys user as sysdba and start the database so:
    SQL> startupJoel Pérez
    http://www.oracle.com/technology/experts

  • Data Guard Broker connecting to standby database fails

    Hello everybody
    I checked lots of pages but I'm not able to find a solution für my problem. I already set up a primary and a standby database (prim = ALPHA1 / standby = ALPHA2).
    After enabling my dgmgrl configuration I got two errors:
    DGM-17016: failed to retrieve status for database "alpha2"
    ORA-16664: unable to receive the result from a database
    The dg log from ALPHA1 says:
    06/04/2013 16:06:57
    Site alpha2 returned ORA-16664.
    Data Guard Broker Status Summary:
    Type Name Severity Status
    Configuration alphadgb Warning ORA-16607
    Primary Database alpha1 Success ORA-00000
    Physical Standby Database alpha2 Error ORA-16664
    While the dg log from ALPHA2 (standby) says:
    06/04/2013 16:43:28
    SPFILE is missing value for property 'LogArchiveFormat' with sid='ALPHA2'
    Warning: Property 'LogArchiveFormat' has inconsistent values:METADATA='arch_ALPHA2_%S_%t_%r.arc', SPFILE='(missing)', DATABASE='arch_ALPHA2_%S_%t_%r.arc'
    Failed to connect to remote database alpha1. Error is ORA-12514
    Failed to send message to site alpha1. Error code is ORA-12514.
    How can I solve this issue? Every type of tnsping is successfull. The sqlplus login from the primary to the standby database works, the other way round works too! Therefore the tnsnames and listener data seems to be correct.
    My configuration for ALPHA1 (primary db):
    Listener
    LISTENER_ALPHA1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.3.13)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER_ALPHA1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ALPHA1_DGMGRL)
    (ORACLE_HOME = /oracle/ALPHA1/orahome)
    (SID_NAME = ALPHA1)
    tnsnames.ora
    ALPHA1.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.3.13)(PORT = 1521))
    (CONNECT_DATA =
    (SID = ALPHA1)
    ALPHA2.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.3.13)(PORT = 1522))
    (CONNECT_DATA =
    (SID = ALPHA2)
    DG_ALPHA1.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.3.13)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ALPHA1_DGMGRL)
    DG_ALPHA2.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.3.13)(PORT = 1522))
    (CONNECT_DATA =
    (SERVICE_NAME = ALPHA2_DGMGRL)
    Parameters
    archive_lag_target integer 0
    log_archive_config string DG_CONFIG=(ALPHA2,ALPHA1)
    log_archive_dest string
    log_archive_dest_1 string LOCATION=USE_DB_RECOVERY_FILE_DEST valid_for=(all_logfiles,all_roles) DB_UNIQUE_NAME=ALPHA2
    log_archive_dest_2 string SERVICE=ALPHA1 SYNC valid_for=(online_logfiles,primary_role) DB_UNIQUE_NAME=ALPHA1
    log_archive_format string arch_ALPHA2_%S_%t_%r.arc
    log_archive_local_first boolean TRUE
    log_archive_max_processes integer 4
    log_archive_min_succeed_dest integer 1
    log_archive_start boolean FALSE
    log_archive_trace integer 0
    standby_archive_dest string ?/dbs/arch
    For the DG Broker configuration
    DGMGRL>     connect sys/dgalpha42@DG_ALPHA1
    DGMGRL>     create configuration ALPHADGB
    DGMGRL>     primary database is ALPHA1
    DGMGRL>     connect identifier is DG_ALPHA1
    DGMGRL>     ;
    DGMGRL>     add database ALPHA2
    DGMGRL>     connect identifier is DG_ALPHA2
    DGMGRL>     maintained as physical
    DGMGRL>     ;
    There were no errors.
    DGMGRL> show database verbose ALPHA1
    Database - alpha1
    Role: PRIMARY
    Intended State: TRANSPORT-ON
    Instance(s):
    ALPHA1
    Properties:
    DGConnectIdentifier = 'dg_alpha1'
    ObserverConnectIdentifier = ''
    LogXptMode = 'ASYNC'
    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 = 'ALPHA2, ALPHA1'
    LogFileNameConvert = 'ALPHA2, ALPHA1'
    FastStartFailoverTarget = ''
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    SidName = 'ALPHA1'
    StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oraprakt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ALPHA1_DGMGRL)(INSTANCE_NAME=ALPHA1)(SERVER=DEDICATED)))'
    StandbyArchiveLocation = 'USE_DB_RECOVERY_FILE_DEST'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = 'arch_ALPHA1_%S_%t_%r.arc'
    TopWaitEvents = '(monitor)'
    Database Status:
    SUCCESS
    DGMGRL> show database verbose ALPHA2
    Database - alpha2
    Role: PHYSICAL STANDBY
    Intended State: APPLY-ON
    Transport Lag: (unknown)
    Apply Lag: (unknown)
    Real Time Query: OFF
    Instance(s):
    ALPHA2
    Properties:
    DGConnectIdentifier = 'dg_alpha2'
    ObserverConnectIdentifier = ''
    LogXptMode = 'SYNC'
    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 = 'ALPHA1, ALPHA2'
    LogFileNameConvert = 'ALPHA1, ALPHA2'
    FastStartFailoverTarget = ''
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    SidName = 'ALPHA2'
    StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oraprakt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ALPHA2_DGMGRL)(INSTANCE_NAME=ALPHA2)(SERVER=DEDICATED)))'
    StandbyArchiveLocation = 'USE_DB_RECOVERY_FILE_DEST'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = 'arch_ALPHA2_%S_%t_%r.arc'
    TopWaitEvents = '(monitor)'
    Database Status:
    DGM-17016: failed to retrieve status for database "alpha2"
    ORA-16664: unable to receive the result from a database
    Can anybody help me to find a solution for this?

    Hey
    thanks for the answer. I followed you recommendations but I got the same error again. I restored/recovered the old status and looked deeper into the dgmgrl configuration before enabling. I found an interesting point. (show database verbose ALPHAx)
    Database - alpha1
    Role: PRIMARY
    Intended State: OFFLINE
    Instance(s):
    ALPHA1
    Properties:
    DGConnectIdentifier = 'dg_alpha1'
    ObserverConnectIdentifier = ''
    LogXptMode = 'ASYNC'
    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 = 'ALPHA2, ALPHA1'
    LogFileNameConvert = 'ALPHA2, ALPHA1'
    FastStartFailoverTarget = ''
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    SidName = 'ALPHA1'
    StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oraprakt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ALPHA1_DGMGRL)(INSTANCE_NAME=ALPHA1)(SERVER=DEDICATED)))'
    StandbyArchiveLocation = 'USE_DB_RECOVERY_FILE_DEST'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = 'arch_ALPHA1_%S_%t_%r.arc'
    TopWaitEvents = '(monitor)'
    Database Status:
    DISABLED
    Database - alpha2
    Role: PHYSICAL STANDBY
    Intended State: OFFLINE
    Transport Lag: (unknown)
    Apply Lag: (unknown)
    Real Time Query: OFF
    Instance(s):
    ALPHA2
    Properties:
    DGConnectIdentifier = 'dg_alpha2'
    ObserverConnectIdentifier = ''
    LogXptMode = 'ASYNC'
    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 = 'ALPHA1, ALPHA2'
    LogFileNameConvert = 'ALPHA1, ALPHA2'
    FastStartFailoverTarget = ''
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    SidName = 'ALPHA2'
    StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oraprakt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ALPHA2_DGMGRL)(INSTANCE_NAME=ALPHA2)(SERVER=DEDICATED)))'
    StandbyArchiveLocation = 'USE_DB_RECOVERY_FILE_DEST'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = 'arch_ALPHA2_%S_%t_%r.arc'
    TopWaitEvents = '(monitor)'
    Database Status:
    DISABLED
    As the listener are configured ALPHA1 (prim) should be on port 1521 while ALPHA2 (stby) should work on 1522. In the configuration of DGMGRL only appears port 1521 (look at StaticConnectIdentifier). Is this maybe the reason of the networking problems with DG Broker? How can I fix this?
    Regards Mirko
    Edited by: 1009733 on 04.06.2013 09:22

  • Sys account with two password in 9i

    Hi Guys,
    I got a database that sys have two password.
    the db is 9.06 in 32 bit window.
    i do this as
    SQL> connect sys/EXPassword as sysdba
    Connected.
    SQL> connect sys/workingPw as sysdba
    Connected.
    S
    I find EXPassword in exp code that still works well ( every day)
    But I got this DBA account from former DBA as second workingPW.
    I have a problem to impDB to new blank DB that I created by workingPW.
    Sorry, 9i can not set up rman backup and must use emp/imp to migrate to oracle 10.0.2. 4.0.
    Could you help me?
    JIM

    sb92075 is, in a sense, correct.
    When you are a member of the DBA group Oracle connects you without password authentication. It is not so much that you have infinite passwords but rather that Oracle will ignore whatever you enter because it does not care.
    This is just a variation on: conn / as sysdba
    As this is a reasonably serious security hole, in 11g and above (possibly backported to 10.2.0.4 but I'm not able to verify it here), Oracle has closed it with a new parameter you can use when you create a password file:
    {code{
    orapwd file=<fname> password=<password> entries=<users> force=<Y|N> ignorecase=<Y|N> nosysdba=<Y|N>
    Note the NOSYSDBA syntax. A "Y" disables the ability to get in without a valid password.
    Unfortuantely, however, you are still working in Neolithic software so old it is in desupport so you will remain exposed until you upgrade to a currently supported version.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • How to log Exceptions raised in CAF Application Services

    Hi All, When there is an Exception rasing in CAF Application Service custom method implementation what are the steps need to follow for send that exception details to log files & where those log files will be generated i.e either in server, local sys

  • Bridge CS3 slowdown, upgrade to 5 or 6 on Mac?

    My OSX is 10.8.4 and I use PSE10 for mac with Bridge CS3. Recently, I have observed a major slowdown in bridge and some annoying interactions with PSE10. I have about 17,000 jpegs (of insects) organized in hierarchical folders, i.e., taxonomically. I

  • User Exit not getting triggered

    Dear all, we are creating a workflow for PR Release which needed release strategy customization. so we are trying to set the release stratagy by changing the communciation structure CEBAN-USRC1 field. for this, i had done the following things: 1. SMO

  • Management Reporter CU11 Timing Out

    Morning All, I use SQL 2012 and I installed Management reporter CU11, but I keep getting this error message after installing management reporter CU11; Tasks.RecordException] Timeout expired. The timeout period elapsed prior to completion of the opera

  • Oracle Advanced Pricing and Order Import API

    Dear All, We have an Interface which is used to create customer orders in booked state using Order Import Api, we populate the OE_HEADERS_IFACE_ALL and OE_LINES_IFACE_ALL Interface tables and then run the order import concurrent program. We have a re