RSS

How to reset the lost Weblogic Admin User password?

15 Oct

You installed OBIEE 11G and you did not write down the Weblogic Domain admin password, or you’ve had it installed for a while and can’t remember what the password is to get into the WebLogic Admin console to make a change. This post will help you do that so you can get on with your business.

1. Make sure all the services are down

2. change directory to <Middleware_Home>\user_projects\domains\bifoundation_domain\bin

cd <Middleware_Home>\user_projects\domains\bifoundation_domain\bin

3. Source the setDomainEnv.cmd(Windows) / setDomainEnv.sh (Linux) script so we can get all the WebLogic variables set correctly

In windows: setDomainEnv.cmd

In Linux: . setDomainEnv.sh

4. Now change the directory to security directory in your instance.

cd <Middleware_Home>\user_projects\domains\bifoundation_domain\security

5. Move the DefaultAuthenticatorInit.ldift to a backup file

In Windows:

mv DefaultAuthenticatorInit.ldift DefaultAuthenticatorInit_old.ldift

In Linux:

mv DefaultAuthenticatorInit.ldift DefaultAuthenticatorInit_old.ldift

6. Run the “java weblogic.security.utils.AdminAccount newuser newpassword .” to generate a new DefaultAuthenticatorInit.ldift with a new user with the assigned password within the security directory

eg: java weblogic.security.utils.AdminAccount weblogic weblogic123 .

Note: replace newuser and newpassword with a user and password of your choosing. Ensure the password is a minimum of 8 characters and contains at least one numeric character. Also, don’t forget the period “.” at the end of the above command, it is required.

7. Change directory to <Middleware_Home>\user_projects\domains\bifoundation_domain\servers\AdminServer\security

cd <Middleware_Home>\user_projects\domains\bifoundation_domain\servers\AdminServer\security\

8. Edit the boot.properties file and replace newpassword and newusername with the user and password you defined in step 6. Do this for all the servers in the domain.

password=newpassword

username=newusername

The boot.properties will get encrypted once the admin server starts up

9. Rename or remove directory <Middleware_Home>\user_projects\domains\bifoundation_domain\servers\AdminServer\data\ldap as it will get recreated once the WebLogic Admin server starts.

e.g:

rename <Middleware_Home>\user_projects\domains\bifoundation_domain\servers\AdminServer\data\ldap <Middleware_Home>\user_projects\domains\bifoundation_domain\servers\AdminServer\data\ldap_OLD

10. Change directory to <Middleware_Home>\user_projects\domains\bifoundation_domain\bin and start the Weblogic Admin Server

In Windows: startWebLogic.cmd

In Linux:  ./ startWebLogic.sh

11. Once the weblogic server is up, you’ll be able to login to Console with the new weblogic Admin user and password.

 

Thanks,

Shiva

 
36 Comments

Posted by on October 15, 2012 in BI Publisher, OBI EE, OBIEE 11g, Weblogic

 

Tags: , , , , , , , , , , , , , , , , , , , , ,

