Site icon IT Tutorial

TNS-01190: The user is not authorized to execute the requested listener command

Hi,

Sometimes You can get “TNS-01190: The user is not authorized to execute the requested listener command ” error.

 

Details of error are as follows.

TNS-01190: The user is not authorized to execute the requested listener command
Cause: Most of the listener administrative commands are only intended to be issued by privileged users,
for example DBAs or system administrators. If the listener password is not set, then the listener only accepts administrative
requests from LSNRCTL running with the same OS credentials, or running as a local administrator (also referred to as super user).
Action: If an authorized user is attempting the command, then make sure that LSNRCTL is executed with the same OS user credentials
as the running listener, or as a local administrator.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))

TNS-01190: The user is not authorized to execute the requested listener command

 

This issue was caused hang of listener. So kill the listener process from OS with kill -9 , then try again.

 

Or check /var/tmp/.oracle file ownership, it should be oracle:dba or oracle:oinstall, if it is root then change it.

chown oracle:dba /var/tmp/.oracle

 

For Windows environment:

 

As OS Authentication became malfunctioning, you will need to use Password Authentication as follows:

1. LSNRCTL> set current_listener <listener_name>

2. LSNRCTL> change_password
Old password: <enter_old_password>
New password: <enter_new_password> (text is not echoed)
Reenter new password: <reenter_new_password> (text is not echoed)

3. LSNRCTL> save_config

4. LSNRCTL> exit


 

Do you want to learn more details about RMAN, then read the following articles.

https://ittutorial.org/rman-backup-restore-and-recovery-tutorials-for-beginners-in-the-oracle-database/

 

Exit mobile version