How do I create a new emkey for Enterprise Manager Database Control?

Hi,
I just installed 11gR2.
I am evaluating it.
How do I create a new emkey for Enterprise Manager Database Control?
I tried various combinations of this command:
emctl config emkey
I did find a probable bug:
$ emctl config emkey -emkey -emkeyfile emkey.ora -force -sysman_pwd he11ow0rld
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Undefined subroutine &EmKeyCmds::promptUserPasswd called at /u2/app/oracle/product/11.2.0/dbhome_1/bin/EmKeyCmds.pm line 160, <FILE> line 3.
$
Again,
How do I create a new emkey for Enterprise Manager Database Control?
I do have a copy of my old key but it is no longer good because I reinstalled the repository with these commands:
emca -repos drop ...
emca -repos create ...
Oh, and where is emctl "documented".
I poked around in some book-index links and with the search engine.
I could not find anything.
Thanks,
-Janis

user11892726 wrote:
Oh, and where is emctl "documented".
http://download.oracle.com/docs/cd/B16240_01/welcome.html

Similar Messages

  • How to view/ammend jobs in DBA_JOBS using Enterprise Manager (Database Control)

    Dear Gurus,
    We are using Oracle 10gR2 on Widwos OS. We defined couple of jobs using DBMS_JOBS and i can see them using DBA_JOBS view, how can we view/amend these jobs in Enterprise Manager (Database Control)?
    Regards,
    Riaz

    Riaz wrote:
    Dear Gurus,
    We are using Oracle 10gR2 on Widwos OS. We defined couple of jobs using DBMS_JOBS and i can see them using DBA_JOBS view, how can we view/amend these jobs in Enterprise Manager (Database Control)?
    Regards,
    Riaz
    In V10 which is no longer under support DBA_JOBS was superceded  by DBMS_SCHEDULER.
    Why are you dependent upon EM to manage the DB?

  • How do I create a new calendar for the current year, using last years calendar's birthday's/photos and comments from the lower pages?

    Each year for the past 5 years I make a family calendar and send copies to all he family members around the globe.  I hate that I have to recreate all the birthdays and special occasions from scratch, and re-drag all the photos onto these dates, in the lower half of the page of each month on the new calendar.  How can I create a new calendar for the current year and port all of these photos/comments into the new calendar from last years calendar, to save having to redo all this work!!  I am not talking about the upper half page of the photos only...I am referring to the calendar page of each month.
    Thanks in advance. 
    Colin

    Welcome to the Apple Discussions. Open iWeb so you see your original site in the left hand pane. Use the File->New Site menu option to create a new site. Give it the name you want.
    Now select a page in your original site and type Command+D. That will duplicate the page. Drag the duplicate page down to the new site and rename it as needed. Do that for the other pages you need in the original site.
    OT

  • How to configure Enterprise Manager Database Control (EMDC) to make it work on 2 servers working (primary and standby) under DG rules

    Hello everybody i use Oracle Database EE 11.2.0.4 with DG.
    In those cases i need to get Enterprise Manager Database Control running against DB with no RAC and no DG i perform the following steps:
    I Logon SQLPLUS as user SYS or SYSTEM, and drop the sysman account and management objects:
    DECLARE
    CURSOR c1 IS
    SELECT owner, synonym_name name
    FROM dba_synonyms
    WHERE table_owner = 'SYSMAN';
    BEGIN
    FOR r1 IN c1 LOOP
    IF r1.owner = 'PUBLIC' THEN
    EXECUTE IMMEDIATE 'DROP PUBLIC SYNONYM '||r1.name;
    ELSE
    EXECUTE IMMEDIATE 'DROP SYNONYM '||r1.owner||'.'||r1.name;
    END IF;
    END LOOP;
    END;
    DROP USER mgmt_view CASCADE;
    DROP ROLE mgmt_user;
    DROP USER sysman CASCADE;
    After that i run
    emca -config dbcontrol db -repos recreate
    But what should i do in cases i have 2 servers working (primary and standby) under DG rules?

    Hi ,
    It is not possible to monitor/administer a Logical or Physical Standby database, i.e Data Guard, using Enterprise Manager Database Control.  This is primarily due to the fact that Database Control is designed to monitor 1 database and a Data Guard environment, by definition, includes more than 1 database.
    If you attempt to run emca against a standby Database, you will get an error like (i.e. ORA-01219: database not open).
    Database Control, can, of course, be used to monitor the current Primary database (with no ability to administer or monitor Data Guard related functionality).  In such a case, when failover occurs Database Control must be reconfigured to run on the new Primary database using the commands detailed in Note 278100.1 How To Drop, Create And Recreate DB Control In A 10g Database, section C. Recreate/ReConfig DB Control, Option 2. Recreate the DB Control Configuration Files and Repository.
    Enterprise Manager Grid Control or Cloud Control provides the functionality for viewing, monitoring, and administering primary and standby databases in a Data Guard configuration.
    Reference: Is it Possible to Configure Database Control for a Logical or Physical Standby Database? (Doc ID 315116.1)
    You can use EM 12c cloud control to monitor and manager Standby DB effectively
    Ref to below link for details
    Set Up and Manage Oracle Data Guard using Oracle Enterprise Manager Cloud Control 12c
    Regards,
    Rahul

  • Oracle VM and Oracle VM Template for Enterprise Manager Cloud Control 12c M

    Hello!
    After installation of *"Oracle VM 3.1.1 Media Pack v1 for x86_64 (64 bit)"* to bare hardware
    can I install Oracle VM Template for Enterprise Manager Cloud Control 12c Media Pack ?
    Is it the wrong plan ?
    What to do if I need to set VLAN №1 ? (according note of installer I have to choose number between 2 and 4094 )
    Thanks and regards,
    Pavel
    Edited by: Pavel on Jul 30, 2012 5:01 AM

    Yes, you can install Oracle VM Manager, create a server pool with the one parent Oracle VM server in it, and then deploy the Oracle VM template in the pool. Once EM VM is up and running, you can register the same Oracle VM Manager with EM, to manage the pool.
    In general, it is not recommended that you use the OVM server backend directly. But for bootstrapping the EM environment, you can also try the following:
    Download the OVM Template on the Oracle VM server. From the OVM server terminal itself you can do "xm create" to spin a new virtual machine using the Oracle VM teamplate. Once the VM comes up, VNC into the VM and configure the EM OMS and agent.

  • Oracle VM Template for Enterprise Manager Cloud Control 12c Media Pack v1

    Hello
    I download Oracle VM Template for Enterprise Manager Cloud Control 12c Media Pack v1
    I was checking the structure and I found this
    [oracle@em12c bin]$ cd /u01
    [oracle@em12c u01]$ ls
    app lost+found OracleHomes oracle-template.sh scripts
    [oracle@em12c u01]$ cd OracleHomes/
    [oracle@em12c OracleHomes]$ ls
    checkpoints db11g Middleware
    [oracle@em12c OracleHomes]$ pwd
    /u01/OracleHomes
    [oracle@em12c OracleHomes]$ cd db11g/
    [oracle@em12c db11g]$ ls
    admin cfgtoollogs checkpoints diag fast_recovery_area oradata product
    [oracle@em12c db11g]$ cd ..
    [oracle@em12c OracleHomes]$ cd Middleware/
    [oracle@em12c Middleware]$ ls
    [oracle@em12c Middleware]$
    The Database has all binaries but Middleware is empty
    Same body knows about this issue.
    Regards

    Yes, you can install Oracle VM Manager, create a server pool with the one parent Oracle VM server in it, and then deploy the Oracle VM template in the pool. Once EM VM is up and running, you can register the same Oracle VM Manager with EM, to manage the pool.
    In general, it is not recommended that you use the OVM server backend directly. But for bootstrapping the EM environment, you can also try the following:
    Download the OVM Template on the Oracle VM server. From the OVM server terminal itself you can do "xm create" to spin a new virtual machine using the Oracle VM teamplate. Once the VM comes up, VNC into the VM and configure the EM OMS and agent.

  • How Do I Create a New Template for iBooks Author?

    Apple's provided templates are way too narrow for some of the ideas I want to implement. I do not see any real method for creating a template from scratch. I stripped one of the available templates down to nothing and rebuilt some of the pages and then selected Save As Template... but iBooks Author keeps the original template as the content instead of allowing me to use my own created Chapter, Section, and Pages with the Add Pages.. Button.
    How to you create a new template from scratch? I think it is absurd if you can only create a new template from one of the 6 predefined templates.

    Be careful on unlocking and deleting stuff, cause this very easily can destroy the layout and your current arrangement
    About dimensions, If i am not mistaken, i read on another thread that this cannot be happen.

  • How do you create a new account for a family member?

    My daughter and I both have Ipods, and want to setup SEPARATE accounts. Itunes 7 worked great, but now when we 'upgraded' to 8, it MERGED all our files. So I thought I had a separate account, but it turns out when I load a new song, it goes into HER Itunes files. She deleted all my info, and I REALLY want a separate account (that sticks).
    My songs are still in my directory under "Mikes Itunes", but when I reloaded them into what I thought was a fresh entry, it turns out it went into my daughter's Itunes file too! What is up with Itunes 8? and how can you create a TRUE separate account so I have control over MY songs!?

    First, let's make it easier to swap between accounts. In the Accounts pane of System Preferences click on the Login Options (after unlocking the pane). Enable fast user switching. This will put a new menu in the top right of the screen. You can then swap to the other account without having to log out of the current one.
    Log into the original account. Select the folder you want access from the other account and choose Get Info from the file menu. There is a section called Sharing & Permissions. You will need to click on the padlock to make changes. Click on the + to add permissions for the other user account by selecting the user account from list that appears. Set the permission for that account to read only. Once you have it listed then choose the "Apply to enclosed items" from the gear menu below the list. This should give you access from the other account to that folder and any folders contained in it.
    For iTunes you will want to do this to the Music folder, giving you access to the files below. From within iTunes you can select Add to Library from the file menu, and then select the music from the other account to that account's iTunes library. Once you have set up the new library whoever's library is the original can clean up the library to remove any music they don't want (now that it's in the new account).

  • I have itunes on my computer but its my wifes account. how do i create a new account for me?

    i have itunes on my computer but its my wifes account. how do i create a new account?

    I have the same problem,,,any help please ? thnx

  • How do I create a new Folder for each test report based on Serial number?

    I want to be able to create a new folder for each test report based on serial number. Each time a UUT is tested, I want the report to go to the appropriate folder. What is the best way to do this?
    Thanks

    Hello Tman,
    This is a slightly tricky question. The reason being, the report options like the report path etc, are set before you see the serial number prompt when you run your UUT. There might be other ways of getting around this, but a quick solution would be modifying the process model.
    I modified the PreUUT callback to set the report options. I passed the reportOptions as a parameter to this sequence. In the PreUUT sequence, I set the following fields:
    Parameters.ReportOptions.GeneratePath=False
    Parameters.ReportOptions.ReportFilePath= "c:\\"+ Locals.SerialNumber +"\\report.xml"
    I hope this would give you an idea.
    SijinK

  • How can I create a new OC4J Instance in Application Server Control

    Hi All,
    Is there any way to create a new OC4J Instance in Application Server Control of installed SOA Suite, so that it gets listed in Cluster Topology page.
    Thanks
    Krrish

    Hi Eric,
    Thanks for the reply.
    it is pretty simple..which I didnt try earlier..
    Thanks
    Krrish

  • Need to add a new ipod touch to itunes but want to create entire new account ... how do i create a new account for itunes in another person's name and link the libraries?

    I have 4 devices ... currently 3 of the are all attached to my personal itunes/email account.  Just got another device - ipod touch 5 - that is my son's and I want for him to have his own account so that we are no longer sharing text messages, contacts, etc.
    I want to create a new itunes account for me but still be able to share my music library with him.  How do I do this?  appreciate the help.

    See:
    MacMost Now 653: Setting Up Multiple iOS Devices For Messages and FaceTime
    You will not have a phone number, only an email address.
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage

  • How do I create a new tag for bookmarks in the new beta version?

    I was easily able to create a new tag with previous versions of Firefox.

    There shouldn't be any differences with creating tags in the Firefox 4 beta version?
    How are you trying to create tags?
    See also:
    *[[Bookmark Tags]]

  • How do I create a new window for the iTunes store?

    Hi,
    I have the latest iTunes update on a Windows PC, but I can't seem to open any new windows for the iStore like you used to be able to, so you have to come out of your iTunes library (annoying if you want to check that you haven't already purchased a song you're looking at etc.).
    Please tell me there is a fix (easy or difficult) for this!!
    Matt
    P.s. I have the latest iTunes update.
    PLEASE HELP!!!!

    Reboot the ATV and try it again. If it still won't play correctly, find the file in your iTunes store purchase history, click on the "Report a Problem" link, and report it to iTunes store support.

  • How can I create a new table in a MySQL database in MVC 5

    I have an MVC 5 app, which uses MySQL hosted in Azure as a data source. The point is that inside the database, I want to create a new table called "request". I have already activated migrations for my database in code. I also have the following
    code in my app.
    Request.cs: (inside Models folder)
    public class Request
    public int RequestID { get; set; }
    [Required]
    [Display(Name = "Request type")]
    public string RequestType { get; set; }
    Test.cshtml:
    @model Workfly.Models.Request
    ViewBag.Title = "Test";
    <h2>@ViewBag.Title.</h2>
    <h3>@ViewBag.Message</h3>
    @using (Html.BeginForm("SaveAndShare", "Home", FormMethod.Post, new { enctype = "multipart/form-data" }))
    @Html.AntiForgeryToken()
    <h4>Create a new request.</h4>
    <hr />
    @Html.ValidationSummary("", new { @class = "text-danger" })
    <div class="form-group">
    @Html.LabelFor(m => m.RequestType, new { @class = "col-md-2 control-label" })
    <div class="col-md-10">
    @Html.TextBoxFor(m => m.RequestType, new { @class = "form-control", @id = "keywords-manual" })
    </div>
    </div>
    <div class="form-group">
    <div class="col-md-offset-2 col-md-10">
    <input type="submit" class="btn btn-default" value="Submit!" />
    </div>
    </div>
    @section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    HomeController.cs:
    [HttpPost]
    public ActionResult SaveAndShare(Request request)
    if (ModelState.IsValid)
    var req = new Request { RequestType = request.RequestType };
    return RedirectToAction("Share");
    The point is that, I want the user to fill the form inside the Test view and click submit, and when the submit is clicked, I want a new entry in the new table to be created. But first of course I need to create the table. Should I create it using SQL query
    through MySQL workbench? If yes, then how can I connect the new table with my code? I guess I need some DB context but don't know how to do it. If someone can post some code example, I would be glad.
    UPDATE:
    I created a new class inside the Models folder and named it RequestContext.cs, and its contents can be found below:
    public class RequestContext : DbContext
    public DbSet<Request> Requests { get; set; }
    Then, I did "Add-Migration Request", and "Update-Database" commands, but still nothing. Please also note that I have a MySqlInitializer class, which looks something like this:
    public class MySqlInitializer : IDatabaseInitializer<ApplicationDbContext>
    public void InitializeDatabase(ApplicationDbContext context)
    if (!context.Database.Exists())
    // if database did not exist before - create it
    context.Database.Create();
    else
    // query to check if MigrationHistory table is present in the database
    var migrationHistoryTableExists = ((IObjectContextAdapter)context).ObjectContext.ExecuteStoreQuery<int>(
    string.Format(
    "SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = '{0}' AND table_name = '__MigrationHistory'",
    // if MigrationHistory table is not there (which is the case first time we run) - create it
    if (migrationHistoryTableExists.FirstOrDefault() == 0)
    context.Database.Delete();
    context.Database.Create();

    Hello Toni,
    Thanks for posting here.
    Please refer the below mentioned links:
    http://azure.microsoft.com/en-us/documentation/articles/web-sites-dotnet-deploy-aspnet-mvc-app-membership-oauth-sql-database/
    http://social.msdn.microsoft.com/Forums/en-US/3a3584c4-f45f-4b00-b676-8d2e0f476026/tutorial-problem-deploy-a-secure-aspnet-mvc-5-app-with-membership-oauth-and-sql-database-to-a?forum=windowsazurewebsitespreview
    I hope that helps.
    Best Regards,
    Sadiqh Ahmed

Maybe you are looking for