ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist ORACLE 10g XE

Jatin Adarsh picture Jatin Adarsh · Feb 16, 2017 · Viewed 8.7k times · Source

enter image description here

Dont know what went wrong. It worked perfectly first time untill i restarted my Machine.

Answer

mathguy picture mathguy · Feb 16, 2017

In addition to Alex's explanation, in particular the bit about the database not restarting automatically when you restarted your machine:

Navigate to /etc/oratab and edit it as root.

Find the line

orcl:/u01/app/oracle/product/12.1.0/db_1:N

Change the N at the very end to Y.

This will make the database start up whenever you restart your machine, so you won't have this trouble again.