I am getting the following error when I ma trying to install SAP on Orcle DB
and please find attached log files
LSNRCTL for 64-bit Windows: Version 188.8.131.52.0 - Production on 29-MAY-2023 16:00:16
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNSLSNR for 64-bit Windows: Version 184.108.40.206.0 - Production
System parameter file is D:\app\Administrator\product\11.2.0\dbhome_1\network\admin\listener.ora
Log messages written to D:\app\Administrator\diag\tnslsnr\ecc6\listener\alert\log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ecc6)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\C11.WORLDipc)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\C11ipc)))
Error listening on: (DESCRIPTION=(ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=ecc6)(PORT=1521)))
TNS-12542: TNS:address already in use
TNS-12560: TNS:protocol adapter error
TNS-00512: Address already in use
64-bit Windows Error: 48: Unknown error
Listener failed to start. See the error message(s) above...
Please suggest me how can I fix this issue.
Post contents of D:\app\Administrator\diag\tnslsnr\ecc6\listener\alert\log.xml.
Check if there is already another listener process running and stop this process.
Also use telnet to check if you can access port which will indicate if already in use. Or if there is port conflict in your tnsnames.ora and listener.ora files perhaps i.e. they differ.
Have you tried to test also with tnsping?
Refer section Fixing the ORA-12542 on Windows from the link below.
Hope this helps.
is this a new system or was oracle installed before, if so please check and kill any listener process running by stopping the services.
if this is a vinilla system do as Thiago suggested to see if the port is in use
netstat -na | findstr 1521
if the port is in use you have 2 options, changing the port number of the listener or by changing the other application using this port number
change the listener port to 1525 and manually restart the oracle services or check the tnsping sid in the command prompt before changing the listener port number . probably the port might be used for VNC viewer or some TCP ports in the server or some OS related or application related ports