Solution for bringing out ORA-28001 at the same time by ORA-28000

Source: Internet
Author: User
Today, you can not log on to the tomcat front-end interface, view the log found that the original is ORA-28001: thepasswordhasexpired error, this error is due to Or

Today, you can not log on to the tomcat front-end interface, view the log found that the original ORA-28001: the password has expired error, this error is caused by Or

Today, you can not log on to the tomcat front-end interface, view the log found that the original ORA-28001: the password has expired error, this error is caused by the new features of Oracle11G, when creating a user at Oracle11G, the default password expiration limit is 180 days (6 months). If the user password is not modified for more than 180 days, the user cannot log on.

================================================= =====

Recommended reading:

ORA-01172, ORA-01151 error handling

ORA-00600 [2662] troubleshooting

Troubleshooting for ORA-01078 and LRM-00109

Notes on ORA-00471 Processing Methods

ORA-00314, redolog corruption, or missing Handling Methods

Solution to ORA-00257 archive logs being too large to store

================================================= =====

You can use the following SQL statement

SELECT * FROM dba_profiles WHERE profile = 'default' AND resource_name = 'password _ LIFE_TIME ';

Query the password validity period settings. The LIMIT field is the password validity period.

When the password is about to expire or has expired, use the following statement to modify the password. After the password is changed, the user can connect to the database normally.

Alter user Username identified by password;

To remove the 180-day password lifecycle restriction, use the following SQL statement to disable it:

Alter profile default limit PASSWORD_LIFE_TIME UNLIMITED; ---- (not recommended)

Then, go to the sys account and unlock the account:

Alter user Username account unlock;

The result was not long before, and prompted the ORA-28000 the account is locked, always unlock, but every time is a few seconds immediately locked. It was found that the FAILED_LOGIN_ATTEMPTS parameter was incorrect.

Solution:

Alter profile default limit failed_login_attempts times or unlimited;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.