The Easiest Way To Truncate the Oracle Database listener.log On A Linux Server
Share
On Linux, locate the listener.log file of the Oracle Database. Then, use the following procedure to zip & truncate the listener.log file of an Oracle Database:
$ zip listener.log.zip listener.log $ cat /dev/null > listener.log
This will zip and truncate the listener.log file and the Oracle Database will automatically create a new listener.log file and start writing to it.
Author
Stewart Schatz
More Stories
How to Clean Up Empty Directories Using the find Command in Linux
Managing files and directories in Linux often involves dealing with empty directories that can clutter your workspace. Manually finding and...
VirtualBox Fails After Windows 11 Upgrade (NtCreateFile failed)
After upgrading from Windows 10 to Windows 11, VirtualBox fails to start your Virtual Machine. You receive this error: NtCreateFile...
Quick Tip: WebLogic NodeManager Fails To Start As Windows Service
If your Oracle WebLogic NodeManager starts without issue when using startNodeManager.cmd but when configuring the WebLogic NodeManager as a Windows Service, it fails to start. The nodemanager.log file has the following entry: Native version is enabled but NodeManager native library could not be loaded
Quick Tip: Determine Active Directory Account Status From The Windows Commandline
Use the following command to Determine Active Directory Account Status from the Windows Commandline without Powershell or any special software....
Where Is Java Installed?
Below are a few commands that can be run to determine where Java is installed on each Operating System: Windows:...
Windows God Mode… What!?!
Windows God Mode is a hidden feature in the Windows operating system that allows users to access all of the system’s control panel options and settings in a single place.
Average Rating