[ORACLE]ORA-28002 The password will expire within 7 days.將不能登入系統

來源:互聯網
上載者:User

標籤:log   錯誤   登入系統   dba   can   idt   day   如何   vtp   

錯誤“ORA-28002 The password will expire within 7 days.  Cannot logon to the database“當在進程調度器上運行AE程式可能遇到這個錯誤,很多時候這個錯誤並不僅僅在進程調度器中出現,還有可能會在使用plsql developer或sqlplus訪問資料庫時候。

遇到這樣的錯誤是因為ConnectID賬戶或SYSADM賬戶在DBA_USERS表中已經到期,在11g以前版本這個問題從沒出現過,因為賬戶設定的永不到期,在11g以後的版本,他們被hardcoded為有效期間189天。

如何解決“ORA-28002 The password will expire within 7 days. Cannot logon to the database”

按照以下步驟解決問題:

1、使用system帳號登入資料庫(不是sysadm)

2、

SQL> select account_status, profile from dba_users where username=’the PeopleSoft ConnectID’;
SQL> select account_status, profile from dba_users where username=’sysadm’;

3、用以下語句修改。

SQL>ALTER PROFILE <Profile value from step 2> LIMIT PASSWORD_LIFE_TIME UNLIMITED;

4、使用sqlplus登入到資料庫並使用以下命令改密碼。

SQL>ALTER USER <PeopleSoft ConnectID> IDENTIFIED BY <current ConnectID password>;
SQL>ALTER USER SYSADM IDENTIFIED BY <current SYSADM password>;

如果感到對您有協助沒準兒你就會讚賞,iOS 專用讚賞通道:

[ORACLE]ORA-28002 The password will expire within 7 days.將不能登入系統

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.