RMAN-00554 with ORA-12638

Hi,
I'm receiving the following error when I try to start RMAN from a command prompt. I can connect to the database from the Enterprise Manager and from SQLPlus without any problems. I've read about removing the sqlnet.authentication_services line from sqlnet.ora, but I don't know if I should since the database connects fine outside of RMAN:
C:\>rman target sys/password@DB1
Recovery Manager: Release 10.2.0.1.0 - Production on Mon May 15 10:01:40 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-12638: Credential retrieval failed
Thanks,
Nora

Hi,
In 'C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN', my files look like this (the line in sqlnet.ora is still present-- i haven't removed or changed it yet):
TNSNAMES.ORA
# Generated by Oracle configuration tools.
DB1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = host1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = db1)
SQLNET.ORA:
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES = (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
LISTENER.ORA:
# listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = DB1)
(ORACLE_HOME = C:\oracle\product\10.2.0\Db_1)
(GLOBAL_DBNAME = DB1)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = host1)(PORT = 1521))
I don't get ORA-01031 in RMAN with this configuration, but I do get ORA-12638.
Otherwise, I can connect fine to my database if I don't use 'connect / as sysdba'.
Thanks again,
Nora

Similar Messages

  • Kerberos Authentication between Sharepoint 2013 Foundation - SSRS 2012 - Oracle 11g failing with ORA-12638: Credential retrieval failed

    I have set up SharePoint 2013 Foundation, SharePoint Reporting Services and SQL Server 2012 in a single server. I then created a Data Connection to Oracle 11g. Upon testing the connection, it throws the error “ORA-12638: Credential retrieval failed”.
    Given below are the steps of installation and configuration.
    Installation till basic authentication:
    The installation has been done in a
    single server.
    Installed SQL Server 2012 (Developer version).
    Selected only the following features:
    Database Engine Services
    Analysis Services
    Reporting Services – SharePoint
    Reporting Services Add-in for SharePoint Products
    Management Tools – Basic
    - Management Tools - Complete
      2. Installed SQL Server 2012 SP1.
      3. Installed SQL Server 2012 SP2.
      4. Installed SharePoint Foundation 2013.
      5. Created web application (without Kerberos; we did not even create the SPNs).
          The application pool has been configured to use Reporting Services account since it is a single server installation. This account has been registered as a managed
    account.
      6. Created Site Collection.
      7. Verified that Reporting Services is not installed.
      8. Installed SharePoint Reporting Services from SharePoint 2013 Management Shell.
      9. Verified that Reporting Services is installed.
     10. Created a new SQL Server Reporting Services Service Application and associated the Web Application to the new SQL server Reporting Services Service Application.
      11. Verified that SQL Server Reporting Services Service Application and its proxy have started. Reset IIS.
      12. Created a Site.
      13. Created a Data Connection library with “Report Data Source” content type.
      14. Created a Report Model library with “Report Builder Model” content type.
      15. Created a Report library with “Report Builder Report” content type.
      16. Uploaded an SMDL to the Report Model library.
      17. Added the top level site to Local Intranet instead of as a Trusted Site in the browser settings.
      18. Able to create and save a report using Report Builder.
    Hence, basic authentication is working and SSRS is able to connect to Oracle database.
    Next we have to configure Kerberos settings between SharePoint and SQL Server.
    Implementation of Kerberos authentication
    In the Report Server machine, opened the file C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\WebServices\Reporting\rsreportserver.config  and added the Authentication Types of RSWindowsNegotiate
    and RSWindowsKerberos.
     2.  Set up the following SPNs.
                   a) SQL Server Database Engine service (sqlDbSrv2):
                    setspn -S MSSQLSvc/CER1110:1433 CERDEMO\sqlDbSrv2
                    setspn -S MSSQLSvc/CER1110.cer.demo.com:1433 CERDEMO\sqlDbSrv2
                 In the Delegation tab of the account, selected "Trust this user for delegation to any service (Kerberos only)".
    b) Account: SharePoint Setup Admin account (spAdmin2)
         setspn -S HTTP/CER1110:9999 CERDEMO\spAdmin2
                    setspn -S HTTP/CER1110.cer.demo.com:9999 CERDEMO\spAdmin2
                    In the Delegation tab of the account, selected "Trust this user for delegation to any  service
    (Kerberos only)".
    c) Account: SQL Server Reporting Service account (sqlRepSrv2)
                       setspn -S HTTP/CER1110 CERDEMO\sqlRepSrv2
                       setspn -S HTTP/CER1110.cer.demo.com CERDEMO\sqlRepSrv2
                       In the Delegation tab of the account, selected "Trust this user for delegation to any service
    (Kerberos only)".
      3. Configure the Web Application to use “Negotiate (Kerberos)”.
      4. Logged in as SharePoint Administrator to the SharePoint server and opened the top level site in the IE browser.
         The Event Viewer logged the login process for the SharePoint Administration account as
    Negotiate and not Kerberos.
      5. Implemented Kerberos for Oracle database and client.
         Able to connect to the Oracle database via Kerberos authentication using SQL Plus.
      6. Turn on Windows Firewall.
      7. While testing the site's data connection using Kerberos settings, got the error
    “Can not convert claims identity to windows token. This may be due to user not logging in using windows credentials.”
          Note: The Data Connection for basic authentication still worked.
      8. Created a Claims to Windows Token Service account (spC2WTS2).
      9. Started the Claims to Windows Token Service.
     10. Registered the Claims to Windows Token Service account as a Managed Account.
     11. Changed the Claims To Windows Token Service to use the above managed account.
     12. Verified that the Claims to Windows Token Service account (spC2WTS2) is automatically added to the WSS_WPG local group on the SharePoint box.
          Note: The Reporting Services service account is also a part of the WSS_WPG local group.
     13. Added the Claims to Windows Token Service account (spC2WTS2) to the Local Admin Group on the machine having the SharePoint App Server.
     14. In the SharePoint box, added the Claims to Windows Token Service account (spC2WTS2) in the Act as part of the operating system policy right.
     15. The Claims to Windows Token Service account (spC2WTS2) has the WSS_WPG group configured.
          When the C2WTS service was configured to use the managed account Claims to Windows Token Service account (spC2WTS2) earlier, the spC2WTS2 account was automatically
    added to the WSS_WPG local group on the SharePoint box. The WSS_WPG group in turn is configured in c2wtshost.exe.config file.
     16. Verified that the Reporting Services account is a managed account and part of the WSS_WPG group.
     17. Earlier Service Application Pool - SQL Server Reporting Services App Pool service was associated with the SharePoint Admin account.
          Changed this to associate the Reporting Service account with the Service Application Pool - SQL Server Reporting Services App Pool service.
     18. Changed the delegation of the Reporting Service account to constrained delegation with Protocol Transitioning. This is because we are transitioning from one authentication scheme (Claims) to another (Windows Token).
          For this, the delegation has been changed to "Trust this user for delegation to specified services only". Also, selected the sub radio button "Use
    any authentication protocol". Selected the Oracle Kerberos service as the service to which this account can present delegated credentials.
          Note: The Reporting Service account already had an HTTP SPN.
     19. Next, the goal was to make the Claims To Windows Token Service account match the Reporting Service account.
           For this, we created a fake SPN for the Claims To Windows Token Service account since the delegation tab was missing.
           The delegation has been changed to "Trust this user for delegation to specified services only". Also, selected the sub radio button "Use any
    authentication protocol". Selected the Oracle Kerberos service as the service to which this account can present delegated credentials.
     20. Restarted the SharePoint server.
     21. Tested the data connection with the Kerberos settings again.
           Got the error
    “ORA-12638: Credential retrieval failed”.
    Can anyone tell me what is wrong with this setup?

    http://www.freeoraclehelp.com/2011/10/kerberos-authentication-for-oracle.html
    Problem4: ORA-12638: Credential retrieval failed
    Solution:  Make sure that SQLNET.KERBEROS5_CC_NAME is set in sqlnet.ora and okinit has been run before attempting to connect to the database.
    Do check 
    http://webcache.googleusercontent.com/search?q=cache:5a2Pf3FH7vkJ:externaltable.blogspot.com/2012/06/kerberos-authentication-and-proxy-users.html+&cd=5&hl=en&ct=clnk&gl=in
    If this helped you resolve your issue, please mark it Answered. You can reach me through http://itfreesupport.com/

  • Creating physical standby using rman fails with ORA-19558: error de-allocat

    Dear All,
    We are creating physical stadnby database from 2 node RAC ( 2 node RAC to standalone physical standby).
    While in the rman duplicate process we are getting below error, we were not able to sorted out..
    No third party storage has been used ....
    DB version : 11gR2 and the OS is RHEL5
    Appreciate if any one hepl us to resolve this issue ...
    Thanks in advance ...
    RMAN-03009: failure of backup command on prmy1 channel at 10/05/2011 17:59:26
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03113: end-of-file on communication channel
    Edited by: 889828 on 2011/10/06 2:17 AM

    The problem is well decribed in your alert log.....you are using Oracle Managed File names which means you will not be able to duplicate the database as RMAN won't be able to automatically generate new names for the files using the DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT initialization parameters.
    Youll have to use the SET NEWNAME command to specify the names of the database files. Done this a few times , and I don't recommend using OMF specifically beacuse of this hassle.
    WARNING: OMF is enabled on this database. Creating a physical standby controlfile, when OMF is enabled on the primary database, requires manual RMAN intervention to resolve OMF
    datafile pathnames.
    NOTE: Please refer to the RMAN documentation for procedures describing how to manually resolve OMF datafile pathnames.
    Problem handling is described in
    Oracle® Database Backup and Recovery Reference
    10g Release 2 (10.2)
    Part Number B14194-03

  • Rman command fails with "RMAN-00554: initialization of internal RMAN"

    Hi
    I am at cross roads with no direction. 2 things and most like cause for the issue is same
    1)rman target rman1/rman1@ppmqa
    Recovery Manager: Release 11.2.0.1.0 - Production on Thu Dec 16 10:34:46 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-01031: insufficient privileges
    2) sqlnet userid/passwd@db1 "/as sysdba" works some times and fails with insufficient privileges" some times
    ppmqa1 10:24 AM sqrac202a:/oracle/base/diag/tnslsnr/sqrac202a/listener/trace > sqlplus rman1/rman1@ppmqa1 "as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 16 10:24:55 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    ppmqa1 10:24 AM sqrac202a:/oracle/base/diag/tnslsnr/sqrac202a/listener/trace > sqlplus rman1/rman1@ppmqa1 "as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 16 10:24:57 2010
    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, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL>
    Information on environment and let me know if you need or know any more details... thanks in advance.
    CRS Version 11201 and so DB
    current parameters:
    SQL> show parameter remote
    NAME TYPE VALUE
    remote_dependencies_mode string TIMESTAMP
    remote_listener string sqrac202-scan.frxntnyc.frx2.co
    m:1521
    remote_login_passwordfile string EXCLUSIVE
    remote_os_authent boolean FALSE
    remote_os_roles boolean FALSE
    result_cache_remote_expiration integer 0
    SQL> select * from v$pwfile_users
    USERNAME SYSDB SYSOP SYSAS
    SYS TRUE TRUE FALSE
    RMAN1 TRUE TRUE FALSE
    sqlnet.ora from GRID Home
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    ADR_BASE = /oracle/base
    #################################

    I found solution just now, this is very simple i was not aware this but this is how it working
    Hope this helps
    I granted sysdba from node A but not from node B, thinking that if you grant any privilege at instance level that is applicable to db level but that is not the case with sysdba privs
    so i need to grant it from both nodes A and B.
    here is the output
    test case
    initially no entry for instance 2
    1) select * from gv$pwfile_users;
    INST_ID USERNAME SYSDB SYSOP SYSAS
    2 SYS TRUE TRUE FALSE
    1 SYS TRUE TRUE FALSE
    1 RMAN1 TRUE TRUE FALSE
    2) grant sysdba to rman1 -- this I did at NODE B or instance 2
    3) SQL> select * from gv$pwfile_users;
    INST_ID USERNAME SYSDB SYSOP SYSAS
    2 SYS TRUE TRUE FALSE
    2 RMAN1 TRUE FALSE FALSE
    1 SYS TRUE TRUE FALSE
    1 RMAN1 TRUE TRUE FALSE
    4) I am able to connect remotely
    C:\Documents and Settings\kthoka> sqlplus rman1/rman1@ppmqa "as sysdba"
    SQL*Plus: Release 10.2.0.3.0 - Production on Thu Dec 16 13:59:20 2010
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management
    OLAP,
    Data Mining and Real Application Testing options
    SQL> select instance_name from v$instance;
    INSTANCE_NAME
    ppmqa2
    5) rman also working fine
    ppmqa 03:00 PM sqrac202a:/oracle/NSQ/112_64/dbs > rman target rman1/rman1@ppmqa
    Recovery Manager: Release 11.2.0.1.0 - Production on Thu Dec 16 15:00:32 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: PPMQA (DBID=774170541)
    RMAN> exit
    Recovery Manager complete.

  • RMAN-00554, RMAN-04005, ORA-12154: TNS:could not resolve the connect identifier specified

    Hi Gurus,
    I need your help!
    I am implementing dataguard through RMAN, where my primary database is mydb and my standby database is orcl. I am pasting step by step process and atlast the error message which I am getting. Please do help me to resolve it.
    [oracle@localhost ~]$ . oraenv
    ORACLE_SID = [orcl] ? mydb
    The Oracle base for ORACLE_HOME=/u01/home/oracle/product/11.2.0/db_1 is /u01/app/oracle
    [oracle@localhost ~]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Jan 5 09:24:56 2014
    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> select db_unique_name, database_role, open_mode from v$database;
    DB_UNIQUE_NAME                 DATABASE_ROLE    OPEN_MODE
    mydb_un                        PRIMARY          READ WRITE
    SQL> show parameter instance_name
    NAME                                 TYPE        VALUE
    instance_name                        string      mydb
    SQL> show parameter service_names
    NAME                                 TYPE        VALUE
    service_names                        string      mydb_un
    SQL> !
    [oracle@localhost ~]$ . oraenv
    ORACLE_SID = [oracle] ? orcl
    ORACLE_HOME = [/home/oracle] ? /u01/app/oracle/product/11.2.0/dbhome_1
    The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 is /u01/app/oracle
    [oracle@localhost ~]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Jan 5 09:20:04 2014
    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> select host_name, status from v$instance;
    HOST_NAME                                                        STATUS
    localhost.localdomain                                            STARTED
    SQL> show parameter instance_name
    NAME                                 TYPE        VALUE
    instance_name                        string      orcl
    SQL> show parameter service_names
    NAME                                 TYPE        VALUE
    service_names                        string      orcl_un
    SQL> !
    [oracle@localhost ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 05-JAN-2014 09:27:44
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       Linux Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                05-JAN-2014 08:17:31
    Uptime                    0 days 1 hr. 10 min. 15 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Log File         /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "mydbXDB" has 1 instance(s).
      Instance "mydb", status READY, has 1 handler(s) for this service...
    Service "mydb_un" has 1 instance(s).
      Instance "mydb", status READY, has 1 handler(s) for this service...
    Service "orcl_un" has 1 instance(s).
      Instance "orcl", status BLOCKED, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@localhost ~]$ tnsping mydb
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 05-JAN-2014 09:27:54
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    Used parameter files:
    /u01/home/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = mydb_un)))
    OK (0 msec)
    [oracle@localhost ~]$ tnsping orcl
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 05-JAN-2014 09:28:03
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    Used parameter files:
    /u01/home/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl_un)))
    OK (0 msec)
    [oracle@localhost admin]$ more listener.ora
    # listener.ora Network Configuration File: /u01/home/oracle/product/11.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = mydb_un)
          (ORACLE_HOME = /u01/home/oracle/product/11.2.0/db_1)
          (SID_NAME=mydb)
        (SID_DESC =
          (GLOBAL_DBNAME = orcl_un)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
          (SID_NAME = orcl)
    ADR_BASE_LISTENER = /u01/app/oracle
    [oracle@localhost admin]$ more tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/home/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    MYDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = mydb_un)
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl_un)
    [oracle@localhost ~]$ rman target sys/engineer@mydb auxiliary sys/engineer@orcl
    Recovery Manager: Release 11.2.0.1.0 - Production on Sun Jan 5 09:30:59 2014
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-12154: TNS:could not resolve the connect identifier specified
    [oracle@localhost ~]$
    Please let me know why I am getting this error if everything is fine above.
    Regards,
    Michel

    Here's your issue
    (HOST=localhost.localdomain)
    If you are going to use "localhost" at least fake it by adding an entry in your /etc/hosts files
    Example ( add to both servers so they can see each other )
    192.168.0.20               primary.localdomain   primary
    192.168.0.21               standby.localdomain   standby
    Does the "hostname" return localhost.localdomain? Setup something so RMAN has something to connect to.
    The "/etc/hosts" file must contain a fully qualified name for the server.
    <IP-address> <fully-qualified-machine-name> <machine-name>
    localhost.localdomain is 127.0.0.1, you don't want that.
    Best Regards
    mseberg

  • Rman problem with NLS_LANG mismatch b/w catalog and target DB

    Hi,
    I have target database NLS_LANG set to 'AMERICAN_AMERICA.JA16SJIS' and recovery catalog NLS_LANG set to 'JAPANESE_JAPAN.JA16EUC'. When backup is started the rman fails with the following error.
    <----
    RMAN-00571:
    ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
    ===============
    RMAN-00571:
    ===========================================================
    RMAN-03002: failure of allocate command at 11/26/2007 11:22:41
    RMAN-03014: implicit resync of recovery catalog failed
    RMAN-03009: failure of partial resync command on default channel
    at
    11/26/2007 11:22:41
    ORA-06502: PL/SQL: numeric or value error
    ------>
    It works fine if I change the recovery catalog NLS_LANG to 'AMERICAN_AMERICA.JA16SJIS'
    Any help could be appreciated.
    Thanks,
    Prince

    Hello Faust,
    have already tried that in SQLPlus, SQLWorksheet, MS Access (OffXP). All apps used on the same computer. OS Win XP Prof.
    Result in Plus and Worksheet
    40 ! â a a î l c ç i Ä . < ( + ! 50 ! & e e e i n k g Ü $ * ) ; ^ 60 ! - /  A A Î L C Ç I ö , % > ? 70 ! E E E I N K G ` : § ' = " 80 ! a b c d e f g h i [ ] g @ 90 ! ° j k l m n o p q r º ¿ A0 ! µ ß s t u v w x y z G ¿ B0 ! 0 1 2 3 4 5 6 7 8 9 a ß ¿ d e ¿ C0 ! ä A B C D E F G H I š &#65533; t õ D0 ! ü J K L M N O P Q R · u i s u E0 ! Ö S T U V W X Y Z ² Š &#65533; T Õ F0 ! 0 1 2 3 4 5 6 7 8 9 ³ U I S U
    result in Access (via ODBC Con)
    40 ! â &#261; &#257; î &#316; &#269; ç &#299; Ä . < ( + ! 50 ! & &#275; &#281; &#279; &#303; &#326; &#311; &#291; Ü $ * ) ; ^ 60 ! - /  &#260; &#256; Î &#315; &#268; Ç &#298; ö , % > ? 70 ! &#274; &#280; &#278; &#302; &#325; &#310; &#290; ` : § ' = " 80 ! a b c d e f g h i [ ] &#287; @ 90 ! ° j k l m n o p q r º &#8793; A0 ! µ ß s t u v w x y z &#286; &#916; B0 ! &#8320; &#8321; &#8322; &#8323; &#8324; &#8325; &#8326; &#8327; &#8328; &#8329; &#945; &#946; &#947; &#948; &#949; &#969; C0 ! ä A B C D E F G H I š ž &#355; õ D0 ! ü J K L M N O P Q R · &#371; &#305; &#351; &#363; E0 ! Ö S T U V W X Y Z ² Š Ž &#354; Õ F0 ! 0 1 2 3 4 5 6 7 8 9 ³ &#370; &#304; &#350; &#362;

  • Rman backup with  standby database

    Hi All,
    I am looking for some suggestions for rman backup with standby  database with datagaurd but no active DG. I wanted to do a rman tablespace backup. but I am stuck at  sql 'alter system archive log current' in rman  with standby as target. which gives following errors  with or without noswitch clause
    RMAN> sql 'alter system archive log current noswitch';
    sql statement: alter system archive log current noswitch
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 10/05/2013 18:15:12
    RMAN-11003: failure during parse/execution of SQL statement: alter system archive log current noswitch
    ORA-01109: database not open
    Recovery Manager: Release 11.2.0.1.0
    Oracle databaes  Release 11.2.0.1.0 64 bit
    OS:RHEL 6 x86-64 bit
    Secondly, do I need to cancel manged recovery while taking rman backups on standby.
    I scanned thru MOS but could find solutions for rman with active DG.
    Thanks in advance

    726d07e6-b870-431f-8c22-a499c3ec4e0c wrote:
    Hi All,
    I am looking for some suggestions for rman backup with standby  database with datagaurd but no active DG. I wanted to do a rman tablespace backup. but I am stuck at  sql 'alter system archive log current' in rman  with standby as target. which gives following errors  with or without noswitch clause
    RMAN> sql 'alter system archive log current noswitch';
    sql statement: alter system archive log current noswitch
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 10/05/2013 18:15:12
    RMAN-11003: failure during parse/execution of SQL statement: alter system archive log current noswitch
    ORA-01109: database not open
    Recovery Manager: Release 11.2.0.1.0
    Oracle databaes  Release 11.2.0.1.0 64 bit
    OS:RHEL 6 x86-64 bit
    Secondly, do I need to cancel manged recovery while taking rman backups on standby.
    I scanned thru MOS but could find solutions for rman with active DG.
    Thanks in advance
    "I scanned thru MOS but could find solutions for rman with active DG."
    Howto make a consistent RMAN backup in an Standby database in Active DataGuard mode (Doc ID 1419923.1)

  • RMAN-00554...How to resolve

    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-04063: package body "SYS.DBMS_BACKUP_RESTORE" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_BACKUP_RESTORE"
    ORA-06512: at line 1
    RMAN-04015: error setting target database character set to WE8MSWIN1252
    Hi,
    i am getting this error ,when access a particular database through RMAN.
    while checking NLS_characterset in props$ it shows WE8MSWIN1252 only,
    How to resolve this errors...?
    null

    Version-10.2.0.1.0
    Hi pavan,
    while compiling the DBMS_BACKUP_RESTORE
    by giving the command
    ALTER PACKAGE DBMS_BACKUP_RESTORE COMPILE body;
    it giving compliation error ,
    DBMS_BACKUP_RESTORE must be declared & DBMS_SYS_ERROR must be declared.
    Dynamic view (props$) will reflect the character set.. is there any other method to see the character set...?

  • Rman transportable tablespace ORA-39087: directory name is invalid

    Hello all,
    We are trying to restore a backup of a tablepace using RMAN's TRANSPORTABLE TABLESPACE command. I created the director in oracle (and it exists on the server), granted privs yet it fails with ORA-39087: directory name is invalid. It seems to fail at the end. Here's my steps, does anyone know how to fix? Thanks in advance for your time!
    Dave
    CREATE DIRECTORY ARCH_DIR as '/opt/oracle/arch';
    GRANT IMP_FULL_DB, EXP_FULL_DB TO SYS, RMAN, SYSTEM;
    GRANT READ, WRITE ON DIRECTORY ARCH_DIR TO SYS, RMAN, SYSTEM;
    export ORACLE_SID=ADMIN_P1
    rman target / catalog rman/rmanpassword@mydb
    TRANSPORT TABLESPACE REPORTER
    TABLESPACE DESTINATION '/opt/oracle/arch'
    AUXILIARY DESTINATION '/opt/oracle/arch'
    UNTIL SCN 2144439724
    DATAPUMP DIRECTORY ARCH_DIR
    DUMP FILE 'reporter.dmp'
    IMPORT SCRIPT 'reporter.imp'
    EXPORT LOG 'reporter.log';

    Creating a directory object inside the database does not create anything in the operating system. My guess is that the physical directory, with appropriate permissions, does not exist.

  • RMAN-00554: initialization of internal recovery manager package failed

    Hi Folks,
    I am getting the below mentioned error........
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04004: error for recovery catalog database:ORA_28000: The account is locked.
    I have also tried unlocking the account & now its UNLOCKED but again i am getting the same message....
    Please assist..!
    Thanks in advance..!

    ORA-28000: the account is locked
    Cause: The user has entered wrong password consequently for maximum number of times specified by the user"s profile parameter FAILED_LOGIN_ATTEMPTS, or the DBA has locked the account
    Action: Wait for PASSWORD_LOCK_TIME or contact DBA
    I think you have specified a profile to the user for recovery manager where failed_login_attempts was set. Because of wrong password attempts the account got locked.
    Unlocking of account should work.. Check whether you can login to sql*plus ?
    Change the profile's FAILED_LOGIN_ATTEMPTS value and try once again.

  • Cannot connect to 10g instance from 11g client (ORA-12638)

    Hi,
    I don't know why I have problems when I connect from a 11g client to a 10g server. I get the error ORA-12638.
    However, it works fine doing the same with a 10g client.
    Can anybody tell me how to avoid this problem without having to install the 10g client ?
    Thanks in advance.
    Regards.

    Hi, user7409638,
    To understand the problem, I advice you to enable tracing and have a look at it.
    As you may know, ORA-12638 is the problem with the authentication service.
    It was just unable to get your credentials.
    If you want me finally get the solution, please report it at my system http://1dayotn.blogspot.de/p/question-me_7.html
    If you have any questions, ask.
    Kirill Babeyev

  • RMAN Failed!(ora-12560)

    Hi,everybody.
    Now I meet a backup problem.Last night,I run the rman backup script to backup my db.But it failed ,the log infomation is :
    * Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved. *
    * RMAN-00571: =========================================================== *
    * RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== *
    * RMAN-00571: =========================================================== *
    * RMAN-00554: initialization of internal recovery manager package failed *
    * RMAN-04005: error from target database: *
    * ORA-12560: TNS: protocol adapter error *
    But when I run the "rman target sys/sys nocatlog log 'log path' " this morning .It connects successfull.
    And last night ,we aslo did the whole os backup in the same time,but it failed too, it lasted the whole night.The rman backup occurred when the os backup was running.By the way,My harddisk is old .
    what is the reason of "ora-12560".
    Is the highly disk's I/O leads the "ora-12560"?
    I wish someone can help me~
    thanks!
    Edited by: user8103608 on 2009-3-24 上午4:50

    Hi,
    ORA-12560 indicates that Oracle client does not know what instance to connect to or what TNS alias to use.
    In your case you do not use an TNS alias to connect but you use a local connection by setting the ORACLE_SID.
    This ORA-12560 could very well be related to system problems already spotted by you in the same window.
    Regards,
    Tycho

  • Error  ora-12638 when connect

    when i try yo connect to oracle8I with(sql plus, oem: dba studio)using system ( sysdba, sysoper, normal) i got the error messge ora-12638 impossible to extract the preferences of users, can anyone help me please( it's a production database)
    thanks

    Which OS are you using? are you using the base version 8.1.6? Try upgrading to 8.1.6.3.1 on both the server and clients. or try setting
    sqlnet.authentication_services=(none)
    in your sqlnet.ora file.

  • All scheduled jobs started suddenly to fail with ORA-01031: insufficient pr

    I have a setup of gridcontrol 11g on windows 2008. I've been running successful for weeks until the other day when all my scheduled jobs started to fail with
    ORA-01031: insufficient privileges (rman jobs)
    ERROR: Invalid username and/or password (sql scripts).
    I verified for the accounts being locked, pw correct, expired / grace period, etc.
    all good when I try from the command line. running an rman backup from the command line works great, but the same one through the job scheduler fails with ORA-01031.
    I've dropped the jobs completely, recreated them again. same thing.
    I'm using preferred credentials and dropped and recreated them. same thing.
    I don't know where else to look. Only grid control scheduled jobs fail, but all of them do.
    I'm using SQLNET.AUTHENTICATION_SERVICES= (NTS) in my sql.ne (always have).
    we use a windows domain server / domain authentication for logging into boxes. I haven't changed any of my passwords.
    I am probably looking in the wrong places. Anybody able to help?

    Hi,
    ERROR: Invalid username and/or password (sql scripts).This error message clearly tells that password is incorrect and "insufficient privileges" shows that perhaps you are using SYS user for running the jobs and password for user SYS is incorrect.
    If you are specifying passwords in your scripts, i don't think you need to set preferred credentials.
    Try following
    1) Remove preferred credentials
    2) Don't check password of user sys by locally logging in (because if Os authentication is on, even wrong password will allow you loging into the database and you will think that password is correct). Try connecting database using SYS user from a remote machine and check whether it accepts your password and make sure you have same password for your jobs and in sql scripts
    3) If still problem, just for test, remove SQLNET.AUTHENTICATION_SERVICES= (NTS) and try
    Salman

  • Error ORA-12638

    I have installed Oracle 9.2 on W2000 Server. I have created an asp web page by dreamweaver accessing Oracle hr sample. When I use the 'using DSN on testing server' to connect to Oracle, it gives me the error ORA-12638. I have set the security for IUSR and IWAM on the Oracle folder. Also I am using ODBC driver from Oracle. Please help!!

    HTTP 500.100 - 內部伺服器錯誤 - ASP 錯誤
    Internet Information Services
    技術資訊 (供技術支援人員使用)
    錯誤類型:
    Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
    [Oracle][ODBC][Ora]ORA-12638: 證明資料擷取失敗
    /master.asp, line 5
    瀏覽器類型:
    Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
    頁數:
    GET /master.asp
    時間:
    2003年5月28日, 下午 04:07:13
    ** The error message in English is [fail to retrieve identification information]
    When I create the dsn in Windows, I can test the connection with no problems. In dreamweaver there are 2 options : 1) use local DSN 2)use DSN on testing server. When I use local DSN, it was fine. Since my machine is the web server, I have to choose option 2).
    As I mentioned before, I have set the security options of the Oracle folder accessible to Iusr, Iwam and authenticated users.

