ORA-00119: Invalid specification for system parameter error Solution

Source: Internet
Author: User

If you accidentally change system parameters to an error, restarting will get a ORA-00119 error.

Example: accidentally modifying the dispatchers parameter at a time:

Alter system set dispatchers = '(Protocol = TCP) (Service = orcl' scope = spfile;

The parentheses are missing.

The following error is returned during startup:

ORA-32004: obsolete and/or deprecated parameter (s) specified
ORA-00119: Invalid specification for system parameter dispatchers

Solution:

1. Recreate pfile: SQL> Create pfile from spfile

2. The new pfile may be stored in different locations based on OS (Windows: \ oracle \ product \ 10.2.0 \ db_1 \ database \ init $ Sid. ora, Unix: D: \ oracle \ product \ 10.2.0 \ db_1 \ DBS \ init $ Sid. ora)

3. Modify the pfile file and find the correct value of the incorrect parameter. In this example, brackets are added.

Dispatchers = '(Protocol = TCP) (Service = orcl )'

4. Restart with pfile. SQL> startup pfile = '$ ORACLE_HOME/dbs/init $ Sid. ora ';

The database is started successfully.

5. Recreate spfile SQL> Create spfile from pfile

6. Restart. If the pfile parameter is not specified for startup, the created spfile is restarted.

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.