Install Oracle in Linux Q&A 2


1. Question 1:

I'm running RedHat 5.2 and cannot manage to install Oracle 8.0.5...
when I run the orainst script, I get the following message :
orainst: ./orainst.cm: Permission denied

Ans1:

Sounds like you didn't read the installation instructions carefully?  Did
you create an account and group for Oracle?  Sign into (or su to) that
account and run the script as that user.



Ans2:

you need:
/etc/passwd:
grep oracle /etc/passwd
oracle:x:900:9000:oracle admin:/oracle:/bin/bash
grep dba /etc/group
dba:x:9000:
cat /etc/oratab
#  This file is used by ORACLE utilities.  It is created by root.sh
#  and updated by the Oracle8 and SQL*Net install procedures.
#
#  A colon, ':', is used as the field terminator.  A new line terminates
#  the entry.  Lines beginning with a pound sign, '#', are comments.
#
#  Entries are of the form:
#      \$ORACLE_SID:\$ORACLE_HOME:<N|Y>:
#
#  The first and second fields are the system identifier and home
#  directory of the database respectively.  The third field indicates
#  to the dbstart utility that the database should, "Y", or should not,
#  "N", be brought up at system boot time.
#
#  Multiple entries with the same \$ORACLE_SID are not allowed.
#
#
zeus:/oracle/app/oracle/product/8.0.5:Y

cat /oracle/.profile
# Profile fuer Oracle, T. Borchert
umask 022

MAIL=/usr/mail/${LOGNAME:?}

ORACLE_SID=zeus
ORACLE_HOME=/oracle/app/oracle/product/8.0.5
PATH=$PATH:$ORACLE_HOME/bin
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
EDITOR=/usr/bin/vi
LD_LIBRARY_PATH=/usr/lib:/usr/ccs/lib:/var/opt/lanman/etc:/usr/lib/snmpd/app_lib:$ORACLE_HOME/lib
export PATH ORACLE_HOME ORACLE_TERM ORACLE_SID ORA_NLS33 EDITOR
LD_LIBRARY_PATH

# Tracing Oracle intern ausschalten

EPC_DISABLE=TRUE
export EPC_DISABLE

LESSCHARSET=latin1
export PAGER LESSCHARSET

# Unix - Sprache
LANG=De_DE.88591
NLSPATH=/usr/lib/nls/msg/%L/%N.cat:/opt/lib/nls/msg/%L/%N.cat:/usr/lib/nls/msg/%l/%N.cat:/opt/lib/nls/msg/%l/%N.cat:/var/spool/Spool/config/MSG/%l/%N.cat:/opt/lib/nls/msg/%L/%N
export NLSPATH

# Oracle - Sprache
NLS_LANG=GERMAN_GERMANY.WE8ISO8859P1
export NLS_LANG
export LANG
 

Then login as oracle; cd orainst;./orainst
But you need glibc2 and Kernel at least 2.0.35

Torsten



2. Question 2:
I tried installing Oracle 8 for Linux  on my box last night and it didn't
work.

It said "Permission Denied".   This was on an account I had setup
specifically for the install.   I then tried to install from root and
received the same error.    Is there something that should be in the
/etc/fstab file to allow to execute on the mount point of the cdrom?  I'm
kinda at a loss here.



Ans to question2:
That's easy: just add an "exec" to the mount options of your CD device:
/dev/scd0       /cdrom                    iso9660
ro,noauto,user,exec 0

--
Uwe Schneider



3. Questin 3:

When installing Oracle 8.0.5 server i am getting the following error:

WRITE_ERROR: while instantiating file
/oracle/u01/app/oracle/product/8.0.5/rdbms/install/rdbms/cnfg.orc

when having thus error on the installation it gives me a path that the file
should have been written to. The problam is the path is cut somewhere in the
middle and i cannot follow it and make the needed directories

Ofir Arkin



Ans for question 3:

I installed the ORACLE server having a similar problem. When
I didnt install the docu it worked... but I dont think that this is
the docu directory. On the other hand cnfg.orcale is a file,
so
/oracle/u01/app/oracle/product/8.0.5/rdbms/install/rdbms/
should be the directory.
Have you checked the installer log-file?
Something like orainst.log...

Marcel
 

Hosted by www.Geocities.ws

1