10-28-2010 06:48 AM
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?
Solved! Go to Solution.
11-04-2010 08:32 AM
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
11-04-2010 09:03 AM
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.
10-28-2010 07:51 AM
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?
10-29-2010 12:42 AM
10-29-2010 07:01 AM
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 hostnamechange.pl -ohost
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.
11-01-2010 04:37 AM
I have some problems with the "hostnamechange.pl" command.
Is it possible to list out the oldhostname?
11-01-2010 06:51 AM
You could try looking at the oldest LMS installation log (Ciscoworks_install_xxx) under your C drive, ie:
11-02-2010 06:34 AM
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 "hostnamechange.pl" but apache still does't start.
Is it a tomcat problem or some sort of conflict with other running services?
Any other suggestion please?
11-02-2010 06:43 AM
- Output of "hostname" from DOS
11-02-2010 08:14 AM