My sysadmin alerted me about space usage on one of our RHEL 7 based oracle servers. The logs for VRTSpbx were using 1.3 GB and files go all the way back till June 2021 (probably when the server was provisioned).
The default log location /opt/VRTSpbx/logs is a link to /var/log/VRTSpbx/ and current config is shown below.
# /usr/openv/netbackup/bin/vxlogcfg -l -p 50936 -o 103 Configuration settings for originator 103, of product 50,936... LogDirectory = /var/log/VRTSpbx/ DebugLevel = 1 DiagnosticLevel = 0 DynaReloadInSec = 0 LogToStdout = False LogToStderr = False LogToOslog = False RolloverMode = FileSize LogRecycle = True MaxLogFileSizeKB = 51200 RolloverPeriodInSeconds = 43200 RolloverAtLocalTime = 0:00 NumberOfLogFiles = 5 OIDNames = AppMsgLogging = ON L10nLib = /opt/VRTSpbx/lib/libvxexticu.so.3 L10nResource = VxPBX L10nResourceDir = /opt/VRTSpbx/resources SyslogIdent = Symantec SyslogOpt = 0 SyslogFacility = LOG_USER LogFilePermissions = 640
when I run the the command to delete older files, I get "no log files found" message. Any suggestions?
# /usr/openv/netbackup/bin/vxlogmgr --del -p 50936 -e '12/05/2021 11:59:59 PM' V-1-45 No log files found.
Try swapping the date format round, so '05/12/2021/
From my test server
$ vxlogmgr --del -p 50936 -e '23/11/2021 11:59:59 PM'
Following are the files that were found: