lsnrctl: command not found

So, you’re trying to start your Oracle DB listener and are met with the frustrating “lsnrctl: command not found” error?

Issue

[oracle@VHOST2 ~]$ lsnrctl

-bash: lsnrctl: command not found

lsnrctl command not found Issue

How to Fix? Solution

Well, let’s break it down.

This error usually occurs when the system can’t find the lsnrctl command due to a missing or incorrect PATH environment variable configuration.

How do we fix this issue?

To fix this issue, you must first confirm if the Oracle Home path is correctly set in your system’s environment variables. If not, you’ll want to locate the correct directory where lsnrctl is stored (usually within your Oracle installation directory) and then add that path to your system’s PATH variable.

lsnrctl command not found Issue-fix

Once that’s done, you should be able to successfully start up your Oracle DB listener without any more hiccups.

Let me know in comments if this worked for you.


Posted

in

by

Tags: