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/

 

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

2 comments

  1. What happens when TNS_01190 failed to initialized?

Leave a Reply

Your email address will not be published. Required fields are marked *