Se debe setear la Variable ORACLE_SID
$ ORACLE_SID=PRUEBA
$ export ORACLE_SID
$ sqlplus / as sysdba
show parameter service
-- Debe indicar PRUEBA
CREATE PFILE='/home/oracle/prueba. actual.pfile' from spfile;
CREATE PFILE='/tmp/prueba.actual. pfile' from spfile;
ALTER SYSTEM SET processes=200 SCOPE=SPFILE;shutdown immediate
startup
-- Si inicia correctamente
CREATE PFILE='/home/oracle/prueba. nuevo.pfile' from spfile;
CREATE PFILE='/tmp/prueba.nuevo.pfile' from spfile;

No hay comentarios:
Publicar un comentario