Oracle XE : Problème de listener
Bonjour,
Je dois installer Oracle express 10g et SQL Developper sur une debian.
Voila où j'en suis en ce moment:
- libaio installer
- oracle-xe-universal installer
- $lsnrctl status
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
SNRCTL for Linux: Version 10.2.0.1.0 - Production on 17-FEB-2013 16:40:30
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 17-FEB-2013 14:25:32
Uptime 0 days 2 hr. 14 min. 57 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=debian)(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 |
J'ai l'impression qu'il manque le service XE (En comparaison à d'autre post.
-$ cat listener.ora
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
# listener.ora Network Configuration File:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
(PROGRAM = extproc)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = debian)(PORT = 1525))
)
)
DEFAULT_SERVICE_LISTENER = (XE) |
Et voici les erreurs que j'obtiens:
- Impossible d'ouvrir le home page de oracle, j'ai l'impression que rien n'écoute le port 8080
- SQL Developper me dit que (SID=XE)
Code:
1 2 3
|
Status : Failure -Test failed: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor |
- $ sqlplus system/xxxxxx@xe
Code:
1 2 3 4 5 6 7
|
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 17 16:46:15 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12541: TNS:no listener |
j'indique aussi que mon /etc/hosts donne :
Code:
1 2 3 4 5 6 7 8 9 10
|
127.0.0.1 localhost
127.0.1.1 debian
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters |
Merci pour votre aide.