11-25-2012 09:00 PM
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
11-26-2012 05:43 AM
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
11-26-2012 11:34 PM
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?
11-27-2012 03:24 AM
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
11-27-2012 05:20 AM
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".
11-27-2012 05:43 AM
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
11-27-2012 10:14 PM
Thank you very much for following up,
Hope there is a soluation for this issue.
11-26-2012 03:24 PM
Give us a screen shot all of that Services that are running.
In windows --> start-->run-->services.msc
11-27-2012 12:28 AM
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
11-27-2012 10:03 AM
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.
11-27-2012 10:17 PM
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 !
11-28-2012 04:15 AM
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
11-30-2012 11:38 PM
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
12-03-2012 03:09 PM
what version are you running?
12-03-2012 07:41 PM
The version is 3.2. The paln is to upgrade it to the latest version 4.x.
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: