![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
set ... |
|
lsnrctl status XE STATUS of the LISTENER |
|
tnsping xe ... |
#2
| |||
| |||
|
|
Hi, I installed OracleExpress on a windows 2003 server. Right after the installation, I was able to create and use a database. Then, after the first reboot, the database didn't start automatically, but after SQL> connect / SQL> startup things worked fine again. Now, after a third reboot, this trick doesn't work anymore: SQL> connect / ERROR: ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Q: How can I fix this? (there is already data in my database that I really would like to use) And that Oracle behaves differently after the second and the third reboot? Thanks in advance for your help. Below is the result of a few obvious things that I checked before posting this message. M. I've checked the ORACLE_SID in the environment and it is set to XE. >set ... ORACLE_SID=XE ... The listener is running: >lsnrctl status XE STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for 32-bit W..: Ver.. 10.2.0.1.0 - Production Start Date 01-NOV-2006 10:29:36 Uptime 0 days 0 hr. 1 min. 22 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Default Service XE and tnsping works: >tnsping xe ... OK (30 msec) |
#3
| |||
| |||
|
|
Check the initialization file, check the alert log. |
#4
| |||
| |||
|
|
01 nov 2006, (Charles Hooper): Check the initialization file, check the alert log. The init.ora only contains valid paths (the installation was done 'out of the box', and I tried to stick to the defaults... I did not edit the config files manually). The alert_xe.log file contains no data after the third reboot (1 nov). I don't know what the look for in the alert_xe.log. I've copied the content below, starting from thursday 26th of october. Thanks in advance, M. [alert_xe.log] Thu Oct 26 11:20:04 2006 db_recovery_file_dest_size of 10240 MB is 0.98% used. This is a user-specified limit on the amount of space that will be used by this database for recovery-related files, and does not reflect the amount of space available in the underlying filesystem or ASM diskgroup. Dump file f:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log Mon Oct 30 11:35:02 2006 ORACLE V10.2.0.1.0 - Production vsnsta=0 vsnsql=14 vsnxtr=3 Windows Server 2003 Version V5.2 Service Pack 1 CPU : 1 - type 586, 1 Physical Cores Process Affinity : 0x00000000 Memory (Avail/Total): Ph:957M/1271M, Ph+PgF:1514M/1697M, VA:1933M/2047M Mon Oct 30 11:35:02 2006 Mon Oct 30 11:35:58 2006 Memory Notification: Library Cache Object loaded into SGA Heap size 2208K exceeds notification threshold (2048K) KGL object name :XDB.XDbD/PLZ01TcHgNAgAIIegtw== |
|
sga_target = 348127232 control_files = F:\ORACLEXE\ORADATA\XE\CONTROL.DBF __db_cache_size = 226492416 compatible = 10.2.0.1.0 db_recovery_file_dest = F:\oraclexe\app\oracle\flash_recovery_area db_recovery_file_dest_size= 10737418240 undo_management = AUTO undo_tablespace = UNDO .... |
#5
| ||||||
| ||||||
|
|
The path should include the Oracle home bin folder, which might be: F:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\db_1\bin |
|
Then, make certain that the spfile is in the expected location: C:\> DIR F:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\S PFILEXE.ORA |
|
Check the registry to make certain that the correct values are entered. The values will likely be located near: HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ |
|
Verify that the Oracle related services are set to Automatic startup and that their status is Started. |
|
Try to connect to Oracle as the SYS user, from a command prompt: C:\> SQLPLUS /NOLOG SQL> CONNECT SYS/MY_SECRET_PASSWORD@XE AS SYSDBA SQL> STARTUP |
|
If the XE database instance fails to start, take a look inside the spfile, again from a command prompt: C:\> TYPE F:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\S PFILEXE.ORA Look through the output, are the values specified in the spfile the same as what you posted as listed in the alert file? |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
A few common problems with XE installations: 1) If XE was installed by a Domain Administrator, XE may not install correctly. The actual problems vary depending on the Domain Administrator's real capabilities and range from complete failure (while appearing to install, based on the setup response) to 'crippled install with various problems'. |

|
These, and a lot more, are discussed in the Oracle Discussion Forum specific to XE. To access that, access the OTN discussion forums, sign in and look for the XE forum. If it does not show up, you need to register - search for 'register XE' in the Database-General forum for steps. |
#8
| |||
| |||
|
|
01 nov 2006, (Charles Hooper): Check the initialization file, check the alert log. |
|
Mon Oct 30 11:35:58 2006 Memory Notification: Library Cache Object loaded into SGA Heap size 2208K exceeds notification threshold (2048K) KGL object name :XDB.XDbD/PLZ01TcHgNAgAIIegtw== |
#9
| |||
| |||
|
|
Any more messages after this line? |
#10
| |||
| |||
|
|
Mathijs schreef: 01 nov 2006, (Charles Hooper): Check the initialization file, check the alert log. I suspect this has something to do with it: Mon Oct 30 11:35:58 2006 Memory Notification: Library Cache Object loaded into SGA Heap size 2208K exceeds notification threshold (2048K) KGL object name :XDB.XDbD/PLZ01TcHgNAgAIIegtw== However, I would not know where to start resolving this... Someone else, perhaps? Any more messages after this line? |
![]() |
| Thread Tools | |
| Display Modes | |
| |