Could not connect to host 127.0.0.1 (port 8080).

Phil Pinkerton pcpinkerton at gmail.com
Mon Jun 11 12:54:42 UTC 2007


It seems like a simple port configuration issue but for the life of me I 
cannot remember how to fix it.

I installed Oracle-XE the DB is running but port 8080 is not active.

ps -deaf | grep oracle
oracle    5715     1  0 07:48 ?        00:00:00 
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr LISTENER 
-inherit


netstat -l  shows there is no port 8080 listening ?

/etc/services - shows default configuration

webcache        8080/tcp                        # WWW caching service

configuration Steps taken:

Specify the HTTP port that will be used for Oracle Application Express [8080]:*<enter>*

Specify a port that will be used for the database listener [1521]:*<enter>*

Specify a password to be used for database accounts.  Note that the same
password will be used for SYS and SYSTEM.  Oracle recommends the use of
different passwords for each database account.  This can be done after
initial configuration:*password*
Confirm the password:*password*

Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:*<enter>*

Starting Oracle Net Listener...Done
Configuring Database...Done
Starting Oracle Database 10g Express Edition Instance...Done
Installation Completed Successfully.

To access the Database Home Page go to "http://127.0.0.1:8080/apex"

Could not connect to host 127.0.0.1 (port 8080)


Log does not show port 8080 ??

$ cat  /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log

TNSLSNR for Linux: Version 10.2.0.1.0 - Production on 11-JUN-2007 07:48:28

Copyright (c) 1991, 2005, Oracle.  All rights reserved.

System parameter file is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Log messages written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Trace information written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/trace/listener.trc
Trace level is currently 0

Started with pid=5715
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=quecaixa.rio)(PORT=1521)))
Listener completed notification to CRS on start

TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
11-JUN-2007 07:48:29 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=quecaixa)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0










More information about the kubuntu-users mailing list