Site background cannot log on due to Oracle user name password expiration

Source: Internet
Author: User

Originally today to rest, but received a colleague reflected: the customer's web can not log on, the Web site to open, but the background cannot login.

I contacted the customer, the customer said that the password expires for the Web user, the default is 180 days expires.

And then there's my operation flow:

1. Telnet to the 1521 port of Oracle data from the Web server and discover that it is a pass.

2. Log in to the client's database server and log in with the SYS user SYSDBA role. To view the open and read-write status of an Oracle database:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/56/C1/wKiom1SMQkOywVO8AABF9PthLaA338.jpg "title=" Database open status query. jpg "alt=" wkiom1smqkoywvo8aabf9pthlaa338.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/56/C1/wKiom1SMQw_SvgOHAABH1P6xwAw526.jpg "title=" Oracle database read-write status query. jpg "alt=" wkiom1smqw_svgohaabh1p6xwaw526.jpg "/>

3. I view the customer's site directory:

650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M01/56/BE/wKioL1SMRQCQpTzBAAA67zhd6DA882.jpg " title= "view site directory. jpg" alt= "wkiol1smrqcqptzbaaa67zhd6da882.jpg"/>

4. View the JDBC file configuration for the client site connection to the Oracle database:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/56/BE/wKioL1SMRdXi2F3TAACTM9BFS0Y977.jpg "title=" Web site Connection database JDBC configuration. jpg "alt=" wkiol1smrdxi2f3taactm9bfs0y977.jpg "/>

5. View the user name of the Web site in the Oracle database:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/56/BE/wKioL1SMRoOhvrGZAAC2mulQn9k809.jpg "title=" Oracle View Web site user name. png "alt=" wkiol1smroohvrgzaac2mulqn9k809.jpg "/>

6. The most important step in database setup is to modify the Oracle database user name policy to "never expire":

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/56/BE/wKioL1SMR6qCB0gQAADCn-brVLw955.jpg "title=" Oracle database user name expiration policy. jpg "alt=" wkiol1smr6qcb0gqaadcn-brvlw955.jpg "/>

7.oracle Reset the password for the system User:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/56/BE/wKioL1SMSFWBSKAZAAAyf58lLfs261.jpg "title=" Oracle sets the system user password. png "alt=" wkiol1smsfwbskazaaayf58llfs261.jpg "/>

8. Query the Oracle user name used by the Web site connection:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/56/C1/wKiom1SMSFChwvHyAABmRkxTxNw311.jpg "title=" Query the user name used by the Web site. jpg "alt=" wkiom1smsfchwvhyaabmrkxtxnw311.jpg "/>

9. Update the password for the Oracle user name used by the Web site connection:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/56/BF/wKioL1SMSaajZaCOAAA0m1fyJL8181.jpg "title=" Modify the Oracle user name and password for the site. png "alt=" wkiol1smsaajzacoaaa0m1fyjl8181.jpg "/>

10. Login Website:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/56/C1/wKiom1SMSqDQbzflAAODwPo99N0363.jpg "title=" The Site background login page shows. jpg "alt=" wkiom1smsqdqbzflaaodwpo99n0363.jpg "/>

In this way, the problem is solved.

Summary: Encountered a dynamic call to the Oracle Database Web site cannot open the problem, timely find the database and the status of the connected user name. The general login page cannot be opened either as a database or a connection problem with the page and database.

The general location of the site database configuration file is/webapps/root/web-inf/classes/jdbc.properties. Find the user name and password inside to make the relevant error.

Database and user name after the problem is resolved, the site background login interface will automatically restore status.

This article is from the "Lin XI" blog, please be sure to keep this source http://lutaoxu.blog.51cto.com/4224602/1589639

Site background cannot log on due to Oracle user name password expiration

Related Article

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.