Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue May 01, 2012 9:46 am 
Offline
Newbie

Joined: Tue May 01, 2012 9:41 am
Posts: 3
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?


Top
   
 Post subject:
PostPosted: Tue May 01, 2012 1:33 pm 
Offline
Junior Member

Joined: Sat Feb 18, 2012 12:26 pm
Posts: 24
How does the RAM and Swap on the linode compare with your home server?


Top
   
 Post subject:
PostPosted: Wed May 02, 2012 8:33 am 
Offline
Newbie

Joined: Tue May 01, 2012 9:41 am
Posts: 3
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:
Code:
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


Top
   
PostPosted: Wed May 02, 2012 2:19 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
valduk wrote:
ORA-27101: shared memory realm does not exist

Check the value of your ORACLE_HOME 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 $ORACLE_HOME to create a key for accessing the System Global Area (SGA -- shared memory) -- wrong $ORACLE_HOME => no access to SGA.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Thu May 03, 2012 8:42 am 
Offline
Newbie

Joined: Tue May 01, 2012 9:41 am
Posts: 3
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
Code:
df -k

You should see smth like shmfs

2. If you do not find shmfs execute the following command:
Code:
mount -t tmpfs shmfs -o size=2048m /dev/shm


3. Add the entry in /etc/fstab
Code:
shmfs /dev/shm tmpfs size=2048m 0 0


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group