TNS-01251: Cannot set trace/log directory under ADR
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