Forum Discussion

Calvin_Ho's avatar
Calvin_Ho
Level 3
2 months ago

vxlogmgr log File Deletion failed

Can anyone help? I have a 5240 Netbackup Appliance , but recently I found that the web console cannot be logged in. I checked that the log directory is 100% used. I try to use vxlogmar to clean the logs, but it cannot be deleted . What else can I do? , thanks

maintenance-!> vxlogmgr --del -e '12/31/2020 12:00:00 PM' -o nbrb

Following are the files that were found:

   /usr/openv/logs/nbrb/51216-118-3536980490-200410-0000000000.log
   /usr/openv/logs/nbrb/51216-118-3536980490-200518-0000000000.log
   /usr/openv/logs/nbrb/51216-118-3536980490-200521-0000000000.log

Total 3 file(s)

Are you sure you want to delete the file(s)? (Y/N):
y

Deleting /usr/openv/logs/nbrb/51216-118-3536980490-200410-0000000000.log ...
/usr/openv/logs/nbrb/51216-118-3536980490-200410-0000000000.log File Deletion failed

Deleting /usr/openv/logs/nbrb/51216-118-3536980490-200518-0000000000.log ...
/usr/openv/logs/nbrb/51216-118-3536980490-200518-0000000000.log File Deletion failed

Deleting /usr/openv/logs/nbrb/51216-118-3536980490-200521-0000000000.log ...
/usr/openv/logs/nbrb/51216-118-3536980490-200521-0000000000.log File Deletion failed

 

  • Hey

    Elevate to clish and than as root just run rm -rf /usr/openv/logs/nbrb/*.log

    https://www.veritas.com/support/en_US/doc/96220900-127024912-0/v113564108-127024912

     

  • I try overriding the netBackup appliance intrusion prevention system policy,   but still failed,  xxxxxxx.log File Deletion failed

  • Hey

    Elevate to clish and than as root just run rm -rf /usr/openv/logs/nbrb/*.log

    https://www.veritas.com/support/en_US/doc/96220900-127024912-0/v113564108-127024912

     

    • Calvin_Ho's avatar
      Calvin_Ho
      Level 3

      Elevate!!  

      After executing elevate, it can be deleted using the vxlogmgr command, thank you so much