Showing posts with label Listener error :- listener know no service. Show all posts
Showing posts with label Listener error :- listener know no service. Show all posts

Monday, January 22, 2024

Listener error :- listener know no service

[oracle@pm ~]$ cat /u02/app/oracle/homes/OraDB21Home1/network/admin/listener.ora

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = pm)(PORT = 1522))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    )
  )



ADR_BASE_LISTENER = /u02/app/oracle

 oracle@pm ~]$ lsnrctl status


LSNRCTL for Linux: Version 21.0.0.0.0 - Production on 22-JAN-2024 23:09:56
Copyright (c) 1991, 2021, Oracle.  All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=pm)(PORT=1522)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 21.0.0.0.0 - Production
Start Date                22-JAN-2024 23:02:59
Uptime                    0 days 0 hr. 6 min. 56 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u02/app/oracle/homes/OraDB21Home1/network/admin/listener.ora
Listener Log File         /u02/app/oracle/diag/tnslsnr/pm/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pm.shaikh.com)(PORT=1522)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1522)))
listener currently know no service...

follow below steps:-
=================
SQL> alter system set local_listener='(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pm.shaikh.com)(PORT=1522)))';

SQL> alter system register;
SQL> startup force;

$ lsnrctl reload 
$ lsnrctl status




netca 
ipc protocol key = extproc
tcp as it is 

Enable OpenSSH on Windows 11

Step 1: Install OpenSSH Server You can do this via PowerShell (run as Administrator ): Check if it's already available: Get-WindowsCapab...