Cocould not open parameter file '/opt/Oracle/product/10.2/db_1/dbs/initorcl. ora

Source: Internet
Author: User

SQL> startup
ORA-01078: Failure in Processing System Parameters
LRM-00109: cocould not open parameter file '/opt/Oracle10g/product/10.2/db_1/dbs/initora10g. ora'

The file does not exist. It is estimated that the shutdown is caused by illegal shutdown.

This is because in Oracle9i and Oracle10g, Oracle uses spfile by default to start the database. If spfile does not exist, the above error will occur.

Solution 1 (verified ):
Copy the file in the form of init. ora.012009233838 in the $ oracle_base/admin/database name/pfile directory to the initoracle. ora directory in the $ ORACLE_HOME/DBS directory. (Note: Oracle in initoracle. ora is your instance name, that is, my name is initora10g. ora)

[Root @ localhost DBS] # cp init. ora.721200911530 $ ORACLE_HOME/dbs/initora10g. ora

Switch to the Oracle account, connect to sqlplus, and run startup. the following error may occur:

This is because you have no permissions,

[Root @ localhost DBS] # chmod-r 775 initora10g. ora
Continue startup

Success.

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.