Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
carl_t
Contributor

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
Maarten_Sjouw
Champion
Champion

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
G_W_Albrecht
Legend
Legend

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.

CCSE CCTE CCSM SMB Specialist

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events