Tagged: oracle database listener log filesystem

Move listener log to another filesystem

Run lsnrctl command to change listener’s settings: [db000oracle@]/app/oracle/listener/log > lsnrctl Set the listener interested: LSNRCTL> set current_listener LSNR_[db_name] Current Listener is LSNR_[db_name] LSNRCTL> show log_status Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=BSCS)) LSNR_[db_name] parameter “log_status” set to ON The command completed successfully Change log_status to off so you can move the associated log: LSNRCTL> set log_status OFF Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=BSCS)) listener_[db_name] parameter “log_status” set to OFF The command completed successfully At this point, you may rename the file and move it to the new directory mv listener_[db_name].log listener_[db_name].log_[date] mv listener_[db_name].log_[date] /LSNR_LOG Recreate the file you just renamed: touch listener_[db_name].log By now is possible to...