4 Replies Latest reply: Apr 9, 2013 4:31 PM by User510685-OC RSS

    Sysman Password Change

    User510685-OC
      I was wondering if someone might be able to point in the right direction because frankly at this point I'm rather stumped. We recently installed a new OEM 12C system and for some reason the sysman password which was set at the installation doesn't seem to be working. So I then decided to change the sysman password as follows. First, I used emctl to stop oms - then I ran enctl config oms -change_repos_pwd as shown below - it appears that the command ran without any issues - I then ran emctl stop oms -all followed by emctl start oms - so far so good. However, if I attempt to use a emcli login to the sysman using the password I just set I Login failed - I have tired a number of passwords with the same result and the emcli is running on the Linux server where the OEM 12C is running. While I didn't see a entry for OEM 12C - I think these are the correct steps based on Note 1274664.1 How to change SYSMAN password for 11g Grid Control if the old password is lost

      Thanks,
      Dennis

      oracle@slpmoeml01:EMREP12C:/u01/app/oracle/Middleware/oms12c/oms/bin$ emctl stop oms
      Oracle Enterprise Manager Cloud Control 12c Release 2
      Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
      Stopping WebTier...
      WebTier Successfully Stopped
      Stopping Oracle Management Server...
      Oracle Management Server Successfully Stopped
      Oracle Management Server is Down
      oracle@slpmoeml01:EMREP12C:/u01/app/oracle/Middleware/oms12c/oms/bin$ ./emctl config oms -change_repos_pwd -use_sys_pwd -sys_pwd XXXXXX -new_pwd newpassword
      Oracle Enterprise Manager Cloud Control 12c Release 2
      Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.

      Changing passwords in backend ...
      Passwords changed in backend successfully.
      Updating repository password in Credential Store...
      Successfully updated Repository password in Credential Store.
      Restart all the OMSs using 'emctl stop oms -all' and 'emctl start oms'.
      Successfully changed repository password.

      oracle@slpmoeml01:EMREP12C:/u01/app/oracle/Middleware/oms12c/oms/bin$ emctl stop oms -all
      Oracle Enterprise Manager Cloud Control 12c Release 2
      Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
      Stopping WebTier...
      WebTier Successfully Stopped
      Stopping Oracle Management Server...
      Oracle Management Server Already Stopped
      AdminServer Successfully Stopped
      Oracle Management Server is Down

      oracle@slpmoeml01:EMREP12C:/u01/app/oracle/Middleware/oms12c/oms/bin$ emctl start oms
      Oracle Enterprise Manager Cloud Control 12c Release 2
      Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
      Starting Oracle Management Server...
      Oracle Management Server Already Stopped
      AdminServer Successfully Stopped
      Oracle Management Server is Down
      oracle@slpmoeml01:EMREP12C:/u01/app/oracle/Middleware/oms12c/oms/bin$ emctl start oms
      Oracle Enterprise Manager Cloud Control 12c Release 2
      Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
      Starting Oracle Management Server...
      Starting WebTier...
      WebTier Successfully Started
      Oracle Management Server Successfully Started
      Oracle Management Server is Up
      oracle@slpmoeml01:EMREP12C:/u01/app/oracle/Middleware/oms12c/oms/bin$

      oracle@slpmoeml01:EMREP12C:/u01/app/oracle/Middleware/oms12c/oms/bin$ emcli login -username=sysman -password=newpassword
      Error: Login failed
        • 1. Re: Sysman Password Change
          hm360
          Hello
          Please see the statement of [ID 1365930.1].
          • 2. Re: Sysman Password Change
            Smitha-Oracle
            As clarified by the previous user, 12c specific note is 1365930.1.

            - Are you able to login to the Cloud console ui using the new password?
            - Also verify whether the new password is accepted in this command:

            emctl status oms -details
            • 3. Re: Sysman Password Change
              User510685-OC
              Unless I'm really missing it - the steps listed in what I did to change the password are the same as listed in the 1365930.1. Using the new password I'm still not able to log into the console nor can I log into emcli. However, I'm able to use the new password with the command emctl status oms -details:

              oracle@slpmoeml01:EMREP12C:/u01/app/oracle/Middleware/oms12c/oms/bin$ ./emctl status oms -details
              Oracle Enterprise Manager Cloud Control 12c Release 2
              Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
              Enter Enterprise Manager Root (SYSMAN) Password :
              Console Server Host : slpmoeml01.unix.magellanhealth.com
              HTTP Console Port : 7788
              HTTPS Console Port : 7802
              HTTP Upload Port : 4889
              HTTPS Upload Port : 4903
              EM Instance Home : /u01/app/oracle/Middleware/oms12c/gc_inst/em/EMGC_OMS1
              OMS Log Directory Location : /u01/app/oracle/Middleware/oms12c/gc_inst/em/EMGC_OMS1/sysman/log
              OMS is not configured with SLB or virtual hostname
              Agent Upload is locked.
              OMS Console is locked.
              Active CA ID: 1
              Console URL: https://slpmoeml01.unix.magellanhealth.com:7802/em
              Upload URL: https://slpmoeml01.unix.magellanhealth.com:4903/empbs/upload

              WLS Domain Information
              Domain Name : GCDomain
              Admin Server Host: slpmoeml01.unix.magellanhealth.com

              Managed Server Information
              Managed Server Instance Name: EMGC_OMS1
              Managed Server Instance Host: slpmoeml01.unix.magellanhealth.com
              WebTier is Up
              Oracle Management Server is Up
              • 4. Re: Sysman Password Change
                User510685-OC
                I was able to correct the problem after I found 1493151.1 Login to Console Fails With "Authentication failed". There are two cases documented which might cause this problem a Upgrade to OEM 12C; however this was a out of the box install. The second case deals with job_queue_processes value - the fix was to

                1. Execute the following queries in repository DB:
                SQL> update mgmt_audit_master set prepopulate_days=5 where prepopulate_days is null;
                SQL> exec mgmt_audit_admin.add_audit_partition;

                2. Restart the OMS:

                ./emctl stop oms -all

                ./emctl start oms

                After doing so I was able to login into the console and also run emcli.

                Dennis