[CentOS] The connection was refused when attempting tocontacthostname:5500

Jim Perrin jperrin at gmail.com
Fri Jul 8 11:14:53 UTC 2005


On 7/8/05, Joeffrey Betita <jmbetita at infoplus.com.ph> wrote:
> all i get after typing "emctl start dbconsole" command not found. thanks for
> your help


emctl probably isn't in your default path. If you installed oracle
into /opt/ or wherever you'll have to modify your path accordingly.
You can do this one user at a time by editing ~/.bash_profile or you
can do this sytem-wide by making a file in /etc/profile.d/ called
oracle.sh with the contents similar to below

if ! echo ${PATH} | grep -q /path/to/oracle/install ; then
  PATH=${PATH}:/path/to/oracle/install/bin
fi

This will set oracle to the end of all future login paths, so you
should not after logging out/back in, you should see no more command
not found junk.

--
Jim Perrin
System Administrator
Ft Gordon & US Army Signal Center



More information about the CentOS mailing list