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!

listener log missing ?

user8363520Aug 17 2011 — edited Aug 18 2011
hello all, i am on 11.2 and try to find where the listiner log is set too, i did all the below. Oracle says its at a specific location but when at OS level there is no such location....
hostname 45: lsnrctl status LISTENER_TEST

LSNRCTL for HPUX: Version 11.2.0.1.0 - Production on 17-AUG-2011 17:17:50

Copyright (c) 1991, 2009, Oracle.  All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=TEST.WORLD))
STATUS of the LISTENER
------------------------
Alias                     LISTENER_TEST
Version                   TNSLSNR for HPUX: Version 11.2.0.1.0 - Production
Start Date                25-JUL-2011 03:58:39
Uptime                    23 days 13 hr. 19 min. 10 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /oracle/TEST/112_64/network/admin/listener.ora
Listener Log File         /oracle/diag/tnslsnr/hostname/LISTENER_TEST/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=TEST.WORLD)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=TEST)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxxxxxx)(PORT=xxxx)))
Services Summary...
Service "TEST" has 2 instance(s).
  Instance "TEST", status UNKNOWN, has 1 handler(s) for this service...
  Instance "TEST", status READY, has 1 handler(s) for this service...
The command completed successfully
hostname 46:
hostname 46:
hostname 46:
hostname 46: ls /oracle/diag/tnslsnr/hostname/LISTENER_TEST/alert/log.xml
/oracle/diag/tnslsnr/hostname/LISTENER_TEST/alert/log.xml not found
hostname 47:
hostname 47:
hostname 47: lsnrctl 

LSNRCTL for HPUX: Version 11.2.0.1.0 - Production on 17-AUG-2011 17:18:13

Copyright (c) 1991, 2009, Oracle.  All rights reserved.

Welcome to LSNRCTL, type "help" for information.

LSNRCTL> set current_listener LISTENER_TEST
Current Listener is LISTENER_TEST
LSNRCTL> show log_status
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=TEST.WORLD))
LISTENER_TEST parameter "log_status" set to ON
The command completed successfully
LSNRCTL>
LSNRCTL> show log_file
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=TEST.WORLD))
LISTENER_TEST parameter "log_file" set to /oracle/diag/tnslsnr/hostname/LISTENER_TEST/alert/log.xml
The command completed successfully
LSNRCTL>
LSNRCTL> show log_status
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=TEST.WORLD))
LISTENER_TEST parameter "log_status" set to ON
The command completed successfully
LSNRCTL> show trc_directory
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=TEST.WORLD))
LISTENER_TEST parameter "trc_directory" set to /oracle/diag/tnslsnr/hostname/LISTENER_TEST/trace
The command completed successfully
LSNRCTL>
LSNRCTL> exit


hostname 48: cd /oracle/diag/tnslsnr/hostname/LISTENER_TEST/trace
/oracle/diag/tnslsnr/hostname/LISTENER_TEST/trace: No such file or directory
hostname 49: ls -ltr /oracle/diag/tnslsnr/hostname/listener_test/alert/log.xml
/oracle/diag/tnslsnr/hostname/listener_test/alert/log.xml not found
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 15 2011
Added on Aug 17 2011
14 comments
2,108 views