cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to delete VRTSpbx log files

X2
Moderator
Moderator
   VIP   

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.

 

2 REPLIES 2

X2
Moderator
Moderator
   VIP   

Used the following command to delete log files:

# /usr/openv/netbackup/bin/vxlogmgr -F -p 50936

But still curious as to why vxlogmgr was saying there were no files found when using the command in the first post.

mph999
Level 6
Employee Accredited

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:

/var/log/VRTSpbx/50936-103-533729034-211029-0000000008.log
/var/log/VRTSpbx/50936-103-533729034-211029-0000000009.log
/var/log/VRTSpbx/50936-103-533729034-211029-0000000010.log
<SNIP>