{"id":3202,"date":"2012-10-10T11:20:18","date_gmt":"2012-10-10T15:20:18","guid":{"rendered":"https:\/\/pitss.org\/us\/2012\/10\/10\/resetting-the-ods-password-for-oid-and-oam\/"},"modified":"2017-07-10T15:01:28","modified_gmt":"2017-07-10T19:01:28","slug":"ods-password-reset","status":"publish","type":"post","link":"https:\/\/pitss.org\/us\/2012\/10\/10\/ods-password-reset\/","title":{"rendered":"Resetting the ODS Password for OID and OAM"},"content":{"rendered":"<p class=\"MsoNormalCxSpMiddle\" style=\"line-height: normal\"><span style=\"font-size: 12pt\">Oracle passwords usually expire after a number of days. There is a known situation where the ODS password used for all OID functionality can expire after so many days. If you run into a situation where your server with OID\/OAM had to be restarted due to applying a patch, power outage, etc. and all login attempts to your application can result in failing with \u201cInvalid username or password\u201d resulting in a showstopping situation. To resolve this problem, an ODS password reset will be required as the OID processes cannot start up until the schema&#8217;s password is reset.<\/span><\/p>\n<p class=\"MsoNormalCxSpMiddle\" style=\"line-height: normal\"><span style=\"font-size: 12pt\">When this happens, if you check OPMN for your OID Oracle Instance, it should show that everything associated with the process \u201coid1\u201d is either in a \u201cDown\u201d or \u201cStop\u201d state.<\/span><\/p>\n<p class=\"MsoNormalCxSpMiddle\" style=\"line-height: normal\"><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2012\/10\/clip_image001.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 0px;padding-left: 0px;padding-right: 0px;padding-top: 0px;border-width: 0px\" title=\"clip_image001\" src=\"https:\/\/pitss.org\/files\/2012\/10\/clip_image001_thumb.png\" alt=\"clip_image001\" width=\"641\" height=\"172\" border=\"0\" \/><\/a><\/p>\n<p class=\"MsoNormalCxSpMiddle\" style=\"line-height: normal\"><span style=\"font-size: 12pt\">\u00a0<\/span><\/p>\n<p class=\"MsoNormalCxSpMiddle\" style=\"line-height: normal\"><span style=\"font-size: 12pt\">Also, if you look in %OID_ORACLE_INSTANCE%\\diagnostics\\logs\\OID\\oid1 at the bottom of the file \u201coidmon-0000.log\u201d, you will notice the following:<\/span><\/p>\n<p class=\"MsoNormalCxSpMiddle\" style=\"line-height: normal\"><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2012\/10\/clip_image00310.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 0px;padding-left: 0px;padding-right: 0px;padding-top: 0px;border-width: 0px\" title=\"clip_image003\" src=\"https:\/\/pitss.org\/files\/2012\/10\/clip_image003_thumb8.jpg\" alt=\"clip_image003\" width=\"624\" height=\"78\" border=\"0\" \/><\/a><\/p>\n<p class=\"MsoNormalCxSpMiddle\" style=\"line-height: normal\"><span style=\"font-size: 12pt\">\u00a0<\/span><\/p>\n<p class=\"MsoNormalCxSpLast\" style=\"line-height: normal\"><span style=\"font-size: 12pt\">This means that the root cause proves that ODS needs to have its password reset. You can use the following steps to do this:<\/span><\/p>\n<p class=\"MsoListParagraphCxSpFirst\" style=\"line-height: normal;text-indent: -0.25in;margin: 0in 0in 0pt 0.5in\">1.<span style=\"line-height: normal\"><span style=\"font-size: 7pt\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span>Go to %OID_ORACLE_INSTANCE%\\bin and run \u201copmnctl stopall\u201d to stop OPMN for OID.<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;margin: 0in 0in 0pt 0.5in\">Example: cd D:\\Oracle\\Middleware\\oid_inst_1\\bin, opmnctl stopall<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;text-indent: -0.25in;margin: 0in 0in 0pt 0.5in\">2.<span style=\"line-height: normal\"><span style=\"font-size: 7pt\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span>Log into sqlplus using the ods user (sqlplus ods\/ods_password@db_name)<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;margin: 0in 0in 0pt 0.5in\">Example: sqlplus ods\/password@orcl<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;margin: 0in 0in 0pt 0.5in\"><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2012\/10\/clip_image0041.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 0px;padding-left: 0px;padding-right: 0px;padding-top: 0px;border-width: 0px\" title=\"clip_image004\" src=\"https:\/\/pitss.org\/files\/2012\/10\/clip_image004_thumb1.png\" alt=\"clip_image004\" width=\"527\" height=\"79\" border=\"0\" \/><\/a><\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;text-indent: -0.25in;margin: 0in 0in 0pt 0.5in\">3.<span style=\"line-height: normal\"><span style=\"font-size: 7pt\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span>When logging in, you should see the ORA-28002 error appear. However, you will still connect without failure.<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;margin: 0in 0in 0pt 0.5in\"><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2012\/10\/clip_image005.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 0px;padding-left: 0px;padding-right: 0px;padding-top: 0px;border-width: 0px\" title=\"clip_image005\" src=\"https:\/\/pitss.org\/files\/2012\/10\/clip_image005_thumb.png\" alt=\"clip_image005\" width=\"638\" height=\"191\" border=\"0\" \/><\/a><\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;text-indent: -0.25in;margin: 0in 0in 0pt 0.5in\">4.<span style=\"line-height: normal\"><span style=\"font-size: 7pt\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span>Change the password for ods to the same password from before: alter user ods identified by ods_password;<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;margin: 0in 0in 0pt 0.5in\">Example: alter user ods identified by password;<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;margin: 0in 0in 0pt 0.5in\"><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2012\/10\/clip_image0061.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 0px;padding-left: 0px;padding-right: 0px;padding-top: 0px;border-width: 0px\" title=\"clip_image006\" src=\"https:\/\/pitss.org\/files\/2012\/10\/clip_image006_thumb1.png\" alt=\"clip_image006\" width=\"368\" height=\"27\" border=\"0\" \/><\/a><\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;text-indent: -0.25in;margin: 0in 0in 0pt 0.5in\">5.<span style=\"line-height: normal\"><span style=\"font-size: 7pt\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span>If successful, it should say \u201cUser altered\u201d which means that the password has been updated.<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;margin: 0in 0in 0pt 0.5in\"><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2012\/10\/clip_image0071.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border-width: 0px\" title=\"clip_image007\" src=\"https:\/\/pitss.org\/files\/2012\/10\/clip_image007_thumb1.png\" alt=\"clip_image007\" width=\"390\" height=\"72\" border=\"0\" \/><\/a><\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;text-indent: -0.25in;margin: 0in 0in 0pt 0.5in\">6.<span style=\"line-height: normal\"><span style=\"font-size: 7pt\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span>Repeat steps 2-5 for the following users:<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;text-indent: -0.25in;margin: 0in 0in 0pt 1in\">a.<span style=\"line-height: normal\"><span style=\"font-size: 7pt\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span>ODSSM<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;text-indent: -0.25in;margin: 0in 0in 0pt 1in\">b.<span style=\"line-height: normal\"><span style=\"font-size: 7pt\">\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span>DEV_OAM<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;text-indent: -0.25in;margin: 0in 0in 0pt 1in\">c.<span style=\"line-height: normal\"><span style=\"font-size: 7pt\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span>DEV_IAU<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;margin: 0in 0in 0pt 1in\">NOTE: The passwords for the above three users will be the same as ODS<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;margin: 0in 0in 0pt 1in\">NOTE: If the password has expired, you will be required to type in a password. You may use the same password from before.<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;text-indent: -0.25in;margin: 0in 0in 0pt 0.5in\">7.<span style=\"line-height: normal\"><span style=\"font-size: 7pt\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span>Start up OPMN for OID (opmnctl startall)<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;margin: 0in 0in 0pt 0.5in\">Example: cd D:\\Oracle\\Middleware\\asinst_idm\\bin, opmnctl startall<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;text-indent: -0.25in;margin: 0in 0in 0pt 0.5in\">8.<span style=\"line-height: normal\"><span style=\"font-size: 7pt\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span>Verify with opmnctl status that everything is in an \u201cAlive\u201d state.<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;text-indent: -0.25in;margin: 0in 0in 0pt 0.5in\">9.<span style=\"line-height: normal\"><span style=\"font-size: 7pt\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span>Start up the WebLogic servers for OID and OAM. They should start up without error.<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"line-height: normal;text-indent: -0.25in;margin: 0in 0in 0pt 0.5in\">10.<span style=\"line-height: normal\"><span style=\"font-size: 7pt\">\u00a0\u00a0 <\/span><\/span>You should be able to successfully log into the SSO-protected application.<\/p>\n<p class=\"MsoNormal\" style=\"line-height: normal;margin: 0in 0in 10pt\">NOTE: The ODS user should have sufficient privileges to change its own password. If for some strange reason in step 4 that you get an \u201cInsufficient privileges\u201d error, I would repeat steps 1-4 except you should log in with a sysdba user (sys for example).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oracle passwords usually expire after a number of days. There is a known situation where the ODS password used for all OID functionality can expire after so many days. If you run into a situation where your server with OID\/OAM had to be restarted due to applying a patch, power outage, etc. and all login [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[94,14,19,10],"tags":[11,16,12,47,52,27],"class_list":["post-3202","post","type-post","status-publish","format-standard","hentry","category-access-management","category-resolve-issues","category-unix-linux","category-windows","tag-11g","tag-11gr2","tag-error","tag-oam","tag-oid","tag-oracle-database"],"_links":{"self":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/3202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/comments?post=3202"}],"version-history":[{"count":6,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/3202\/revisions"}],"predecessor-version":[{"id":9592,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/3202\/revisions\/9592"}],"wp:attachment":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/media?parent=3202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/categories?post=3202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/tags?post=3202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}