hello
i successfully installed oracle 10g on CentOS 3 i can login at http://hostname:5500/em but after restarting the PC all i get is "The connection was refused when attempting to contact hostname:5500" thank you very much for your help.
rgds, Joeffrey
Joeffrey Betita wrote:
hello
kumusta?
i successfully installed oracle 10g on CentOS 3 i can login at http://hostname:5500/em but after restarting the PC all i get is "The connection was refused when attempting to contact hostname:5500" thank you very much for your help.
sounds like a service has not been enabled. try *'emctl start dbconsole' and see if you can login. *
On 7/7/05, Joeffrey Betita jmbetita@infoplus.com.ph wrote:
hello
i successfully installed oracle 10g on CentOS 3 i can login at http://hostname:5500/em but after restarting the PC all i get is "The connection was refused when attempting to contact hostname:5500" thank you very much for your help.
Have you verified that iptables is not blocking the connection? Check to make sure that your iptables rules allow for connections to port 5500, that and verify that oracle is set to run on boot. "chkconfig --list | grep oracle" should help you out with that.
-- Jim Perrin
Hello Joeffrey,
Did you create any init scripts to start the service? Like dbora and put it in /etc/rc.d/init.d
Hope that helps a bit! jer
Thursday, July 7, 2005, 3:43:14 AM, you wrote:
hello
i successfully installed oracle 10g on CentOS 3 i can login at http://hostname:5500/em but after restarting the PC all i get is "The connection was refused when attempting to contact hostname:5500" thank you very much for your help.
rgds, Joeffrey
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
where can i find the start scripts dbora. i can't seem to find it. thanks for your reply.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org]On Behalf Of Jerry57 (GMail) Sent: Thursday, July 07, 2005 8:43 PM To: CentOS mailing list Subject: Re: [CentOS] The connection was refused when attempting to contacthostname:5500
Hello Joeffrey,
Did you create any init scripts to start the service? Like dbora and put it in /etc/rc.d/init.d
Hope that helps a bit! jer
Thursday, July 7, 2005, 3:43:14 AM, you wrote:
hello
i successfully installed oracle 10g on CentOS 3 i can login at http://hostname:5500/em but after restarting the PC all i get is "The connection was refused when attempting to contact hostname:5500" thank you very much for your help.
rgds, Joeffrey
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- USE THE BEST . . .
Linux for servers . . .
Macintosh for graphics . . .
Palm for mobility . . .
Windows for solitaire!
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
You'll need to su to oracle and execute "emctl start dbconsole". The default oracle install doesn't start the enterprise manager (at least mine doesn't).
----- Original Message ----- From: "Joeffrey Betita" jmbetita@infoplus.com.ph To: centos@centos.org Sent: Thursday, July 07, 2005 5:43 AM Subject: [CentOS] The connection was refused when attempting to contacthostname:5500
hello
i successfully installed oracle 10g on CentOS 3 i can login at http://hostname:5500/em but after restarting the PC all i get is "The connection was refused when attempting to contact hostname:5500" thank you very much for your help.
rgds, Joeffrey
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
all i get after typing "emctl start dbconsole" command not found. thanks for your help
rgds, joeffrey
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org]On Behalf Of bryan davis Sent: Thursday, July 07, 2005 10:51 PM To: CentOS mailing list Subject: Re: [CentOS] The connection was refused when attempting tocontacthostname:5500
You'll need to su to oracle and execute "emctl start dbconsole". The default oracle install doesn't start the enterprise manager (at least mine doesn't).
----- Original Message ----- From: "Joeffrey Betita" jmbetita@infoplus.com.ph To: centos@centos.org Sent: Thursday, July 07, 2005 5:43 AM Subject: [CentOS] The connection was refused when attempting to contacthostname:5500
hello
i successfully installed oracle 10g on CentOS 3 i can login at http://hostname:5500/em but after restarting the PC all i get is "The connection was refused when attempting to contact hostname:5500" thank you very much for your help.
rgds, Joeffrey
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 7/8/05, Joeffrey Betita jmbetita@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
hello Jim i did what you suggested. but after typing "emctl start dbconsole" all i get is a failed connection error message. what should i do next? i'm lost. thanks for your help.
rgds, Joeffrey
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org]On Behalf Of Jim Perrin Sent: Friday, July 08, 2005 7:15 PM To: CentOS mailing list Subject: Re: [CentOS] The connection was refused when attemptingtocontacthostname:5500
On 7/8/05, Joeffrey Betita jmbetita@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 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 7/12/05, Joeffrey Betita jmbetita@infoplus.com.ph wrote:
hello Jim i did what you suggested. but after typing "emctl start dbconsole" all i get is a failed connection error message. what should i do next? i'm lost. thanks for your help.
I've not had the (dis)pleasure of running an oracle db so I can't say exactly. All I can do is point you in a direction that makes sense. First thing is to double check that iptables is not interfering. "service iptables off". Second, there is probably a config file for the db that acts as a master control, for mysql it's /etc/my.cnf etc. No clue what it is for oracle, but check it to be sure it's not blocking anything there. You can always lock it down later. I seem to recall something about oracle environment variables that have to be set, and oracle requiring a shell other than /sbin/nologin or /bin/false. No clue how accurate this is.
-- Jim Perrin System Administrator - UIT Ft Gordon & US Army Signal Center
----- Original Message ----- From: "Joeffrey Betita" jmbetita@infoplus.com.ph To: "CentOS mailing list" centos@centos.org Sent: Tuesday, July 12, 2005 3:07 AM Subject: RE: [CentOS] The connection was refused whenattemptingtocontacthostname:5500
hello Jim i did what you suggested. but after typing "emctl start dbconsole" all i get is a failed connection error message. what should i do next? i'm lost. thanks for your help.
rgds, Joeffrey
The oracle documentation has some coverage on how to work with enterprise manager (http://oraclesvca2.oracle.com/docs/cd/B14117_01/server.101/b10742/toc.htm). It's important that these commands be run as the oracle user with the appropriate environment variables set (ORACLE_HOME, PATH, ORACLE_SID).
Check those and copy and paste the exact response you're getting on the command line in a reply so we can see more about what's going on.
As Jim mentioned as well, you should turn iptables off just to make certain all the packets are getting through.
A good resource for installing oracle on CentOS/RHEL is http://www.oracle.com/technology/pub/articles/smiley_10gdb_install.html.
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
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org]On Behalf Of bryan davis Sent: Wednesday, July 13, 2005 3:51 AM To: CentOS mailing list Subject: Re: [CentOS] The connection was refusedwhenattemptingtocontacthostname:5500
----- Original Message ----- From: "Joeffrey Betita" jmbetita@infoplus.com.ph To: "CentOS mailing list" centos@centos.org Sent: Tuesday, July 12, 2005 3:07 AM Subject: RE: [CentOS] The connection was refused whenattemptingtocontacthostname:5500
hello Jim i did what you suggested. but after typing "emctl start dbconsole" all i get is a failed connection error message. what should i do next? i'm lost. thanks for your help.
rgds, Joeffrey
The oracle documentation has some coverage on how to work with enterprise manager (http://oraclesvca2.oracle.com/docs/cd/B14117_01/server.101/b10742/toc.htm). It's important that these commands be run as the oracle user with the appropriate environment variables set (ORACLE_HOME, PATH, ORACLE_SID).
Check those and copy and paste the exact response you're getting on the command line in a reply so we can see more about what's going on.
As Jim mentioned as well, you should turn iptables off just to make certain all the packets are getting through.
A good resource for installing oracle on CentOS/RHEL is http://www.oracle.com/technology/pub/articles/smiley_10gdb_install.html.
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 7/20/05, Joeffrey Betita jmbetita@infoplus.com.ph wrote:
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
Is this the bash file for YOUR user, or for the oracle user? Does the oracle user have a valid shell.
hello jim this bash_profile is for the oracle user. yes the oracle has a valid shell. thanks for your help.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org]On Behalf Of Jim Perrin Sent: Thursday, July 21, 2005 8:33 PM To: CentOS mailing list Subject: Re: [CentOS] The connection wasrefusedwhenattemptingtocontacthostname:5500
On 7/20/05, Joeffrey Betita jmbetita@infoplus.com.ph wrote:
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
Is this the bash file for YOUR user, or for the oracle user? Does the oracle user have a valid shell. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
----- Original Message ----- From: "Joeffrey Betita" jmbetita@infoplus.com.ph To: "CentOS mailing list" centos@centos.org Sent: Wednesday, July 20, 2005 10:35 PM Subject: RE: [CentOS] 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
hello bryan
all i get is Oracle Enterprise Manager 10g Database Control...failed after typing "emctl start dbconsole" what log file should i look into? thanks for your help.
rgds, Joeffrey
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org]On Behalf Of bryan davis Sent: Thursday, July 21, 2005 10:15 PM To: CentOS mailing list Subject: Re: [CentOS] The connectionwasrefusedwhenattemptingtocontacthostname:5500
----- Original Message ----- From: "Joeffrey Betita" jmbetita@infoplus.com.ph To: "CentOS mailing list" centos@centos.org Sent: Wednesday, July 20, 2005 10:35 PM Subject: RE: [CentOS] 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
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
----- Original Message ----- From: "Joeffrey Betita" jmbetita@infoplus.com.ph To: "CentOS mailing list" centos@centos.org Sent: Wednesday, July 27, 2005 4:48 AM Subject: RE: [CentOS] Theconnectionwasrefusedwhenattemptingtocontacthostname:5500
hello bryan
all i get is Oracle Enterprise Manager 10g Database Control...failed after typing "emctl start dbconsole" what log file should i look into? thanks for your help.
rgds, Joeffrey
For me the logs are in /app/oracle/10.1.0/db/raca_skyd1/sysman/log. This works out to $ORACLE_HOME/$HOSTNAME_$ORACLE_SID/sysman/log. See if there's anything meaningful in there.
did you start listner ? lsnrctl status if not start it lsnrctl start
--- Joeffrey Betita jmbetita@infoplus.com.ph wrote:
hello
i successfully installed oracle 10g on CentOS 3 i can login at http://hostname:5500/em but after restarting the PC all i get is "The connection was refused when attempting to contact hostname:5500" thank you very much for your help.
rgds, Joeffrey
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com