Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

TNS-01251: Cannot set trace/log directory under ADR

misterimranAug 5 2010 — edited Jul 6 2012
Dear All,

My Database is Oracle 11gR2 and operating system is Linux.

I am trying to turn on logging for the listener using the commands:

Lsnrctl> set log_directory /DB/oracle/product/11.1.0/db_1/network/admin/
Lsnrctl> set log_file itlistener.log
Lsnrctl> set log_status on
Lsnrctl> save_config

Lsnrctl> set log_directory /DB/oracle/product/11.1.0/db_1/network/admin/ when i execute this command i get the following error:

TNS-01251: Cannot set trace/log directory under ADR

Is there any solution to get out of this error and log listener?

Thanks,
Imran
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 3 2012
Added on Aug 5 2010
6 comments
7,184 views