Maybe you are looking for

  • Not able to create a material document with movement type 103

    I am not able to create a material document with movement type 103, The system is populating the value as 101 . How do I create a matdoc with movement type 103?

  • IPod Touch not recognized since upgrading iTunes to version 11.1.4

    After upgrading from iTunes version 11.1.3.64 to version 11.1.4.64, my iPod Touch will no longer be recognized in iTunes (but is recognized by my computer - can view drive). I've restarted the Apple Mobile Device Service and the iPod Service with no

  • Statspack installation

    Hi, I am trying to install statspack....Almost at the end of installtion I am getting ORA-04031 error Creating Package Body STATSPACK create or replace package body STATSPACK as ERROR at line :1 ORA-04031:unable to allocate 4096 bytes of shared memor

  • ALV printing setting Layout

    Hello I do have an issue printing at ALV -  I want the Layout X_44_120 - g_grid  TYPE REF TO cl_gui_alv_gri   ps_print-print_ctrl-pri_params-LINCT    = 44.   ps_print-print_ctrl-pri_params-linsz    = '120'.   ps_print-print_ctrl-pri_params-paart    =

  • Archiving using PBS

    Hi All, I have to do archiving using PBS . standard program for arching is RM06EL00 but using PBS the sap has converted this program into /PBS/RM06EL00. There is one bug in this program as follows:- when i running this program with multiple vendors f