Tagged: listener log

ORACLE 12C : Listener service registration

With previous releases PMON (Process Monitor) was responsible for registering database services to the Listener. Starting from Oracle 12C there is a change in architecture with respect to the service registration in Oracle Database Release 12c. Oracle has introduced a new mandatory background process dedicated for “database service registration to the Listener” and named LREG (Listener Registration Process). The listener registration process (LREG) registers information about the database instance and dispatcher processes with the Oracle Net listener (see “The Oracle Net Listener”). When an instance starts, LREG polls the listener to determine whether it is running. If the listener is running,...

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...