Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Log files exceeded file size limit.

My Ciscoworks log files have exceeded the file size limit.

Question 1)How do I increase size limit? Question 2)How do I open an old 2 gigabyte log file that's not residing in the default log folder?.

Many thanks for any responses.

Msaufi

Malaysia

3 REPLIES
Red

Re: Log files exceeded file size limit.

I'm assuming you are not running LMS 2.5

If that is the case, stop the daemon manager and edit the file called logstat.conf in the CSCOpx/conf directory.

You may change the value in there for file size limit. This is simply cosmetic.

If the file is greater than 2 gig in size, then you have to make sure that you have more than 2 gig of memory available in order to edit it.

New Member

Re: Log files exceeded file size limit.

Hi Nhabib,

Thanks.

I bought LMS version but how I know it is LMS?

So in LMS, how do I manage the files that reaches the limit?

Thanks again.

Msaufi

Re: Log files exceeded file size limit.

the values in logstat.conf define a theoretical limit, based on which the file size in percent is calculated (Value you can see in the GUI for logfile status). there is a perl script in ..\CSCOpx\cgi-bin\admin\ named logBackup.pl that backouts all logfiles that reached 90% or more of their theoretical limit.

Stop all daemons (net stop crmdmtgtd (windows) or /etc/init.d/dmgtd stop (solaris)) and start the script using something like C:\Program Files\CSCOpx\bin\perl" "C:\Program Files\CSCOpx\cgi-bin\admin\logBackup.pl"

Restart the daemons (net start ... or ...dmgtd start)

Version of LMS can be determined by looking at "Applications and Versions". RME 3.5 is LMS 2.2, RME 3.4 is LMS 2.1

Martin

329
Views
6
Helpful
3
Replies
CreatePlease to create content