1 Reply Latest reply on Nov 23, 2012 3:19 AM by vansul

    Doubt about emctl resetTZ agent

    Carlos Cortez

      I just have run this command:
      emctl resetTZ agent
      I had to run it because a customer changed the computer's time zone (windows server 2008 R2 64bits) where weblogic 10.3.4 and forms are installed and is unable to start the EMAGENT process. After i run the command i got this message:
      C:\u01\app\oracle\product\Middleware\\asinst_1\EMAGENT\emagent_asinst_1\bin>emctl resetTZ agent
      Oracle Enterprise Manager 10g Release 5 Grid Control
      Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
      Updating C:\u01\app\oracle\product\Middleware\\asinst_1\EMAGENT\emagent_asinst_1/sysman/config/emd.properties...
      Successfully updated C:\u01\app\oracle\product\Middleware\\asinst_1\EMAGENT\emagent_asinst_1/sysman/config/emd.properties.
      Login as the em repository user and run the  script:
      exec mgmt_target.set_agent_tzrgn('forms11gR2:5155','America/Bogota')
      and commit the changes
      This can be done for example by logging into sqlplus and doing
      SQL> exec mgmt_target.set_agent_tzrgn('forms11gR2:5155','America/Bogota')
      SQL> commit
      I'm a little confused, should i execute the above script ?? i mean i do not have a em repository user.
      Also now i am able to start the EMAGENT process without run the above script :)

      Any idea or recommendation ?? :)