Arrancar Base de datos con error ORA-09945: Unable to initialize the audit trail file
Muy buenas
No tengo apenas experiencia administrando oracle, pero ha habido un problema en una aplicacion de la empresa y me ha tocado verlo.
En una m谩quina Linux tenemos instalado Oracle Express Edition 10, y hasta ahora funcionaba sin problemas. El otro d铆a una aplicaci贸n comenz贸 a fallar, y mirando el log del Tomcat, vi que la aplicaci贸n no se puede conectar con la BD.
Mirando la Base de datos, observo que no me deja conectarme, aunque parezca que est谩 arrancada:
SQL> connect
Enter user-name: fada_own
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
portal:/etc/init.d# sh oracle-xe status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 24-MAR-2010 13:02:43
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_F OR_XE)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 24-MAR-2010 12:58:31
Uptime 0 days 0 hr. 4 min. 12 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_F OR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=portal.d ominiolocal)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
He comprobado que el listener esta activo tambien.
Ya que arrancando con los scripts que hay en etc/init.d no consigo que arranque, quiero arrancarla a traves de sqlplus, con start, pero tengo el problema de que no conocemos la clave de system. Probando con:
portal:~# sqlplus "/ as sysdba"
Me da el siguiente error:
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Mar 30 11:35:13 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-09945: Unable to initialize the audit trail file
Linux Error: 28: No space left on device
ORA-01031: insufficient privileges
驴C贸mo puedo hacer para arrancar la base de datos?
No tengo apenas experiencia administrando oracle, pero ha habido un problema en una aplicacion de la empresa y me ha tocado verlo.
En una m谩quina Linux tenemos instalado Oracle Express Edition 10, y hasta ahora funcionaba sin problemas. El otro d铆a una aplicaci贸n comenz贸 a fallar, y mirando el log del Tomcat, vi que la aplicaci贸n no se puede conectar con la BD.
Mirando la Base de datos, observo que no me deja conectarme, aunque parezca que est谩 arrancada:
SQL> connect
Enter user-name: fada_own
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
portal:/etc/init.d# sh oracle-xe status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 24-MAR-2010 13:02:43
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_F OR_XE)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 24-MAR-2010 12:58:31
Uptime 0 days 0 hr. 4 min. 12 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_F OR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=portal.d ominiolocal)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
He comprobado que el listener esta activo tambien.
Ya que arrancando con los scripts que hay en etc/init.d no consigo que arranque, quiero arrancarla a traves de sqlplus, con start, pero tengo el problema de que no conocemos la clave de system. Probando con:
portal:~# sqlplus "/ as sysdba"
Me da el siguiente error:
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Mar 30 11:35:13 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-09945: Unable to initialize the audit trail file
Linux Error: 28: No space left on device
ORA-01031: insufficient privileges
驴C贸mo puedo hacer para arrancar la base de datos?
Debes de checar el espacio en el filesystem donde est谩 instaldo el motor de oracle ya que se te ha de haber cabado el espacio y es por eso que no puede crear los archivos de auditoria. lo puedes checar con un df -h . en el filesystem y a lo mejor lo tienes al 100%, elimina los trc del bdump y udump para empezar.
