I have installed Oracle Express 11g on my windows 8 desktop. Prior to installing I checked ORACLE_HOME was not set. After installing it still wasn't. So I created it:
ORACLE_HOME=E:\DATA\Dev\Oracle11gXE\app\oracle\product\11.2.0\server
I have not touched any other file.
When I check the services OracleServiceXE is running but OracleXETNSListener refuses to start. I need it for sql developer, etc.
Don't know if it's related but when I try and open 'get started' icon which goes to: http://127.0.0.1:8080/apex/f?p=4950 I just get a page not found and port 8080 is fine to open (as I run tomcat) despite tomcat, etc not running.
When I check the log.xml all I see is about 10 repeating items like this:
<msg time='2015-07-07T18:52:01.076+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='NCOMPUTER'
host_addr='fe80::10e2:c588:6413:cf%3' version='1'>
<txt>Message 279 not found; No message file for product=NETWORK, facility=NL
</txt>
</msg>
I tried changing the listener file to use localhost but get the same error, as do with tnsnames.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = E:\DATA\Dev\Oracle11gXE\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = E:\DATA\Dev\Oracle11gXE\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
)
DEFAULT_SERVICE_LISTENER = (XE)
and
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
Best Answer
For me the problem was the wrong oracle_home set.
The default home should be something like this:
C:\app\Administrator\product\11.2.0\dbhome_1