----- Original Message ----- From: "Joeffrey Betita" <jmbetita@xxxxxxxxxxxxxxx> To: "CentOS mailing list" <centos@xxxxxxxxxx> Sent: Wednesday, July 20, 2005 10:35 PM Subject: RE: The connection wasrefusedwhenattemptingtocontacthostname:5500 > hello bryan below is the configuration of bash_profile. iptables is > disable. > also the instruction of john smiley is the one that i followed. when i > installed oracle 10G. > > # .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_BASE=/u01/app/oracle; export ORACLE_BASE > ORACLE_SID=demo1; export ORACLE_SID > LD_ASSUME_KERNEL=2.4.19; export LD_ASSUME_KERNEL > Here's what my .bash_profile looks like for oracle. Notice $ORACLE_HOME/bin in the path. Mine has some additional info for RAC, but you can easily remove that. # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs unset USERNAME ORACLE_BASE=/app/oracle ORACLE_SID=skyd1 ORACLE_HOME=/app/oracle/10.1.0/db ORA_CRS_HOME=/app/oracle/10.1.0/crs PATH=$PATH:$ORACLE_HOME/bin:$HOME/bin export ORACLE_BASE ORACLE_SID ORACLE_HOME ORA_CRS_HOME PATH