LMS3.0.1 Log files' size are not purged.

Answered Question
Nov 22nd, 2009
User Badges:

There is a LMS 3.0.1.

Every day size of all log files only are increased.

I have a 12G particion for log files but it's full every 2 weeks.

In this case I have to stop LMS, delete all log files and start LMS manually every two weeks.


Also, there is following message:

CiscoWorks Folder Utilization is 8%Processes DFMCTMStartup, DataPurge are down.


I tried to start these services several times but it failed all time.


Hot to make LMS to prevent of increasing of log files over Recommended Size Limit?

Correct Answer by Joe Clarke about 7 years 5 months ago

These two processes should be done in normal operation.  Do not try and start them manually.


To rotate log files periodically, you will need to configure logrot.  Search the Common Services online help for "logrot", and you will get the instructions for configuring it.  Essentially, you will need to run NMSROOT/bin/perl NMSROOT/bin/logrot.pl -c, then walk through the menu prompts to configure the files you want to rotate.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Correct Answer
Joe Clarke Sun, 11/22/2009 - 22:10
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

These two processes should be done in normal operation.  Do not try and start them manually.


To rotate log files periodically, you will need to configure logrot.  Search the Common Services online help for "logrot", and you will get the instructions for configuring it.  Essentially, you will need to run NMSROOT/bin/perl NMSROOT/bin/logrot.pl -c, then walk through the menu prompts to configure the files you want to rotate.

vyacheslav.k Mon, 11/23/2009 - 19:38
User Badges:

Thank you, it works.

Firstly, I've set up the files:


NMSROOT/bin/perl NMSROOT/bin/logrot.pl -c


then I scheduled the NMSROOT/bin/perl NMSROOT/bin/logrot.pl in the cron to launch it every day.

Actions

This Discussion

Related Content