no access

Posted on 2012-08-31
Last Modified: 2012-09-01
I cannot log in to the database

[oracle@mac dbs]$ export ORACLE_SID=bank
[oracle@mac dbs]$ sqlplus /nolog

SQL*Plus: Release Production on Fri Aug 31 08:00:58 2012

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/db_1/dbs/initbank.ora'
SQL> create pfile from spfile;
create pfile from spfile
ERROR at line 1:
ORA-01565: error in identifying file '?/dbs/spfile@.ora'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3

Question by:tomvv
    LVL 76

    Assisted Solution

    by:slightwv (䄆 Netminder)
    Oracle is unable to locate a valid parameter file for that instance.

    It needs either a PFILE or SPFILE to start.  If these are not the default name or in the default location, you need to specify the pfile on startup.
    LVL 12

    Accepted Solution

    As slightwv stated in is post , to startup  an oracle database you required a PFILE or SPFILE.

    as it states it cann't locate the PFILE you can try manually point to the correct initSID.ora @ time of startup.

    SQL> startup pfile='path of /pfile/initSID.ora'

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
    How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
    This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
    Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now