Can I reconfigure/reinstall em for dbconsole

I moved my database from one server to another. The database move was smooth but I couldn't use my dbconsole. It complained about the emkey.ora. I copied the emkey.ora from the old server to the new server but it seems the em repository has data for the old server so even though I connected to the correct host the screen is displaying the old hostname.
Can I reconfigure or reinstall em?

oracle@bcm-laptop:~$ emctl config
TZ set to US/Pacific-New
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
Usage ::
  emctl config console <fileloc> [<EM loc>]
      where <fileloc> contains config entries.
  emctl config [agent] addtarget [-f|-force] <fileloc> [<EM loc>]
      where <fileloc> contains a definition of target to add,
      and where -f or -force allows to overwrite an existing target.
      If -f or -force is not specified, existing targets cannot be overwritten.
  emctl config [agent] addtargets [-f|-force] <fileloc> [<EM loc>]
      where <fileloc> contains a definition of targets to add
      and where -f or -force allows to overwrite existing targets.
      If -f or -force is not specified, existing targets cannot be overwritten.
  emctl config [agent] modifytarget <fileloc> [<EM loc>]
      where <fileloc> contains a new definition of target to modify
  emctl config [agent] deletetarget <type> <name> [<EM loc>]
      where <type>,<name> specify target type and name to delete
  emctl config [agent] listtargets  [<EM loc>]
      lists all targets present in targets.xml
  emctl config [agent] listcentralagents [<EM loc>]
      lists the central agents this home is associated with
  emctl config [agent] addcentralagent <centralAgentHomePath> [<EM loc>]
      associates this home with a new central agent
  emctl config [agent] removecentralagent <centralAgentHomePath> [<EM loc>]
      removes the association of this home with a central agent
  emctl config [agent] setcentralagents <centralAgent1> [<centralAgent2> ...]
      sets the list of central agents this home is associated with
  emctl config agent addTargetsToRepository <uploadFile> <update_on_dup (true | false)>
      uploadFile contains definition for targets
      update_on_dup decides whether updating duplicate targets
      This function is for central agent
  <EM loc> is optional and can be used to operate on a different Oracle Home.
  The centralagent commands do not apply in a agent-only home.
Can I reconfigure or reinstall em?Yes, reconfigure

Similar Messages

Maybe you are looking for

  • Multiple users accessing entity bean with same PK

    Hi, Some body please clarify the below issue. (EJB 1.1, WAS3.5) I have two app servers and two clones each clone is running in each app server. Stateful session bean access Entity beans to update/read record in the database. According to my requireme

  • Passing Invoice Payment in Consolidation Scenario

    Hello, I'm writing an scenario for consolidation more Business One Companies in one HQ Company. I'have no problem with BP, and Invoice but a question is: If I want pass Incoming/Outgoing Payment referring some AP or AR Invoivces, how can I close the

  • Unable to Connect Windows 7 machine to the Accesspoint. Windows XP machine working good

    I have Cisco 1140 AP which I have configured as WPA2-AES encryption.To get maximum throughtput I shutdown 2.4 GHz interface and transmitting signal only on 5 GHz and channel width is 40 MHz.I am not broadcasting SSID Now when I connect two windows XP

  • Issue in BAPI_ACC_DOCUMENT_REV_CHECK

    Hi Experts! When I try to reverse a FI document with document no (9100000451) in company code 005 in my code by calling the BAPI BAPI_ACC_DOCUMENT_REV_CHECK and BAPI_ACC_DOCUMENT_REV_POST, its gives an error saying  'Reversal in component General Led

  • Is there a bug related to inline power of 3550?

    Hi: We are using the inline-power function of some WS-C3550-24PWR-EMI to power on some aironet 1230 APs. There are less than 5 APs on one 3550 usually. For unknown reason, those 3550s keep shutting down those FE interfaces connected by APs. We can do