ORCL /export/home/oracle > ps -ef|grep ORCL|grep -v grep
oracle 840 1348 0 14:45:17 ? 0:00 ora_s000_ORCL
oracle 814 1348 0 14:45:16 ? 0:00 ora_dia0_ORCL
oracle 798 1348 0 14:45:13 ? 0:00 ora_pmon_ORCL
oracle 818 1348 0 14:45:16 ? 0:00 ora_dbw0_ORCL
oracle 1019 1348 0 14:45:42 ? 0:00 ora_q000_ORCL
oracle 800 1348 0 14:45:14 ? 0:00 ora_psp0_ORCL
oracle 1005 1348 0 14:45:36 ? 0:01 ora_cjq0_ORCL
oracle 824 1348 0 14:45:16 ? 0:00 ora_ckpt_ORCL
oracle 833 1348 0 14:45:17 ? 0:00 ora_mmnl_ORCL
oracle 831 1348 0 14:45:17 ? 0:01 ora_mmon_ORCL
oracle 808 1348 0 14:45:15 ? 0:00 ora_gen0_ORCL
oracle 829 1348 0 14:45:17 ? 0:00 ora_reco_ORCL
oracle 802 1348 0 14:45:15 ? 0:00 ora_vktm_ORCL
oracle 810 1348 0 14:45:15 ? 0:00 ora_diag_ORCL
oracle 827 1348 0 14:45:16 ? 0:00 ora_smon_ORCL
oracle 837 1348 0 14:45:17 ? 0:00 ora_d000_ORCL
oracle 820 1348 0 14:45:16 ? 0:00 ora_lgwr_ORCL
oracle 816 1348 0 14:45:16 ? 0:00 ora_mman_ORCL
oracle 812 1348 0 14:45:15 ? 0:00 ora_dbrm_ORCL
oracle 1023 1348 0 14:45:42 ? 0:00 ora_q001_ORCL
oracle 963 1348 0 14:45:32 ? 0:00 ora_qmnc_ORCL
ORCL /export/home/oracle >
Intenté conectarme a la base de datos:
SQL*Plus: Release 10.2.0.3.0 - Production on Thu Dec 13 16:57:48 2012
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> select name from v$database;
select name from v$database
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
SQL>
Vi el mensaje Connected to an idle instance. Éste suele querer decir que la base de datos sea cerrada pero de veras ya estaba abierta. Miré mi variable $ORACLE_HOME:
ORCL /export/home/oracle > echo $ORACLE_HOME
/oracle/app/oracle/product/11.2.0.2.7/
ORCL /export/home/oracle >
La barra (/) al fin no me parecío correcta y por eso la eliminé:
ORCL /export/home/oracle > export ORACLE_HOME=/oracle/app/oracle/product/11.2.0.2.7
ORCL /export/home/oracle > echo $ORACLE_HOME
/oracle/app/oracle/product/11.2.0.2.7
ORCL /export/home/oracle >
Luego me conecté a la base de datos sin problemas:
ORCL /export/home/oracle > sqlplus / as sysdba
SQL*Plus: Release 10.2.0.3.0 - Production on Thu Dec 13 16:59:18 2012
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select name from v$database;
NAME
---------
ORCL
SQL>
Me puedes ayudar? Tengo el mismo problema pero no lo puedo solucionar
ResponderEliminar