cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1600
Views
0
Helpful
14
Replies

CiscoWorks Apache Issue

eng.mshari
Level 1
Level 1

Good day,

I have an issue with our CiscoWorks. After I applied several patches to the CiscoWorks, the apache services wouldn't start. Every time I try to start "CiscoWorks Web Server" service, it gives me "Windows could not start the CiscoWorks Web Server on Local Computer.".

Is there anything I can do to solve this issue.

Thank you in advance

14 Replies 14

AFROJ AHMAD
Cisco Employee
Cisco Employee

Hi Abdul,

Try to Unregister and Register the Apache service :

To Unregistered:

pdreg -u Apache

To registered :

C:\PROGRA~2\CSCOpx\MDC\Apache\bin>pdreg -r Apache -e "C:\PROGRA~2\CSCOpx\MDC\Apache\bin\Apache.exe" -f "-d C:\PROGRA~2\CSCOpx\MDC\Apache -D SSL" -d TomcatMonitor

Change the C:\progra~2  with your Cisco works Installed Directory.

I hope this will help

Thanks

Afroz

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

Thank you fvery much or your replay,

I did what you told me, but it didn't solve the issue.

This is what I got:

C:\Documents and Settings\f93151>pdreg -u Apache

C:\Documents and Settings\f93151>cd C:\Program Files\CSCOpx\MDC\Apache\bin

C:\Program Files\CSCOpx\MDC\Apache\bin>pdreg -r Apache -e "C:\Program Files\CSCO

px\MDC\Apache\bin\Apache.exe" -f "-d C:\Program Files\CSCOpx\MDC\Apache -D SSL"

-d TomcatMonitor

Files\CSCOpx\MDC\Apache\bin\Apache.exe"" was unexpected at this time.

C:\Program Files\CSCOpx\MDC\Apache\bin>

Any sugestion?

Hi Abdul,

First thing : Apache service should be on MANUAL.  change the startup type

run the below command:

C:\PROGRA~2\CSCOpx\MDC\Apache\bin>pdreg -l Apache

Output should look like below :

        Process      = Apache

        Path         = C:\PROGRA~2\CSCOpx\MDC\Apache\bin\Apache.exe

        Flags        = -d C:\PROGRA~2\CSCOpx\MDC\Apache -D SSL

        Startup      = y

        Dependencies = TomcatMonitor

In your case I think Apache is not registered , check the location of Apache.exe . It could be located under ::

"C:\Program Files\CSCOpx\MDC\Apache\Apache.exe.  if this is the case..

then try to register it again :

C:\Program Files\CSCOpx\MDC\Apache\bin>pdreg -r Apache -e "C:\Program Files\CSCO

px\MDC\Apache\Apache.exe" -f "-d C:\Program Files\CSCOpx\MDC\Apache -D SSL" -d TomcatMonitor

I hope this will help

Thanks

Afroz

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

Thank you very much for your replay,

I did it, but it didn't solve the issue (please see the attached picture).

Also, now I have another service wouldn't start "Ciscoworks Daemon Manager".

Hi ,

You are not running the commad from the right location ,it should be

C:\Program Files\CSCOpx\MDC\Apache\bin

Run the command again.. you should see the output of this comman:

C:\PROGRA~2\CSCOpx\MDC\Apache\bin>pdreg -l Apache

Output should look like below :

        Process      = Apache

        Path         = C:\PROGRA~2\CSCOpx\MDC\Apache\bin\Apache.exe

        Flags        = -d C:\PROGRA~2\CSCOpx\MDC\Apache -D SSL

        Startup      = y

        Dependencies = TomcatMonitor

Thanks

Afroz

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

Thank you very much for following up,

Hope there is a soluation for this issue.

Duong Nguyen
Level 1
Level 1

Give us a screen shot all of that Services that are running.

In windows --> start-->run-->services.msc

           

Thank you very much for your replay,

Regarding the srevices, now I have two services wouldn't start (labeled by red).

PIC1: services

PIC2: Error message

PIC3: Error message

PIC4: List of patches

Hope this will clarify the issue

shut down the daemon services, then bounce the apache services again

Your LMS server is it a stand alone server? or do you have another application installed on it as well?

Search for theses files and verify its located in CSCOpx\bin folder/directory and in windows\system32 folder

cwssleay32.dll
cwlibeay32.dll

If you have duplicates of these files, try renaming or removing them other than the cscopx folder.

Thank you very much for following up,

I have checked, these files weren't in the "windows\system32" directory. I have copied them from "CSCOpx\bin" and pasted them in "windows\system32" directory, but it didn't solve the issue.

Also, please note that the daemon service is down and I couldn't run it !

Try this :

on the Cmd prompt :

NMSROOT/CSCOpx/setup/support>resetCasuser.exe

Reset the Casuser Password and then try to start the Daemon Manager

Thanks

Afroz

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

Unfortunately it didn't solve the issue.

I gave up, I just restored an old backup for the server. It is better to have it working with old data than have it corrupted.

Anyway, thank you all for your help.

Have a great day

what version are you running?

The version is 3.2. The paln is to upgrade it to the latest version 4.x.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: