Could not open parameter file '/opt/oracle/product/10.2/db_1/dbs/initorcl.ora__oracle

Source: Internet
Author: User

Sql> Startup
Ora-01078:failure in processing system parameters
Lrm-00109:could not open parameter file '/opt/oracle10g/product/10.2/db_1/dbs/initora10g.ora '

Find the file, it does not exist. It is estimated that the illegal shutdown was caused.

This is because in Oracle9i and oracle10g, Oracle will use SPFile to start the database by default, and this error will occur if SPFile does not exist.

Workaround 1 (verified):
Copy the init.ora.012009233838 form of the $oracle_base/admin/database name/pfile directory to the $oracle_home/dbs directory Initoracle.ora. (Note: Oracle in Initoracle.ora is your instance name, that is, mine is Initora10g.ora)

[Root@localhost dbs]# cp init.ora.721200911530 $ORACLE _home/dbs/initora10g.ora

Then continue to switch to the Oracle account, connect to Sqlplus, run startup, and may appear:

This is because there is no permission,

[Root@localhost dbs]# chmod-r 775 Initora10g.ora
Continue startup

Success.


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.