clarification of listener log [message #63190] |
Thu, 16 September 2004 09:05 |
shyam
Messages: 25 Registered: January 2001
|
Junior Member |
|
|
hi
my listerner.log size is 5 mb i moved to another file(solaris mv ).Then i didnt created any listener.log .When i connect thru sqlplu using connect string its updating the old file that i renamed in different location.Why its not createing like alter.log file.Why its not giving error.How to restrict to move this file when its in use.or why its updating the renamed file in different location
with regards
shyam
|
|
|
|
|
|
Re: clarification of listener log [message #63194 is a reply to message #63192] |
Thu, 16 September 2004 10:48 |
|
Mahesh Rajendran
Messages: 10708 Registered: March 2002 Location: oracleDocoVille
|
Senior Member Account Moderator |
|
|
bash-2.03$ lsnrctl
LSNRCTL for Solaris: Version 9.2.0.4.0 - Production on 16-SEP-2004 14:46:58
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> help
The following operations are available
An asterisk (*) denotes a modifier or extended command:
start stop status
services version reload
save_config trace spawn
change_password quit exit
set* show*
LSNRCTL> show
The following operations are available after show
An asterisk (*) denotes a modifier or extended command:
rawmode displaymode trc_file
trc_directory trc_level log_file
log_directory log_status current_listener
startup_waittime snmp_visible save_config_on_stop
LSNRCTL> show log_directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=abracadabra)(PORT=1521)))
LISTENER parameter "log_directory" set to /u01/app/oracle/product/9.2.0/network/log/
The command completed successfully
check the log_directory.
if it is pointing somewhere else , setit correctly
SET log_directory your_path
set it where u want ( adhere to OFA).
|
|
|