Install Oracle 11g on CenotOS 6.2 64 bit
I am doing these steps (some details are missed):
1. yum install libaio bc flex
2. rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm
3. /etc/init.d/oracle-xe configure
On my home server installation went smoothly and it is up and running, but here when I run /etc/init.d/oracle-xe configure I get:
Starting Oracle Net Listener…Done
Configuring database…
Database Configuration failed. Look into log for detail
__Logs: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
ORA-00600: internal error code, arguments: [SKGMHASH], [1], [18446744072646661188], [0], [0], [], [], [], [], [], [], []
Create controlfile reuse set database "XE"__
May be somebody installed oracle 11g on linode servers?
4 Replies
I have found some solutions on google and one of them is the correct /etc/hosts settings. Could please somebody advise if I have the correct setting:
127.0.0.1 localhost.localdomain localhost
50.116.56.248 li448-248.members.linode.com li448-248
192.168.189.122 centos
50.116.56.248 public ip
192.168.189.122 private ip
@valduk:
ORA-27101: shared memory realm does not exist
Check the value of your ORACLEHOME environment variable. Common cause of this error is trying to access a database with the wrong value (i.e. different from the one used to start the database). Oracle uses the system ID (SID – unique identifier for a database) and $ORACLEHOME to create a key for accessing the System Global Area (SGA -- shared memory) -- wrong $ORACLE_HOME => no access to SGA.
It is about using /dev/shm shared memory.
1. You need to ensure /dev/shm is mounted by````
df -k
You should see smth like shmfs
2\. If you do not find shmfs execute the following command:
mount -t tmpfs shmfs -o size=2048m /dev/shm
3\. Add the entry in /etc/fstab
shmfs /dev/shm tmpfs size=2048m 0 0
````