Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem running Cisco Works and the Syslog.log or syslog_info file keeps growing

Core issue

CiscoWorks might not run if the size of the Syslog.log or syslog_info file is huge.

Resolution

To resolve this issue, perform these steps:

  • For Windows:
    1. Open a command prompt.
    2. Issue the net stop crmdmgtd command.
    3. Go to Settings > Control Panel > Administrative Tools > Services and stop the CWCS syslog service.
    4. Delete the syslog.log file found under $NMSROOT\log\ directory, where $NMSROOT is the CiscoWorks installation directory. By default it is C:\Program Files\CSCOpx.
    5. Restart the CWCS syslog service.
    6. In the command prompt, issue the net start crmdmgtd command.

  • For Solaris:
    1. Open the command line.
    2. Execute /etc/init.d/dmgtd stop.
    3. Execute cp /dev/null /var/log/syslog_info.
    4. Execute /etc/init.d/dmgtd start.


Comments
Silver

Hi,

This really sounds like a Windows Explorer behavior and not an LMS issue as it sounds like the messages are being received. 

Perhaps something like http://tailforwin32.sourceforge.net/ would be of use to you.

Here are some notes about changing the syslogging location:

1. Stop the syslog daemon in Control Panel-->Administrative Tools-->Services (CWCS/CMF Syslog Service)

2. Stop the Syslog Collector via the command line on DOS: cd C:\progra~1\CSCOpx\binpdterm SyslogCollector

3. Create the new syslog.log file (say d:\ciscoworks\syslog.log), ensure that casuser has full access to this file.

4. Open the Registry (Regedit) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Crmlog\Parameters Right mouse on this "LogFile" line-->Modify Note: If you want to change the default Syslog Message Sourcelocation, you must first set the new location in the Windows Registry and only then change the Message Source location in the RME-->Administration-->SyslogAnalyzer-->Change Storage Options dialog box.

5. Use an editor and modify the entry for: SYSLOG_FILES= in $NMSROOT/MDC/tomcat/webapps/rme/WEB-INF/classes/com/cisco/nm/rmeng/csc/data/Collector.properties

6. Start the Syslog daemon in Services (see step 1).

7. Start SyslogCollector Process via CLI on DOS:pdexec SyslogCollector

8. Update the location of the syslog.log file in the logstat.conf file. (The logstat.conf file is located at CSCOpx/conf.) This ensures that the new syslog.log file is referenced when you generate a Log File Status report (Common Services --> Server -->Reports --> Log File Status).

New Member

Can we disable the CWCS syslog service permanently if we are not using the Syslog feature in Cisco LMS?

3346
Views
0
Helpful
2
Comments