I've just installed Oracle 10g Express on my home computer but when I try to go to the database Home Page,
I get this error:
This site is inaccessible 127.0.0.1 does not allow the connection
I'm using Windows 10.
I've run lsnrctl status and here is the lsnrctl output:
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 11-NOV. -2017 17:57:18
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connexion Ó (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUT du PROCESSUS D'ECOUTE
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Date de dÚpart 11-NOV. -2017 16:03:51
DurÚe d'activitÚ 0 jours 2 heures 1 min. 52 sec
Niveau de trace off
SÚcuritÚ ON: Local OS Authentication
SNMP OFF
Fichier de paramÞtres du processus d'Úcoute C:\app\USER\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
Fichier journal du processus d'Úcoute C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
RÚcapitulatif d'Úcoute des points d'extrÚmitÚ...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
RÚcapitulatif services...
Le service "CLRExtProc" comporte 1 instance(s).
L'instance "CLRExtProc", statut UNKNOWN, comporte 1 gestionnaire(s) pour ce service...
Le service "orcl" comporte 1 instance(s).
L'instance "orcl", statut READY, comporte 1 gestionnaire(s) pour ce service...
Le service "orclXDB" comporte 1 instance(s).
L'instance "orcl", statut READY, comporte 1 gestionnaire(s) pour ce service...
La commande a rÚussi
Does anyone know what might be wrong here?
Related
I get the listener error when I run this command:-
./sqlplus anju/XXXX#999.000.0.000/ORA12C
I did start my listener still it doesn't work.
SNRCTL for Linux: Version 12.2.0.1.0 – Production on 14-MAY-2020 10:21:14
Copyright (c) 1991, 2016, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=999.000.0.000)(PORT=1539)))
STATUS of the LISTENER
————————
Alias LISTENER
Version TNSLSNR for Linux: Version 12.2.0.1.0 – Production
Start Date 14-MAY-2020 10:12:47
Uptime 0 days 0 hr. 8 min. 27 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /ora01/app/oracle/product/12.2.0/db_1/network/admin/listener.ora
Listener Log File /ora01/app/oracle/diag/tnslsnr/server/listener/alert/log.xml
Listening Endpoints Summary…
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=999.000.0.000)(PORT=1539)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=server)(PORT=5500))(Security=(my_wallet_directory=/ora01/app/oracle/admin/orcl/xdb_wallet))(Presentation=HTTP)(Session=RAW))
Services Summary…
Service “ORA12CXDB” has 1 instance(s).
Instance “ORA12C”, status READY, has 1 handler(s) for this service…
Service “a50ca342f86bccc0e0536801a8c085de” has 1 instance(s).
Instance “ORA12C”, status READY, has 1 handler(s) for this service…
Service “orcl” has 1 instance(s).
Instance “ORA12C”, status READY, has 1 handler(s) for this service…
Service “orclpdb” has 1 instance(s).
Instance “ORA12C”, status READY, has 1 handler(s) for this service…
The command completed successfully
and if I run the below command I get the same error:-
./sqlplus anju/XXXXX#999.000.0.000/ORA12C
SQL*Plus: Release 12.2.0.1.0 Production on Thu May 14 10:34:59 2020
Copyright (c) 1982, 2016, Oracle. All rights reserved.
ERROR:
ORA-12541: TNS:no listener
this is my listener.ora file:-
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 999.000.0.000)(PORT = 1539))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)
Could you please help..!!!
The view v$active_services and dba_services and cdb_services are showing the PDB service. But listener is not starting or listing the PDB service.
What would be the issue?
Restarted listener, db but issue was not fixed.
PDBs are dropme2 and servicetest
SERVICE_ID NAME NETWORK_NAME CON_NAME
1 SYS$BACKGROUND CDB$ROOT
2 SYS$USERS CDB$ROOT
3 host_prim_wfscdb host_prim_wfscdb CDB$ROOT
4 WFSCDB_CFG WFSCDB_CFG CDB$ROOT
6 host_prim_wfscdb_DGB host_prim_wfscdb_DGB CDB$ROOT
12 dropme2 dropme2 DROPME2
14 servicetest servicetest SERVICETEST
oracle#host_prim:~$ lsnrctl stat
LSNRCTL for Linux: Version 18.0.0.0.0 - Production on 26-FEB-2020 17:19:20
Copyright (c) 1991, 2018, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=host_prim)(PORT=1529)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 18.0.0.0.0 - Production
Start Date 26-FEB-2020 16:49:55
Uptime 0 days 0 hr. 29 min. 24 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/app/oracle/product/18.0.0/network/admin/listener.ora
Listener Log File /opt/oracle/app/oracle/product/18.0.0/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host_prim)(PORT=1529)))
Services Summary...
Service "WFSCDB" has 1 instance(s).
Instance "WFSCDB", status UNKNOWN, has 1 handler(s) for this service...
Service "host_prim_wfscdb_DGMGRL" has 1 instance(s).
Instance "WFSCDB", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
oracle#host_prim:~$ lsnrctl services
LSNRCTL for Linux: Version 18.0.0.0.0 - Production on 26-FEB-2020 17:22:57
Copyright (c) 1991, 2018, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=host_prim)(PORT=1529)))
Services Summary...
Service "WFSCDB" has 1 instance(s).
Instance "WFSCDB", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1 refused:0
LOCAL SERVER
Service "host_prim_wfscdb_DGMGRL" has 1 instance(s).
Instance "WFSCDB", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully```
Found the issue.
local_listener init.ora parameter was having typo.
Fixed the typo and missing services are now showing up!!
I had downloaded oracle 12c in my windows 10 laptop and completed all configurations as asked. While connecting sql plus through cmd, i am getting above error. Also checked the running services but didn't help.
Can anyone let me how to connect? or whats the problem.
CMD log :
C:\Users\jinda>sqlplus sys/Oracle_1#pdborcl as sysdba;
SQL*Plus: Release 12.2.0.1.0 Production on Mon Oct 9 21:14:23 2017
Copyright (c) 1982, 2016, Oracle. All rights reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name: lsnrctl services
SP2-0306: Invalid option.
Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM|SYSRAC}] [edition=value]]
where <logon> ::= <username>[/<password>][#<connect_identifier>]
<proxy> ::= <proxyuser>[<username>][/<password>][#<connect_identifier>]
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\Users\jinda>lsnrctl services
LSNRCTL for 64-bit Windows: Version 12.2.0.1.0 - Production on 09-OCT-2017 21:16:54
Copyright (c) 1991, 2016, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1522)))
Services Summary...
Service "1aebfa0274e749d5b9becde74103f248" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:8 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: DESKTOP-N4NI40G, pid: 3592>
(ADDRESS=(PROTOCOL=tcp)(HOST=DESKTOP-N4NI40G)(PORT=58940))
Service "pdborcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
C:\Users\jinda>
I tried several times installing the 64 bit client from oracle for my Visual studio program.
But I always get this error:
Démarrage de "Préparer les étapes de configuration"
Démarrage de "Préparer les étapes de configuration"
'Préparer les étapes de configuration' terminé
Démarrage de "Services Oracle pour Microsoft Transaction Server"
Echec de l'élément Services Oracle pour Microsoft Transaction Server.
Configuration terminée avec le statut global Echec
I have oracle server 11g installed on my windows 7 machine. I have to install this server from a remote machine. Remote machine is a 64 bit system,with Ubuntu 12.10. To access the server I installed Oracle instant client and configured eveything.
ORACLE_HOME, TNS_ADMIN, PATH, LD_LIBRARY_PATH all are set, and are pointing to correct locations.
My tnsname.ora file:
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ravi)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.xxx.com)
)
)
My sqlnet.ora file
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
My tnslistener on the server is up and running.
LSNRCTL> services
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl.xxx.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:221 refused:0 state:ready
LOCAL SERVER
Service "orclXDB.xxx.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: ravi, pid: 4844>
(ADDRESS=(PROTOCOL=tcp)(HOST=ravi.xxx.com)(PORT=49239))
The command completed successfully
Even after setting all these, Im not able to connect to the server.
When I issue sqlplus user1#orcl command I get
ravi#ubuntu:~/app/ravi/product/11.2.0/dbhome_1/bin$ sqlplus user1#orcl
SQL*Plus: Release 11.2.0.1.0 Production on Thu Apr 25 01:17:01 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
I have seen all these posts,
Sqlplus login error when using bash variables: SP2-0306: Invalid option
ora-12154 could not resolve... with oracle instant client
and infact many other posts, but none of them is resolving my issue.
Requesting for help
Thanks in Advance
Your listener is not properly configured, i think...
Could you upload:
.- listener.ora ?
.- netstat -na|grep 1521
This is one of my output of "services"
LSNRCTL> services
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
Services Summary...
Service "eva" has 1 instance(s).
Instance "eva1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:39 refused:0 state:ready
And my netstat
[oracle#laborac1 ~]$ netstat -na|grep 1521
tcp 0 0 192.168.113.152:1521 0.0.0.0:* LISTEN
tcp 0 0 192.168.113.150:1521 0.0.0.0:* LISTEN