36 responses to “How to reset the lost Weblogic Admin User password?

  1. Nishith Coomar

    November 12, 2012 at 5:19 am

    I am getting “Force Shutdown” when trying to restart after doing the above step on SOA 11.116

     
  2. bishwajeet24x7

    January 9, 2013 at 10:29 am

    hi thanks for the post. I have one query. If i forget the rpd password,
    How will i reset the rpd password in Obiee11g ?

     
  3. Mayor

    January 31, 2013 at 10:46 am

    I am getting “Force Shutdown” when trying to restart after doing the above steps also

     
  4. masthan

    February 3, 2013 at 9:27 pm

    E:\OBIEE\user_projects\domains\bifoundation_domain\security>java weblogic.securi
    ty.utils.AdminAccount weblogic Admin123.
    Error: Invalid arguments

    when iam trying to change paaword to the weblogic server it will throgh the error

     
    • Piotr Tokarski

      May 15, 2013 at 8:31 am

      You have to remember about space before dot
      E:\OBIEE\user_projects\domains\bifoundation_domain\security>java weblogic.securi
      ty.utils.AdminAccount weblogic Admin123 .

       
      • raghavendra

        May 11, 2015 at 6:23 pm

        yes i agree 🙂
        i did not gave space after username password before dot and got some error : invalid arguments.

         
  5. venkat

    February 13, 2013 at 8:23 pm

    HI Siva,

    I tried this, and I am able to login into the console and em. But the BI services are not coming up .. any inputs..

    Thanks
    Venkat

     
  6. Praveen

    April 2, 2013 at 6:41 am

    It’s very good post, Could able to proceed further with out de installing OBIEE11g.
    Thank you.

    Praveen.

     
  7. Get Twitter User Data Back

    May 6, 2013 at 11:15 pm

    Awesome issues here. I’m very satisfied to peer your article. Thanks a lot and I’m
    looking ahead to contact you. Will you kindly drop me a e-mail?

     
  8. Susan

    May 19, 2013 at 11:11 pm

    Thank you a bunch for sharing this with all folks you really recognise what you’re talking approximately! Bookmarked. Kindly also talk over with my website =). We can have a hyperlink change arrangement between us

     
  9. malli

    August 2, 2013 at 2:42 pm

    Hi Thanks for your post it is very useful it helped me to rest my forgotten password by following above steps

     
  10. senthil

    August 6, 2013 at 2:51 pm

    Thanks for sharing the information. It helped me to reset my Weblogic admin / console password

     
  11. Nalini

    September 12, 2013 at 2:12 pm

    Thank you very much!! You saved me a lot of work today. I am writing down my password this time!! 🙂

     
  12. prashanth

    October 24, 2013 at 1:13 pm

    i am able to login to em and console with weblogic uid, But i am not able to login to analytics application through weblogic uid and also none of the LDAP users are also. Can you help me in fixing this raised an SR in oracle but a chain of mails are been circulated from the past 2 weeks but still now no progress

     
  13. yoonas

    December 1, 2013 at 8:18 am

    Thank you very much for sharing your knowledge to save everybody’s time.

     
  14. naveen

    January 5, 2014 at 6:58 pm

    i am very happy with this tutorial…i suffering from two days….thanks alot….i solved…..

     
  15. Kumar

    February 6, 2014 at 7:26 pm

    it works!!!!! thank you. it saves lot of time for me!!

     
  16. chakaradhar T

    February 11, 2014 at 11:59 am

    Very good article. It helped me resolve this issue. Thanks!!

     
  17. praveenraj

    March 4, 2014 at 6:19 am

    Thank you very much

     
  18. Abhishek

    April 25, 2014 at 6:47 am

    Awesome…I followed step by step and boom everything is in order. Thank you. Great post. Will surely recommend…

     
  19. Varaprasad

    July 6, 2014 at 6:09 am

    Very good article….
    Helped me to rest my forgotten password by following above steps…:)

     
  20. Milind

    July 29, 2014 at 9:38 pm

    Perfect , thanks for this post, was able to login finally 🙂

     
  21. CK

    September 10, 2014 at 9:00 am

    Hi Shiva,

    I’ma ble to login with Weblogic user and password to EM and Console but With Administrator user i’m not able to login to BI answers and RPD on Online.

    We’ve enabled SSL on the existing DEV machine, and restarted entire BI Domain, Then URL pointing to new SSL port 9804. Intially port is 9704.
    I’m able to see login page,of dashboards, but when I’m entering Administrator and its passwords I’m not able to login.
    In Console, i’ve changes the Administrator USER pass word and restarted Services from EM, but still I’m not able to login BI Answers and RPD.

    Regards,
    CK

     
    • Mams

      January 27, 2015 at 3:51 pm

      HI Shiva,
      I have the same issue, Console and EM login are success, but unable to login to answers. It seems the user Ldap Bind is not accessible, because I obsrve BI Group as BIAdministrators has disapear. Let me know if you solve the issue.

      Regards,
      MS

       
  22. Manish Bharade

    September 23, 2014 at 12:31 pm

    Thanks a ton mate

     
  23. Ash

    November 18, 2014 at 2:48 am

    Hi shiva,
    When i try to create new user/password for web logic console i get followi error

    D:\ALIGNE\ApplicationServer\middleware\wlserver_10.3\user_projects\domains\ALIGNE\security> java weblogic.security.utils.AdminAcc
    unt weblogic weblogic123
    Exception in thread “main” java.lang.NoClassDefFoundError: weblogic/security/utils/AdminAccount
    Caused by: java.lang.ClassNotFoundException: weblogic.security.utils.AdminAccount
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    Could not find the main class: weblogic.security.utils.AdminAccount. Program will exit.

    D:\ALIGNE\ApplicationServer\middleware\wlserver_10.3\user_projects\domains\ALIGNE\security>

    obviously because i dont have such util.

    could you help me out here?

    Thanks,
    Ash

     
  24. pampanasatyanarayana

    November 25, 2014 at 6:38 am

    Reblogged this on HelpEzee.

     
  25. Kalyan

    March 30, 2015 at 12:45 pm

    Hello Sir,
    i am Getting Error “Could not find or load main class weblogic.security.utils.AdminAccount

    tell me how to resolve it and change the password details ..pls.

     
  26. Malar

    April 30, 2015 at 6:23 am

    weblogic is not starting after these changes.

     
  27. raghavendra

    May 11, 2015 at 6:19 pm

    Hi shiva,
    thank you for the steps it worked 🙂

     
  28. Alessandro

    July 15, 2015 at 2:56 pm

    Worked perfectly for me. Thx

     
  29. ramesh516390

    October 1, 2015 at 7:47 am

    Excellent solution , thanks for the simple and very useful article

     
  30. iswarya

    November 6, 2015 at 6:42 am

    Hi,

    I dont want to change console and em password but just want to change weblogic password for analytics.Is that possible?

    I have not forgotten the password ,i just want to change it due to security reasons.

    Iswarya

     

Leave a comment