I am running Ubuntu 13.04. I am attempting to install Oracle XE 11g R2. It seems that everything was fine until I got to configuration of the database as root I ran /etc/init.d/oracle-xe configure command. I have received the following output
Starting Oracle Net Listener...Done
Database Configuration failed. Look into /u01/app/oracle/product/11.2.0/xe/config/log for details
When I look at the logs I get the following error ORA-01034: ORACLE not available. After receiving this error I have attempted to start Oracle manually.
sqlplus "/as sysdba"
SQL*Plus: Release 126.96.36.199.0 Production on Tue Sep 3 11:34:07 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to an idle instance.
ORA-00845: MEMORY_TARGET not supported on this system
As you can see I got ORA-00845: MEMORY_TARGET not supported on this system error. Ok let's see what's going on with my partitions
/u01/app/oracle/product/11.2.0/xe/config/log# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 46G 9.7G 34G 23% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 3.9G 4.0K 3.9G 1% /dev
tmpfs 792M 964K 791M 1% /run
none 5.0M 0 5.0M 0% /run/lock
tmpfs 6.0G 164K 6.0G 1% /run/shm
none 100M 24K 100M 1% /run/user
/dev/sda2 633G 238G 363G 40% /home
/home/blah/.Private 633G 238G 363G 40% /home/blah
For some reason I have two tmpfs filesystems one is 6Gbs and another just under 800 Mbs. I figured if I add the following line to my fstab file I'll be fine
tmpfs /dev/shm tmpfs defaults,size=6g 0 0
The DB has never started. I am trying to get it going. Here is what I got after running ls
# ls -ltr $ORACLE_HOME/dbs/
-rwxr-xr-x 1 oracle dba 2851 Aug 29 2011 init.ora
-rw-r----- 1 oracle dba 1536 Sep 3 11:44 orapwXE
-rw-r----- 1 oracle dba 2560 Sep 3 11:44 spfileXE.ora
Pl see this related thread - Ubuntu 12.04 Oracle XE and ORA-00845: MEMORY_TARGET not supported
Ubuntu is not a supported distro - so expect issues - Oracle&reg; Database Express Edition