Been trying to connect to oracle-xe 10g on fedora12 linux for a week. I'm a real newb and just starting to learn linux and oracle. When I try to connect to home admin page the error I get is:
Unable to connect
Firefox can't establish a connection to the server at 127.0.0.1:8080
Tried this:
# telnet localhost 8080
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
below I pasted some output to help diagnose problem. I noticed that this is an issue to a lot of people. But I have'nt seen a clear answer on how to fix the problem. I used the following commands from forums not my memory.
After I start database
# using service oracle-xe start
and use
# service oracle-xe status
I get this
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 26-NOV-2009 11:26:39
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 26-NOV-2009 09:09:54
Uptime 0 days 2 hr. 16 min. 45 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
# netstat -tlnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1166/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 927/cupsd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1337/sendmail: acce
tcp 0 0 0.0.0.0:36520 0.0.0.0:* LISTEN 1118/rpc.statd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 892/rpcbind
tcp 0 0 0.0.0.0:1521 0.0.0.0:* LISTEN 2057/tnslsnr
tcp 0 0 :::22 :::* LISTEN 1166/sshd
tcp 0 0 ::1:631 :::* LISTEN 927/cupsd
tcp 0 0 :::443 :::* LISTEN 1231/httpd
tcp 0 0 :::111 :::* LISTEN 892/rpcbind
tcp 0 0 :::80 :::* LISTEN 1231/httpd
# ps ax
PID TTY STAT TIME COMMAND
1817 ? S 0:00 /usr/libexec/notification-area-applet --oaf-activate-iid=OAF
1823 ? S 0:00 /usr/libexec/gvfsd-burn --spawner :1.7 /org/gtk/gvfs/exec_sp
1835 ? Ss 0:00 /sbin/mount.ntfs /dev/sdb1 /media/Local Disk -o rw,nosuid,no
1857 ? S 0:00 /bin/sh /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/
1858 ? S 0:00 /bin/sh /usr/lib64/firefox-3.5.5/run-mozilla.sh /usr/lib64/f
1874 ? Sl 2:18 /usr/lib64/firefox-3.5.5/firefox
http://127.0.0.1:8080/apex
1947 ? Sl 0:04 gnome-terminal
1948 ? S 0:00 gnome-pty-helper
1949 pts/0 Ss 0:00 bash
1994 pts/0 S 0:00 su
2000 pts/0 S 0:00 bash
2057 ? Ss 0:00 /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnsl
11179 ? S< 0:00 [scsi_eh_2]
11180 ? S< 0:00 [usb-storage]
11185 ? S< 0:00 /sbin/udevd -d
11187 ? S< 0:00 /sbin/udevd -d
11197 ? S 0:00 hald-addon-storage: polling /dev/sdc (every 2 sec)
11207 ? S 0:00 /usr/libexec/gvfsd-metadata
11337 pts/0 R+ 0:00 ps ax
[root@impulse impulse]# service oracle-xe status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 26-NOV-2009 11:26:39