Dear
i have issue with oracle 12.2 dataabase name =consDB and sid =consDB
i have create database and it is running but after reboot i got this error ORA-01078, LRM-00109
i chek initCONSDB.ora file it was not exist in D:\oracle12c\product\12.2.0\dbhome_1\database and there is another file call init.ora in D:\oracle12c\admin\consDB\pfile i copy this file to D:\oracle12c\product\12.2.0\dbhome_1\database and change name to INITCONSDB.ora but after run database it give error(ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file 'D:\ORACLE12C\PRODUCT\12.2.0\DBHOME_1\D
ATABASE\INITCONSDB.ORA')
if i run database using this : startup PFILE=D:\oracle12c\admin\consDB\pfile\init.ora
it working fine but each time pc reboot have to do it again.
how i can resolve this issue
i have done these scenario :
select name,value from v$parameter where name='spfile'; show null value
SQL> show parameter pfile;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string
SQL> show parameter spfile;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string
i try and i log as administrator and this account member of ora group am using windows
SQL> create spfile from pfile;
create spfile from pfile
*
ERROR at line 1:
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 5) Access is denied.
================================================================
my :listener
# listener.ora Network Configuration File: D:\oracle12c\product\12.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\oracle12c\product\12.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\oracle12c\product\12.2.0\dbhome_1\bin\oraclr12.dll")
)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\oracle12c\product\12.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\oracle12c\product\12.2.0\dbhome_1\bin\oraclr12.dll")
)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\oracle12c\product\12.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\oracle12c\product\12.2.0\dbhome_1\bin\oraclr12.dll")
)
(SID_DESC =
(ORACLE_HOME = D:\oracle12c\product\12.2.0\dbhome_1)
(SID_NAME = consdb)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = WEBCONSUMER01)(PORT = 1521))
)
)
USE_SID_AS_SERVICE_LISTENER = on
=============================================================
tnsnames.
# tnsnames.ora Network Configuration File: D:\oracle12c\product\12.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
consdb =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = WEBCONSUMER01)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = consdb)
)
)
LISTENER_CONSDB =
(ADDRESS = (PROTOCOL = TCP)(HOST = WEBCONSUMER01)(PORT = 1521))
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
CONSDB2 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.20.3.6)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = consDB)
)
)