본문 바로가기

Error

[오라클Error] ORA-28011: the account will expire soon; change your password now / 오라클 DB링크 패스워드 만료 해결

728x90

 

ORA-28011: the account will expire soon; change your password now

오라클 DB link 조회할 때 발생한 에러오라클 패스워드가 만료되었을 때 해결방법을 알아보자!


 원인

디비링크를 통해 데이터를 수신 받는 구문이 있는데 계정이 곧 만료되어 패스워드를 바꿔야 한다는 메시지가 떴다.

ORA-04052: 원격 객체 GGOYOTABLE.GGOYO_SEQNO@DBLINKNAME을(를) 찾는 동안 오류발생
ORA-00604: 순환 SQL 레벨 1 에 오류가 발생했습니다
ORA-28011: the account will expire soon; change your password now

 

 

https://docs.oracle.com/en/error-help/db/ora-28011/?r=23ai

오라클 공식 페이지에 나오는 원인은

ORA-28011
The password has expired. Change the password now.

<Cause>

The password of the user's account expired. Since the user's account is associated with a password profile with an UNLIMITED password grace period, the user will not be prompted to input a new password (which happens for accounts with a limited grace period). Instead, ORA-28011 warning message will continue to be displayed upon each successful login to the user account, until the user changes their password.

 

-> 패스워드 바꿀 때까지 계속 뜬다는 내용

 

 

 

 해결

오라클 공식 페이지에 나오는 해결 방법

<Action>
Change the password or contact the database administrator.

 

운영에서 발생한 내용이라 DBA에 계정 만료 내용을 전달했다.

 

참고) 오라클 DB LINK 패스워드 변경 방법

디비링크 드랍 후 재생성하여 해결