denrepo

OracleInstance & database

Listener status and services (lsnrctl)

What the listener is doing and which services it knows about, from the database server. Then test the path from a client machine. Pairs with Listener registration and services.

OS prompt

Not yet verified. How scripts are tested

ora-lsnr-status.sh
1# On the database server, as the listener owner (oracle, or grid on Grid Infrastructure)2lsnrctl status3lsnrctl services4 5# With Grid Infrastructure6srvctl status listener7srvctl status scan_listener8 9# From a client machine: name resolution, then the network path10tnsping <alias>11nc -vz <db_host> 1521

Run these at the operating system prompt.

Open in denrepoRelated tool: Connection string builder

Helps with

More Oracle scripts: Instance & database