As you are probably aware, Mint is based on Ubuntu. No doubt you are also aware that from 11.10, Ubuntu changed the way systemd worked.
You didn’t know that ? No, I must confess that it passed me by as well.
Anyway, the upshot of this is that, without getting too technical, they’ve moved stuff around again.
Oracle can’t find what it’s looking for so the toys come out of the pram in a shower of ORA-01034 and ORA-00845.
If you want to be a bit more technical ( and confirm that this is indeed the error you’re hitting), you simply need to open a terminal …
The output will be something like :
The problem is a bit tricky to spot, because there is something missing. In earlier Ubuntu based Linux versions you would have a shared memory area mounted on /dev/shm. This is what oracle-xe is looking for.
Now we know what’s missing, the next question is, how do we fix it ?
MOUNTING THE SHARED MEMORY
This next step has been adapted from the links that Gil provided – the Ubuntu Oracle Installation Guide, and yet more help on the Oracle Forum from the mysterious Dude.
So, switch to root…
Now we need to create a file to mount the shared memory at the location where Oracle XE is looking for it.
To do this, create a file as follows :
The contents of the file should be …
Now we need to set the appropriate permissions and tell the OS to run this script on startup :
The output from the update-rc.d command should be :
At this point, I re-booted the system. To test that the change has taken effect …
As you can see, /dev/shm has now been mounted.
Now, we should be able to configure Oracle XE without any more of this MEMORY_TARGET nonsense. Once again, as root…