Oracle startup, prompting "lrm-00109:could not open parameter file"

Source: Internet
Author: User

Reprinted from Http://blog.sina.com.cn/s/blog_53e731b70101liku.html

Oracle startup, prompting "lrm-00109:could not open parameter file"

Lrm-00109:could not open parameter file '/home/oracle/oracle10g/dbs/initoms

Today when connecting to the Oracle database, the discovery data is not started, using the startup command, the error message is as follows:

Sql> startup Ora-01078:failure in processing system parameters lrm-00109:could not open parameter file '/ORACLE/1 0g/dbs/init10g.ora '

Follow the prompts to find the relevant directory of files, sure enough does not exist.

Checked the information on the Internet. Get if useful information: because in oracle10g, Oracle uses SPFile to start the database by default, and if SPFile does not exist, the above error occurs.

Workaround:

Copy the $oracle_base/admin/your database name/pfile/init.ora.628201264542 (not necessarily the same number) to the $oracle_home/dbs directory and rename it to your DB instance name. For example: The above hint can not find Init10g.ora this file, change to Init10g.ora

Reference command:

Export $ORACLE _home--Output environment variables in use HOME

Cat/home/oracle/.bash_profile-or. bashrc file, make sure that the value of $oracle_home is consistent with the current usage (I have encountered inconsistencies)

MV $ORACLE _base/admin/orcl/pfile/init.ora.628201264542/oracle/10g/dbs/init10g.ora--copy files to the specified directory

Sqlplus "/as sysdba"

Startup

Oracle startup, prompting "lrm-00109:could not open parameter file"

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.