Video Screencast Help

Limit size of the systemerr.log

Created: 01 Jul 2013 | 2 comments
Kirill Tyurin's picture

Hi, how can I limit size of the /opt/Symantec/sesa/Agent/logs/systemerr.log on SSIM appliance?

Operating Systems:

Comments 2 CommentsJump to latest comment

Milan_T's picture

You can do this using crontab job scheduling.

You need to create script for it with below steps.

1. Define shall.

2. Create if condition with file size

3. If it matches criteria rename file.
4. Create new file with touch command.

5: complete file with exit 0

6: schedule cronjob with specific time like every day at 1: 00 AM

You need to also restart specific services for this which use this file.

VKalani's picture

The servcie is the sesagentd service.

However, running liveupdate on the  SSIM server must fix the  issue. The systemerr.log file would then not grow.

-VKalani