cancel
Showing results for 
Search instead for 
Did you mean: 
Create a Post
Highlighted
Iron

how to clear logs from R80.20 server

Hi All

We are getting errors on our R80.20 management server when we log into it, it is coming up that var/log is below the space level required.

Can anyone tell me how we find out what is taking up most of the logs? and also how can we clear some of them off?

Many thanks

0 Kudos
2 Replies
Highlighted

Re: how to clear logs from R80.20 server

In the SmartConsole go to the Gateways and Servers page, double click the SMS name and go to the Logs - Storage page. Here you can set how you want to handle this.
Regards, Maarten
0 Kudos
Highlighted

Re: how to clear logs from R80.20 server

1. Remove the core dump files:

32-bit: /var/crash/<date>/vmcore

64-bit: /var/log/crash/<date>/vmcore

/var/log/dump/usermode

2. Remove old upgrade_export files:

# find / -name *.tgz

3. # find / -type f -size +100000 -exec ls -lh {} \; 2> /dev/null | awk '{ print $NF ": " $5 }' | sort -nk 2,2

This will display all files from greater then 10MB and sort them in a readable and understandable way.

Caution: Do not arbitrarily delete files without knowing what they are used for. Back up your files before deleting. Remove ONLY the files, not the directories.

0 Kudos