Host Credentials to perform recovery

Hi,
I prepare for the oca exam, trying to perform recovery in enterprise manager at windows7 os.
the DB in mount mode.
in OEM, I click on "perform Recovery" from the home page.
it ask for host credentials. I get "ORA-01031: insufficient privileges".
when the DB is open for other alternatives, I don't have this problem.
I tried to save preferred credentials, which still did not work.
what is the problem, why I can not login in mount mode?
thanks.

See the job system requirements in the installation guide:
http://download.oracle.com/docs/cd/B19306_01/install.102/b14316/postcfg.htm#BABFAEIG
Werner

Similar Messages

  • OS Host Credentials in Perform Recovery Page of 10g EM Database Control

    I have installed 10g on my PC with windows 2000 professional as OS. I access the EM Database Control by entering the following Address in IE.
    http://127.0.0.1:1158/em/
    I login to the database with credential as
    User Name: Sys
    Password: Ashzak
    Connect as: SYSDBA
    When I access the Perform Recovery or Backup Setting or Recovery Setting Pages and make some changes and want to apply it, prompts for OS credentials appear, But when I supply the OS credentials as
    Login:     Ashraf
    Password:     ashzak
    It does not work and wrong password message appears.
    I had login to the PC on which the target database is located with the following credentials
    Login:     Ashraf
    Password:     ashzak
    The user Ashraf is a member of ora_dba group, administrator, users and power users.
    Why it dosn't work for EM Database control.
    Can anyone help in this scenario?
    Regards
    Ashraf

    Ashraf,
    On windows you need to set for log on as batch job for windows.Please follow the procedure mentioned below,
    http://amansharma.wordpress.com/2008/03/15/remote-operation-exception-in-em-its-workaround/
    And post the feedback.
    Aman....

  • "Perform whole database Recovery" Host Credentials problem

    Hello,
    I have minimal knowledge of the Oracle database system but currently I need to recover a Oracle 10G database on a Windows Server 2003 Standard edition.
    Im trying to use the Oracle Enterprise Manager. Im logged into the instance with SYS as SYSDBA. On the Perform Recovery page there are fields for "Host Credentials" Could someone explain to me what credentials EM is asking for. Whatever account I try to use EM gives a Validation Error stating
    Error - Connection to host as user test failed: ERROR: Wrong password for user
    Ive tried both local and Active Directory accounts that have full admin rights on the Host machine. With the AD account I tried using just the user name and allso domain\username. The page asks for "To perform recovery, supply operating system login credentials to access the target database." which sounds like the account has to have both access to the host and the database. Does that mean I have to create an external account in the instance? I even tried that but im not sure I configured it properly.

    Well found the solution. Atleast to this problem. Had to give the account "Log on as batch job" rights under Local Policy -> User Rights Assignment

  • Recovery host credentials error...

    When I try to perform a recovery (click on the Perform Recovery button), on the first page it required me to enter the Host Credentials and Database Credentials in order to proceed.
    Once I have key in both, it direct to another page where it ask for reovery selection. And below the selection there is another Host Credentials.
    But when i enter the Host login again this time, it prompt me the following message.
    ERROR: The specified host user is not a member of the operating system DBA group. The host user must be a DBA group member since the database user does not have the SYSDBA role.
    Isn't it the Host login I enter in the first place same as second Host Login? Anyway there should be one Host Credentials only rite? How can I check and resolve this problem ? I'm Using 10g EM.
    Thanks

    See:
    Re: Operating system user for Host cridentials

  • What host credentials must be given in local Instance ?

    Hi
    i have a 10g DB on my local system on Windows XP SP2.
    We have exchange.com domain in our comoany
    I am able to start EM, but cannot perform recovery unless
    i enter host credentials.
    I entered my username on exchange and the password but it doesn't work.
    my_username
    my_password
    i tried and entered
    EXCHANGE\my_username
    It didn't work either.
    What should be entered instead?
    Any idea?

    See the job system requirements in the installation guide:
    http://download.oracle.com/docs/cd/B19306_01/install.102/b14316/postcfg.htm#BABFAEIG
    Werner

  • Use of host credentials.

    Hi,
    Please can u educate me on the above named subject.Anytime i want to perform an action that requires the use of host credentials e.g.performing recovery or importing data,it brings out an unspecified error thereafter stopping the enterprise manager from working. Thanks.

    Hi,
    Any time you need to perform an operation over the OS, the OEM will request the Host Credentials (OS Username and password/e.g. user: Oracle, Password: xxxxx) to execute your request because when you connected to the web console you only enter the DB Username and password not the OS ones. That mean the OEM don't have the information necessary to connect to the OS to write something to disk, or execute something over the OS (Backup, recover,etc).
    If you are using linux/windows the hostname credentials should be the user who has installed the oracle 10g database software, if Windosw the user you are using need to be member of the ora_dba group and have Local Security privilege 'Log on as a batch job'.
    What you need to do is go to start----> Programs----> admin tools----> Local security policy --->local policies ---> user rights assignments
    In the list to your right, look for 'Log on as a batch job', double click and add the same OS local user you using to access OEM web to the group.I hope this answer your question. You can always say to the OEM to save your OS username and password, this way you are not going to be asked all the time.
    Cheers,
    Francisco Munoz Alvarez
    http://www.oraclenz.com

  • Can not open database. Also can not perform recovery

    Hi Experts,
    I scheduled a daily incremental backup of whole database and after doing a back up tried to restore whole back up. This was done in dev. system to perform documentation. But when I tried to recovery from back up ..i got errors. I tried to restart oracle services and even restarted server ..no joy.
    In the EM i am getting the below error -
    "The database status is currently unavilable. It is possible that the database is mount or nomount state. Click 'Startup' to obtain the current status and open the database. If database can not be opended, 'Perform Recovery' to perform appropriate recovery operation."
    Then tried to startup database - got the below status message. Could not start up
    Current Status : Mounted
    Operation : Open the database
    Then tried to perform recovery - I got the below error - (I could only do datafile recovery)
    Restore error
    ORA-16038: log 2 sequence#29178 can notbe archived
    ORA-19809: Limit exceeded for recovery files
    ORA-00312: online log 2 thread 1: 'C;\ORACLE\PRODUCT\10.1.0\ORADATE\ZUMA\RED0O2.LOG
    Can anyone help to open my database ???
    Regards,
    Ranjith

    Hi ,
    Thanks very much for the quick reply. I have increased the db_recovery_file_dest_size to 5 GB.
    My Recovery folder structure is like this -
    Path: C:\oracle\product\10.1.0\flash_recovery_area\ZUMA
    ARCHIVELOG
    - 2009_02_22 - has many files
    - 2009_02_23 - has many files
    - 2009_02_24 - no files
    AUTOBACKUP
    2009_02_22 - One file
    DATAFILE
    - No files
    FLASHBACK
    - Many files under this directory
    Perform Recovery: Credentials
    Information
    The database is currently down. Enter the host OS credentials and the database credentials to continue.
    Current Database Information
    ARCHIVELOG Mode - ARCHIVELOG
    Current Status - MOUNTED
    Perform Recovery: Point-in-time
    Step 1 of 4
    Database zuma
    Object Type Whole Database
    Operation Type Restore and Recover
    Perform Recovery: Review
    Step 4 of 4
    Database zuma
    Object Type Whole Database
    Operation Type Restore and Recover
    Backup The most recent backup
    Point-in-time Recover to the current time
    Click on the 'Edit RMAN Script' button to view or edit the RMAN script before submitting the operation.
    RMAN Script
    RMAN Script run { restore database; recover database; alter database open; }
    Recovery Manager: Release 10.1.0.2.0 - Production
    Copyright (c) 1995, 2004, Oracle. All rights reserved.
    RMAN>
    connected to target database: ZUMA (DBID=966845288)
    using target database controlfile instead of recovery catalog
    RMAN> 2> 3> 4> 5>
    Starting restore at 25-FEB-09
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=154 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 02/25/2009 21:47:14
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    RMAN>
    Recovery Manager complete.
    This is the error I get when I execute recovery. But when I try to startupdatabase ..it again goes to the same start up page.
    Regards,
    Ranjith

  • Host credentials error

    hi
    win xp is os on my machine, i'm member of ora_db group and administrators. however when i want to perform import from files using oem import wizard i'm asked for host credentials: username and password, but i always get an error: 'wrong password for user'. i didn't make mistake writing a username or password, 'cause i checked several times.
    so, what could be wrong about host credentials?
    thanks for any help

    Hi,
    Maybe the famous(click) Logon as a bath job problem?
    Your O.S. user must have the right to do that. Ask your sysadmin. Or execute: "gpedit.mmc"
    Regards,
    Yoann.
    Message was edited by:
    Yoann Mainguy

  • Host credentials  using Sudo su - oracle - linux

    Hi All:
    I recently installed GC 10.2.0.4 in linux environment. All our db servers are linux. Acces to the oracle user on these database servers is restricted in that DBAs have to login as themselves and sudo into oracle using their own password
    'sudo su - oracle'
    there is no way we can login/ssh into these servers as 'oracle'.
    as we know most of the functionality, including
    *cloning a database/oracle home
    *start/sto listener, database
    *run a sql script ....and many more require that we provide the Host credentials  i.e oracle userid/password. How do I accomplish that?  When I provided my own userid which is in 'dba' group , it did not work.
    In the setup->preferred credentials page for the hosts there is run as column which can be used to provide my userid and ask it to run as oracle. But this only works when I set at the default level for all hosts ,
    when I try to do the same for each host.. it does not allow me to do that .. the 'run as' feild is locked .... any ideas as to how I can fix this ?
    also , a lot of places it does not even care for the preferred credentials it again asks for host userid and apssword ... and looks like its willing to take no less than the 'owner' who installed the product ...namely 'Oracle'
    please help....

    Hi , I have done the sam (NB GC 10.2.0.4)
    1) installed EMCLI client as:-
    java -jar emclikit.jar client -install_dir=/usr/philw/em/
    2) Set-up emcli to post to our OMS as:-
    emcli setup -url="http://xxx.xxx.lan:xxxx/em" -username=xxxxx
    (where xxx.xxx.lan:xxxx/em is out hosytname:port
    and -username = the owner of oms)
    3) The created priv delegation setting as:-
    emcli create_privilege_delegation_setting -setting_name=ELBRUS_Setting
    -setting_type=SUDO -settings="SETTINGS:/usr/bin/sudo –S –u %RUNAS%
    %command%"
    4) Then applied to target
    emcli apply_privilege_delegation_setting -setting_name=ELBRUS_Setting -target_type=host
    -target_names="targethostname"
    give the message Apply Sudo/Powerbroker Settings operation successfully submitted.
    Now I want to via Oracle Grid Control to be able to perform a Backup as me (philwilliams) but doing a sudo to the oracle
    account.
    [1] Sudo works on the target host
    i.e which sudo
    /usr/bin/sudo This matches the path in the create privs command
    [2] I can on the host so a sudo to oracle OK
    [3] However when in GC I cannot select the credntial so do as run as?
    I have RTFM ;-) but think I am missing something obvious ? Any Ideas

  • Host credentials problem in Vista Basic

    Dear All,
    I am using Vista basic OS. I have installed Oracle 10g. I have to use import functionality to import the data. In order to use that in enterprise manager,It asks to enter Host credentials. I tried with DBA credentials, It gives invalid password error. I also tried to add ora_dba group,but unfortunately I cann't add in vista basic as it doesn't support adding Local security group snapin. So please help me how and where to add host credential in order to access import functionality in enterprise manager.
    Thanks in advance.
    Regards,
    Sangamesh

    Helllo,
    As you already know Vista basic and home premium not supported but you can give a try by going to
    First create a user with a password (hope you can do this vista basic)
    control panel --> adminstrative tools--> look for local security policy (if it exists in vista basic) --> local policies and search for user assignments--> log on as a batch job , add your new user and apply changes. Then use this new user as host credentials.
    Regards

  • Host Credentials problem

    I am trying to 'Export to Export file' some individual schemas. I will take this information to a test/development server and import it there to work on.
    When prompted for the Host Credentials I have problems. I am logged on as the Administrator of the domain and I am using these same credentials here only I get one of 2 different error messages.
    1) When I use the credentials of
    Username: Administrator
    Password: admin_password
    I get
    -- Examine and correct the following errors, then retry the operation:
    Error - ERROR: Failed to create command process
    2) When I use the credentials of
    Username: DOMAIN/Administrator
    Password: admin_password
    I get
    -- Examine and correct the following errors, then retry the operation:
    Error - ERROR: Wrong password for user
    This is on Windows 2003 server.
    Any suggestions would be apprecitated.

    Ok. Could you check if the DBConsole Service is started as a Domain User or as a Local User.
    My guess is that yoiu are facing the same problem as this thread. Check the solution to it. If it is not the same, then let me know.
    DBconsole (on Windows) issues after changing to run as domain user

  • Trying to perform recovery RMAN in OEM.  Fails!!!

    I am trying to learn to do backups within OEM. I see it uses RMAN behind the scenes.
    Anyway, I have 2 databases residing on one machine. A production database "a" and a clone it "b". I performed the cloning in OEM fine.
    I then performed a full database backup on "b" using OEM which included the control files. This seemed to go well. I had them created on a mapped drive."s:\"
    Now I am trying to use the perform recovery tools in OEM and I can't get anywhere. I am not familiar with RMAN, but I thought that was the purpose of the OEM to provide out of the box solution. The RMAN script generated behind the scenes looks like:
    set dbid 1508042233;
    set controlfile autobackup format for device type disk to '%F';
    run {
    allocate channel oem_restore type disk;
    restore controlfile from autobackup;
    shutdown immediate;
    startup mount;
    I changed the 2nd line to match my drive mapping 's:\%F';
    My error message is as follows and yes it was wrapped this way!
    Error in Restoring Control File
    Recovery Manager: Release 9.0.1.5.1 - Production (c) Copyright 2001 Oracle Corporation. All rights reserved. RMAN> connected to target database: mycopy1 (not mounted) using target database controlfile instead of recovery catalog RMAN> executing command: SET DBID RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-00579: the following error occurred at 08/17/2005 20:57:06 RMAN-03002: failure during compilation of command RMAN-03013: command type: CSET RMAN-06188: cannot use command when connected to target database RMAN> executing command: SET CONTROLFILE AUTOBACKUP FORMAT RMAN> 2> 3> 4> allocated channel: oem_restore channel oem_restore: sid=8 devtype=DISK Starting restore at 17-AUG-05 released channel: oem_restore RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-00579: the following error occurred at 08/17/2005 20:57:07 RMAN-03002: failure during compilation of command RMAN-03013: command type: restore RMAN-03002: failure during compilation of command RMAN-03013: command type: IRESTORE RMAN-06495: must explicitly specify DBID with SET DBID command RMAN> Oracle instance shut down RMAN> connected to target database (not started) Oracle instance started database mounted Total System Global Area 151810128 bytes Fixed Size 282704 bytes Variable Size 100663296 bytes Database Buffers 50331648 bytes Redo Buffers 532480 bytes RMAN> Recovery Manager complete. Starting restore at 17-AUG-05 released channel: oem_restore RMAN-00571: ===============================================
    I tried going to the command line and working with it
    using the following script:
    (Note here i tried working on database "a" which I also have a backup for)
    set dbid 21410814117;
    connect target
    set controlfile autobackup format for device type disk to 'S:\%F';
    run {
    allocate channel oem_restore type disk;
    restore controlfile from autobackup;
    shutdown immediate;
    startup mount;
    *********************************88
    RMAN> set dbid 21410814117;
    executing command: SET DBID
    RMAN> connect target
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00579: the following error occurred at 08/17/2005 21:18:43
    RMAN-06189: current DBID 4294967295 does not match target mounted database (2141081417)
    RMAN> set controlfile autobackup format for device type disk to 'S:\%F';
    executing command: SET CONTROLFILE AUTOBACKUP FORMAT
    using target database controlfile instead of recovery catalog
    RMAN>
    RMAN> run {
    2> allocate channel oem_restore type disk;
    3> restore controlfile from autobackup;
    4> }
    allocated channel: oem_restore
    channel oem_restore: sid=10 devtype=DISK
    Starting restore at 17-AUG-05
    released channel: oem_restore
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00579: the following error occurred at 08/17/2005 21:18:45
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: restore
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: IRESTORE
    RMAN-06496: must use the TO clause when the database is mounted or open
    RMAN>
    RMAN> shutdown immediate;
    database dismounted
    Oracle instance shut down
    RMAN> startup mount;
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area 151810128 bytes
    Fixed Size 282704 bytes
    Variable Size 100663296 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 532480 bytes
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00579: the following error occurred at 08/17/2005 21:19:01
    RMAN-06189: current DBID 4294967295 does not match target mounted database (2141081417)
    from what I understand my two databases dbid's are "a"=21410814117 and
    "b" is 1508042233 I have no idea where this other one is coming from.
    Any help would be appreciated. I wouldn't mind being able to do it at the command line, so at least I would have an idea of what is going on, but the OEM doesn't seem to work at all.
    Thanks,
    John

    Do one thng. Keep the target db in nomount mode and then run recovery using OEM.
    Regards,
    http://askyogesh.com

  • Problem with host credentials / ASM & RAC

    hi
    I am working on windows 2003 server, and trying to ASM / RAC, but every time need host credentials. when i setting up host credentials its giving error normal user password wrong , as per instruction i supply user name and password but every time message appearing wrong wrong.
    kindly any body give solution asap.
    B.S.fartiyal

    See my first response to this posting to see if it helps you:
    Problem with Credentials.

  • Enterprise Manager Host Credentials Problem on Windows Vista

    I have similar problem as discribed here before, but the difference is, that I am using Windows Vista and I have tried "Log as a batch job" and "Log as a service" privilleges. It does not help. I have Oracle Personal Edition 10.2.0.3 on Windows Vista. May there be some other security issues on Vista? The error message is not "Wrong password for user" but simply "Error" with no explanation. In addition to that, windows displayes error window which says "Oracle Enterprise Manager executable has stopped working" and there comes another window with detiled information like that:
    Files that help describe the problem:
    C:\ProgramData\Microsoft\Windows\WER\ReportQueue\Report1a37c9af\WERBBCB.tmp.version.txt
    C:\ProgramData\Microsoft\Windows\WER\ReportQueue\Report1a37c9af\WERBBCC.tmp.appcompat.txt
    C:\ProgramData\Microsoft\Windows\WER\ReportQueue\Report1a37c9af\WERC993.tmp.mdmp
    Read our privacy statement:
    http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
    Can anyone help me please?
    Mati

    I have this exact same issue on Win server 2008. Not sure where to start.
    My backup jobs have started failing because the host credentials will not work.
    HELP!

  • Host Credentials ERROR Invalid username and or password Oracle 11g

    Hi,
    This error has been bugging me for sometime now and I can't find a straight forward answer anywhere, can you help?
    Oracle 11g on Windows XP SP2 Intel box.
    I am trying to export data and when I'm asked for the Host Credentials I get the error
    " ERROR Invalid username and or password "
    I have tried the following syntax for Username:
    <domain name>\Administrator
    <domain name.local>\Administrator
    <domain name>/Administrator
    <Local host name>\<domain name>\Administrator
    I have gone through making sure that the local security policy settings are correct.
    I have added domain and local Administrator to the ora_dba Group.
    All services relating to Oracle are running.
    I can connect via SQL Plus with no issues.
    I can connect to EM locally and from my client pc with no issues.
    Any ideas, please, can anyone help me?
    I'll gladly furnish you with any info I can to get past this seemingly simple step!
    Regards
    naexpert.

    Trying to understand your reply, here is what I did:
    Created new Windows user called OraAdmin.
    OraAdmin is now member of administrators group and Ora_dba group.
    Logged onto EM at server and used System user logon.
    Data Movement
    Export to Export Files
    Tables
    Host Credentials
    Tried
    OraAdmin - failed
    oracle-11g\OraAdmin - failed
    oracle-11g/OraAdmin - failed
    Don't know what else to do......

Maybe you are looking for

  • Can I get a flash drive recovery Lion

    Can I get a flash drive recovery Lion

  • UTF8 Support

    My platform: Ora 8.1.7 UTF8 Encoded, Portal 3.0, Win 2000 Prof. Enviromental Variable NLS_LANG=AMERICAN_AMERICA.UTF8 owa_util.get_cgi_env('REQUEST_CHARSET') returns UTF8 If I enter for example text "omega" in greek alphabet into the database using po

  • My MacBook Air is broken after Mavericks update!

    After updating my Air to OSX mavericks, my computer has become a lemon. The screen continues to turn off and on at random and putting in passwords has failed multiple times, to the point where i could not log into it because the login button was not

  • Restoring a User Database from External Backup

    It has been a good 8 years since I have had to recover a user database from backup and I just really wanted a verification of what needs to be recovered. Just recently had a user get a C00E error and the analyzer suggested restoring from backups. No

  • Kernel Power 41

    I have this problem since beginning of this year, i don't know more what i need to do, i saw others posts and read about DMP files, my computer  is generating these files, but i just have one, and i cant open this file, because the message  show me