Oracle11g the account password expiration or account is locked,

ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED

Recently the company of a sudden PDM system services can not be enabled, running about 30 seconds after the implementation of a program will automatically shut down, checked the log, found a good setting account passwords can not sign oracle, thus causing the error. log clearly illustrates the password expires (see below).

image

So he began to download the oracle instant client and sqlplus . (This is the free version of oracledb management tools installed, just unzip compressed together into the server to be processed together, running sqlplus.exe to enter the management interface.)

image

Then execute sqlplus.exe, login system found there has been such a message, and she expired.

ERROR: ORA-28002: the password will expire within 6 days

杰森史戴森

Then the next instruction to confirm, you can find more Expired definitive evidence:

image

Then set the first deal expired

Down the series of instructions in sqlplus can cancel the setting expired. Tyrants the world map

ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;

The password lifetime set the default profile is unlimited, so should ORA-28001 error does not occur

Again processing is expired account.

Under the following instructions in sqlplus

alter user system identified by XXX;

(Xxx refers to the password set)

To get rid of expired account password, the account had expired account_status becomes OPEN. Thus to solve the problem of overdue accounts.

image

Reproduced in: https: //www.cnblogs.com/alterhu/archive/2012/03/20/2407705.html

Guess you like

Origin blog.csdn.net/weixin_34239169/article/details/94029465