Oracle 11g Install Queries on CentOS4.6

Installation and support for Oracle DB on CentOS.
fatboysam
Posts: 4
Joined: 2008/02/01 02:31:07

Oracle 11g Install Queries on CentOS4.6

Postby fatboysam » 2008/02/12 14:06:50

Hi,

Have managed to install Oracle 11g and actual database installation seems to be working fine but I have the following queries:

1) When I open a terminal session and login into my account, say fatboysam, i.e not oracle or root, how can I set my .bash_profile so that all required Oracle environment variables are set at all times. I assume I do this within fatboysam's /home/fatboysam/.bash_profile but for some reason, it doesn't maintain the env settings. This is my .bash_profile contents, anything I have missed, pls let me know:

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME

# Oracle Environment Settings
ORACLE_BASE=/opt/oracle
ORACLE_HOME=$ORACLE_BASE/111
ORACLE_SID=orcl
LD_LIBRARY_PATH=$ORACLE_HOME/lib
PATH=$PATH:$ORACLE_HOME/bin

export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH

2) Unfortunately I can't seem to get my Enterprise Manager Console working at 1158/em, I seem to get the following error, i.e:

Starting Oracle EM DB Console:OC4J Configuration issue. /opt/oracle/111/oc4j/j2ee/OC4J_DBConsole_localhost.localdomain_ORCL not found

Any ideas?

Thanks.
fs.

fatboysam
Posts: 4
Joined: 2008/02/01 02:31:07

Re: Oracle 11g Install Queries on CentOS4.6 - SOLVED

Postby fatboysam » 2008/02/13 03:18:32

All good now - this thread is closed.

Thanks.
fs.