Showing results for 
Search instead for 
Did you mean: 

LMS 3.2 and Apache



I have installed LMS 3.2 on a 64 bit Windows Server 2003 R2 Standard edition with Service pack 2

The main problem is that the apache service will not start.
It seems like all the other ciscoworks services starts, but not the apache services.
How do I solve this problem?

2 Accepted Solutions

Accepted Solutions

according to your netstat output, it seems that Tomcat (TCP/9009) takes more than 20 min to start. If that is the case, this is too long for TomcatMonitor to wait for and thus it will not be started -causing other dependent processes (like Apache) to fail also.

I guess your virus scanner is the culprit of this issue. Just for a short test disable it and try to stop and start LMS (in a DOS box: net stop crmdmgtdand when it has finished, net start crmdmgtd)

If LMS is working now, you should configure the virus scanner to not touch the CSCOpx directory (at least for online scans).


Joel, I dropped in and didn't read the whole thread in detail, sorry  - but you clearly put the finger on this before and I agree with you that this is the most likely cause

View solution in original post

Yes, Apache depends on Tomcat.  As I mentioned before, AntiVirus/security software is the most likely culprit here.  Since you cannot disable it due to security reasons, you need to setup an exclusion in McAfee for on-access scanning of the CSCOpx folder and all its subfolders.

In fact, I was just about to update this thread since just finished working with another customer with same issues and McAfee was at fault.  After adding the exclusion daemons came back up fine.  You need to make sure this exclusion still exists just before you restart daemons since it can get removed without noticing.  You also need to make sure the exclusion remains throughout a reboot so the problem does not happen again after reboot.

This is documented here for your reference:


No worries, your help and anyone elses is always appreciated and we both came to same conclusion.

View solution in original post

18 Replies 18

Joel Monge
Cisco Employee
Cisco Employee

In DOS, do:

pdshow > c:\pdshow.txt

Post this file.  Go to Start and click on 'Run...'.  Type in "services.msc" and post the startup type of the CiscoWorks related processes.  This has happened since install or was it working before?  Did you change the hostname at any point?

Hi Joel,

This is new installation and it has been problems with apache from day one.

We have done some changes with the hostname but the cw2000 application has been uninstalled and we have done a new installation

Both TomcatMonitor and Apache are down which will cause many other processes to go down with them.  Try this:

1. Shutdown daemons: net stop crmdmgtd.

2. In DOS go to CSCOpx\bin path and run:

perl -ohost  -nhost 

3. Enter the correct hostname as seen in a "hostname" output on DOS.

4. Restart daemons: net start crmdmgtd.  Go to CSCOpx\objects\dmgt\ready, once the daemon lock is gone, see if Apache and TomcatMonitor are now up.


I have some problems with the "" command.

Is it possible to list out the oldhostname?

You could try looking at the oldest LMS installation log (Ciscoworks_install_xxx) under your C drive, ie:


I have checked the installation log and the only differense I found was that the old hostname was in upercase and the new hostname from the DOS command "hostname" was in lowercase and I then ran the command "" but apache still does't start.

Is it a tomcat problem or some sort of conflict with other running services?

Any other suggestion please?

Post these:

- CSCOpx\log\TomcatMonitor.log

- CSCOpx\MDC\Apache\log\error_log

- CSCOpx\MDC\Apache\log\mod_jk.log

- CSCOpx\MDC\etc\regdaemon.xml

- Output of "hostname" from DOS

I have deleted the logfiles and rebooted the server so that all the logfiles should be new and fresh. None of the Apache logfiles was created after the restart. Hope you will find the necessary info in the posted files.