Install Oracle 11g on CenotOS 6.2 64 bit

I am trying to 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

How does the RAM and Swap on the linode compare with your home server?

On my home server I have 2 gigs of ram and 4 gigs of swap, but according to documentation it should not be an issue.

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.

I found out how to solve the issue on one of the forums:

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
````

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct