Installing Oracle 9iR2 on Red Hat 9
Subject:   according to problem (dbca)
Date:   2005-03-23 22:15:56
From:   Installing-Oracle-9iR2-on-Red-Hat-9
Response to: according to problem (dbca)

I am Trying Oracle on Linux Red Hat 9
I am following instruction on

Things went fine during installtion as i proceed as per puschitz's instructions
However at the i faced some problem.
and i badly seek your advice and help on that

Below is list of activities i done for this..

Checked Memory
grep MemTotal /proc/meminfo : found proper

Checked Swap space
cat /proc/swaps : found proper

set Shared Memory
echo "kernel.shmmax=2147483648" >> /etc/sysctl.conf

checked the space in /tmp
$ df /tmp : found adequate

Oracle Disk Space
/oradir mount point with 3GB space

checked Development Packages
rpm -q gcc cpp compat-libstdc++ glibc-devel glibc-kernheaders binutils

Created Oracle user Account
su - root
groupadd dba # group of users to be granted with SYSDBA system privilege
groupadd oinstall # group owner of Oracle files
useradd -c "Oracle software owner" -g oinstall -G dba oracle
passwd oracle

Created Oracle Directories
su - root
mkdir /oradir/oracle
mkdir /oradir/oracle/product
mkdir /oradir/oracle/product/9.2.0
chown -R oracle.oinstall /oradir/oracle

Following not created as i was not having /var mount point
mkdir /var/opt/oracle
chown oracle.dba /var/opt/oracle
chmod 755 /var/opt/oracle

Added Following Environment variables in .bash_profiles of oracle user and confirmed by relogging and 'set' as well as echo
export LD_ASSUME_KERNEL=2.4.1

export ORACLE_BASE=/oradir/oracle
export ORACLE_HOME=/oradir/oracle/product/9.2.0
export ORACLE_TERM=xterm
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data


Now, i relogged in and checked environment variables are proper

put CD 1 Of 3 ->the OUI started Properly
ORacle Home Name : j
Oracle Home Path : /oradir/oracle/product/ (was selected by default)

Privileged Operating System Groups :dba (i kept the default)
Oracle Managent Server Repository: New i selected
Create database : No

The Error1 (resolved finally)
"Error in invoking target install of makefile /opt/oracle/product/9.2.0/ctx/lib/"
adding "`cat $(LIBHOME)/sysliblist`" string to $ORACLE_HOME/ctx/lib/ and clicking 'Retry' resolved it

Database Creation complete successful
Link Successful
Network Services Successful

Then Error2 (unresolved)
the attemp to create a database for the enterprise manager repository failed, because:
The command:
"/oradir/oracle/product/ -
progress_only -emca_interrnal -createDatabase -
templateName Transaction_Processing.dbc -
gdbName OEMREP.localdomain -sid OEMREP"

Here i finished installation thinking that i will go for OEM stuff later point of time.

Then Error3 (unresolved)
then tried to start dbca
SIGSEGV 11* segmentation violation
stackbase stackpointer
Full thread:
/oradir/oracle/product/ line 124: 3170 killed $JRE_DIR/bin/jre -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m -classpath $CLASSPATH..........
oracle.sysman.assistants.dbca.Dbca $ARGUMENTS

I executed the ipcs command to get the address of the shared memory segments that have been allocated by Oracle:
$ su - root
# ipcs

But there was no entry with 'oracle' as owner name.

Then Error4 (unresolved)

Then Tried lsnrctl
lsnrctl status
.. Got an error
According to

su - root
mkdir /var/tmp/.oracle
chown oracle:dba /var/tmp/.oracle
Now try to run lsnrctl start as oracle again.
But i do not have /var
What tyo do here?

Here i am stuck up, i struggled a lot last few days.
success seems closer but how to get it.

Here again i need your advice asks for patches for RH As not for RH. so how to proceed are any patches required for RH 9 also or same as RH AS.
if yes can you help me in getting URL, i am trying at home, no metalink registration available.

Thanks in advance