can't connect to apex homepage [message #589908] |
Thu, 11 July 2013 18:02 |
|
ashiers
Messages: 21 Registered: July 2013 Location: Bedford, Nova Scotia
|
Junior Member |
|
|
hi there,
I tried posting this on Oracles official forum, but my post was ignored, which is frustrating. I'm hoping someone here is able to help.
I'm new to Oracle and find the learning curve steep. I'm more of a MySQL kind of guy. Anyway, I downloaded Oracle Database Express Edition
but I'm unable to connect to the home page via browser using http://localhost:8080/apex.
I need some help getting set up.
When I perform the following commands:
SQL> conn / as sysdba
SQL> select status from v$instance;
I get:
STATUS
______
OPEN
The results of running command lsnrctl status are:
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 10-JUL-2013 12:37
:57
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
Start Date 10-JUL-2013 09:02:34
Uptime 0 days 3 hr. 35 min. 23 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\Alan-PC\listener\a
lert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Alan-PC)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Alan-PC)(PORT=8080))(Presentation=HT
TP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
The command completed successfully
The results of running command netstat -a -o:
C:\Users\Alan>netstat -a -o
Active Connections
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:135 Alan-PC:0 LISTENING 776
TCP 0.0.0.0:445 Alan-PC:0 LISTENING 4
TCP 0.0.0.0:554 Alan-PC:0 LISTENING 2660
TCP 0.0.0.0:1025 Alan-PC:0 LISTENING 436
TCP 0.0.0.0:1026 Alan-PC:0 LISTENING 832
TCP 0.0.0.0:1027 Alan-PC:0 LISTENING 992
TCP 0.0.0.0:1028 Alan-PC:0 LISTENING 504
TCP 0.0.0.0:1032 Alan-PC:0 LISTENING 1672
TCP 0.0.0.0:1033 Alan-PC:0 LISTENING 488
TCP 0.0.0.0:1521 Alan-PC:0 LISTENING 1732
TCP 0.0.0.0:2869 Alan-PC:0 LISTENING 4
TCP 0.0.0.0:3306 Alan-PC:0 LISTENING 3424
TCP 0.0.0.0:8080 Alan-PC:0 LISTENING 1732
TCP 0.0.0.0:10243 Alan-PC:0 LISTENING 4
TCP 127.0.0.1:1029 Alan-PC:0 LISTENING 1732
TCP 127.0.0.1:1032 Alan-PC:1243 ESTABLISHED 1672
TCP 127.0.0.1:1243 Alan-PC:1032 ESTABLISHED 2396
TCP 127.0.0.1:5939 Alan-PC:0 LISTENING 1836
TCP 192.168.2.13:139 Alan-PC:0 LISTENING 4
TCP 192.168.2.13:1900 a23-59-224-63:https CLOSE_WAIT 5736
TCP [::]:135 Alan-PC:0 LISTENING 776
TCP [::]:445 Alan-PC:0 LISTENING 4
TCP [::]:554 Alan-PC:0 LISTENING 2660
TCP [::]:1025 Alan-PC:0 LISTENING 436
TCP [::]:1026 Alan-PC:0 LISTENING 832
TCP [::]:1027 Alan-PC:0 LISTENING 992
TCP [::]:1028 Alan-PC:0 LISTENING 504
TCP [::]:1032 Alan-PC:0 LISTENING 1672
TCP [::]:1033 Alan-PC:0 LISTENING 488
TCP [::]:1521 Alan-PC:0 LISTENING 1732
TCP [::]:2869 Alan-PC:0 LISTENING 4
TCP [::]:3306 Alan-PC:0 LISTENING 3424
TCP [::]:8080 Alan-PC:0 LISTENING 1732
TCP [::]:10243 Alan-PC:0 LISTENING 4
TCP [fe80::8d6f:e8b2:9e8a:e855%10]:1031 Alan-PC:1521 ESTABLISHED
1672
TCP [fe80::8d6f:e8b2:9e8a:e855%10]:1090 Alan-PC:1091 ESTABLISHED
1672
TCP [fe80::8d6f:e8b2:9e8a:e855%10]:1091 Alan-PC:1090 ESTABLISHED
1732
TCP [fe80::8d6f:e8b2:9e8a:e855%10]:1092 Alan-PC:1093 ESTABLISHED
1672
TCP [fe80::8d6f:e8b2:9e8a:e855%10]:1093 Alan-PC:1092 ESTABLISHED
1732
TCP [fe80::8d6f:e8b2:9e8a:e855%10]:1521 Alan-PC:1031 ESTABLISHED
1732
TCP [fe80::8d6f:e8b2:9e8a:e855%10]:1919 Alan-PC:8080 FIN_WAIT_2
5928
TCP [fe80::8d6f:e8b2:9e8a:e855%10]:8080 Alan-PC:1919 CLOSE_WAIT
1732
I see a reference to port 8080 but I don't know if it is really listening on localhost = 127.0.0.1.
When I go into Windows Services it does say OracleServiceXE started and
OracleXETNSListener started.
I don't know where to go from here.
Please advise.
Alan
|
|
|
|
|
|
Re: can't connect to apex homepage [message #589954 is a reply to message #589952] |
Fri, 12 July 2013 08:01 |
|
ashiers
Messages: 21 Registered: July 2013 Location: Bedford, Nova Scotia
|
Junior Member |
|
|
The same thing happens. Actually, I do have Tomcat and I knew there would be a conflict on port 8080. So I went into the server.xml file for Tomcat and changed the port to just 80. I'm able to turn Tomcat on and off and currently am not even running it. So, as far as I know, there shouldn't be any interference with Oracle. But I have been wrong in the past. I am running Windows 7 and even thought of the firewall. I went into Windows Control Panel and tried to access the firewall to shut it down but it won't let me. Maybe you know of another way to shut it down, by editing a script somewhere? Maybe since I'm running the Home Premium edition of Windows it doesn't permit access? I don't know. I have Vipre Antivirus as well and temporarily shut it down to test. That had no affect either.
Alan
[Updated on: Fri, 12 July 2013 08:55] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: can't connect to apex homepage [message #590025 is a reply to message #590023] |
Sat, 13 July 2013 12:31 |
|
ashiers
Messages: 21 Registered: July 2013 Location: Bedford, Nova Scotia
|
Junior Member |
|
|
Hi Littlefoot,
I ran the command you suggested inside SQL *Plus and this is what I got:
SQL*Plus: Release 11.2.0.2.0 Production on Sat Jul 13 14:28:04 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> show user
USER is ""
SQL> select username, account_status
2 from dba_users
3 where username like '%APEX%';
SP2-0640: Not connected
This is getting to be so frustrating, I'm thinking to reinstall Oracle on a different machine on the network and simply try to connect to it over the network.
[Updated on: Sat, 13 July 2013 12:37] Report message to a moderator
|
|
|
Re: can't connect to apex homepage [message #590027 is a reply to message #590015] |
Sat, 13 July 2013 12:34 |
John Watson
Messages: 8961 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Getting the telnet blinking cursor is good news: it means that there is something listening on that port (which you already knew from netstat) and furthermore that Windows is letting you connect to it, and therefore there is NO problem with your firewall.
|
|
|
|
|
|
|
Re: can't connect to apex homepage [message #590041 is a reply to message #590034] |
Sat, 13 July 2013 13:07 |
John Watson
Messages: 8961 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
I can't say I blame you for this decision. A word of warning, if you are new to this: de-installing Oracle products can be a bit of a mission. Probably best to use the installer to do it (you'll find a link to the Universal Installer on your Start menu) and then tidy up by removing the Oracle registry key in hkey_local_machine/software and the Oracle services in hkey_local_machine/system/current_control_set, and any references to Oracle in your system environment variables, and finally delete any Oracle related directories.
Good luck on your next install.
(ps - referring to "a blinking cursor" is quite funny to an Englishman. Is "blinking" ever used as an expletive in Nova Scotia?)
|
|
|
|