Summary of various problems encountered after oracle installation is complete.

Source: Internet
Author: User

Summary of various problems encountered after oracle installation is complete.

Basic commands:

Logon command

Sqlplus

Sqlplus User Name

Sqlplus user name/Password

Sqlplus/nolog

-- Account connection command

Conn

Conn User Name

Conn username/password

-- Exit the system

Exit

Quit

-- View the user name and status (executed by the Administrator)

Select username, account_status from dba_users;

Default User:

Scott password is tiger

Sys password is change_on_install

The system password is manager.

The sysman password is oem_temp.

Error Type:

Scott or system password cannot be logged on (ORA-01017: invalid username/password; logon denied ):

Win + r, enter sqlplus/nolog (no user logon)

Conn/as sysdba (note the space and semicolon)

Alter user scott identified by tiger;

Account locked (ORA-28000: the account is locked ):

Unlock user: alter user scott account unlock;

Lock user: alter user scott account lock;

Service not enabled (ORA-12560: TNS: protocol adapter error ):

Right-click my computer --> Manage --> services and applications --> services --> Find OracleServiceORCL and OracleOraDb11g_home1TNSListener

Note: Determine TNSListener. The names of different versions are different.

Insufficient permissions (ORA-01031: insufficient privileges ):

Right-click my computer --> Manage --> local users and groups --> group --> Find ora_dba --> right-click Properties --> Add your current user --> Application

Enter the user of the current operating system. If you do not know the user name, you can go to: local user and group --> user to view the user name.

Generally, there are administrator, defaultXXX, Guest, and users you have created. It is very likely that you are currently using a user created by yourself. However, only administrator members are added to oracle by default.

Connection timeout (ORA-12170: TNS: Connection timeout ):

When a remote connection occurs, the firewall does not enable port 1521 (the default oracle port.

Identity Authentication retrieval failed (ora-12638 Identity Authentication retrieval failed ):

Start> program> Oracle> Configuration and Migration Tools>

Net Manager → local → profile → Oracle Advanced Security → verification → remove the "CNT" in the selected method ".

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.