Home » RDBMS Server » Server Administration » clarification of listener log
clarification of listener log [message #63190] Thu, 16 September 2004 09:05 Go to next message
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 #63191 is a reply to message #63190] Thu, 16 September 2004 09:17 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
wierd.
make sure the moved file is not having any symbolic link.
Usualy listener.log will be recreated in the old_location.
Re: clarification of listener log [message #63192 is a reply to message #63191] Thu, 16 September 2004 09:45 Go to previous messageGo to next message
shyam
Messages: 25
Registered: January 2001
Junior Member
thers is no symbolic link for it
i tried in another server same result.
HOw to restrict it or whats the solution for this
Re: clarification of listener log [message #63193 is a reply to message #63192] Thu, 16 September 2004 10:38 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
I was not able to reproduce the case.
May be try bounce the listener.
stop and re-start.
THis should crate a new listener.log in OLD_LOCATION.
Re: clarification of listener log [message #63194 is a reply to message #63192] Thu, 16 September 2004 10:48 Go to previous message
Mahesh Rajendran
Messages: 10707
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).
Previous Topic: Urgent: Export only 1 schema (user)
Next Topic: ORA-00600
Goto Forum:
  


Current Time: Fri Sep 27 08:25:00 CDT 2024