Author |
|
PuzzleScot
Joined: 20 Oct 2011 Posts: 7
|
Posted: Thu 20 Oct '11 14:29 Post subject: Misunderstanding of WAMP screwed things up |
|
|
I *thought* WAMP was an intelligent monitor process, that would help keep my system up to date. I did *not* think that it would ignore my existing installations of Apache/PHP/MySQL and go ahead and install new ones with complete disregard for my stable system!
After installing WAMP, I immediately had issues with my original MySQL install, and my Apache service has not been able to start since. so I uninstalled it, but still nothing's working.
[attempting to start Apache gives a pop-up "Sorry. Please tell Microsoft..", followed by a 1053 error code message. Nothing of any use in the logs either]
I thought "ok, I'll reinstall Apache", but the .msi required the previous version to be removed first via CP, but the Apache 'uninstall' icon has disappeared, and there's no helpful exe in the \bin folder.
In brief, "help!". Any assistance would be *very* much appreciated.
Current config:
Windows XP SP3, Apache 2.2.8, PHP 5.2.7, MySQL 5.1 |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 20 Oct '11 16:22 Post subject: |
|
|
You can uninstall the apache service by hand
Code: |
cd \to\bin
httpd -k uninstall
|
However if you installed apache via a msi file you should uninstall with over the windows control panel( System stetting --> Software) |
|
Back to top |
|
PuzzleScot
Joined: 20 Oct 2011 Posts: 7
|
Posted: Thu 20 Oct '11 16:40 Post subject: |
|
|
That removed the service, so thanks for that.
However, I could not uninstall via the control panel, becuase there is no (expected) button "repair/uninstall" against the "apache 2.8" 'program'.
I've seen a top elsewhere to just download the latest version as a zip, extract, rename, reconfigure etc. I'll give that a try. |
|
Back to top |
|
PuzzleScot
Joined: 20 Oct 2011 Posts: 7
|
Posted: Thu 20 Oct '11 23:53 Post subject: |
|
|
That didn't work. I installed the new apache server as a service, fixed up the .conf file to point to the new locations, and still get a windows error on startup.
Any other ideas? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 21 Oct '11 9:30 Post subject: |
|
|
That is in the log\error.log about that?
(if too long post it at pastebin.com and post here the link) |
|
Back to top |
|
PuzzleScot
Joined: 20 Oct 2011 Posts: 7
|
Posted: Fri 21 Oct '11 10:33 Post subject: |
|
|
This is the error.log of my new install, in its entirety. Despite on some occasions saying its running, the windows error appears, so the Apache service status never says "running". There's nothing in the Event Viewer either.
Starting the Apache2.2 service
The Apache2.2 service is running.
[Thu Oct 20 21:10:29 2011] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
Starting the Apache2.2 service
The Apache2.2 service is running.
pid file C:/Program Files/Apache Software Foundation/Apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Oct 20 21:15:31 2011] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Oct 20 21:15:49 2011] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
Starting the Apache2.2 service
The Apache2.2 service is running.
pid file C:/Program Files/Apache Software Foundation/Apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
PuzzleScot
Joined: 20 Oct 2011 Posts: 7
|
Posted: Fri 21 Oct '11 16:09 Post subject: |
|
|
Results of that below. Like I say, Apache service does not appear to be running, and http://localhost/ has nothing to connect to. Thanks for you help, by the way
RESULT
------
Service Port Status
==============================================================================
Apache (HTTP) 80 free
Apache (WebDAV) 81 free
Apache (HTTPS) 443 free
MySQL 3306 Program: C:\Program Files\MySQL\MySQL Server 5.1\bin
\mysqld.exe
FileZilla (FTP) 21 free
FileZilla (Admin) 14147 free
Mercury (SMTP) 25 free
Mercury (POP3) 110 free
Mercury (IMAP) 143 free
Mercury (HTTP) 2224 free
Mercury (Finger) 79 free
Mercury (PH) 105 free
Mercury (PopPass) 106 free
Tomcat (AJP/1.3) 8009 free
Tomcat (HTTP) 8080 free
Press <Return> to continue. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 21 Oct '11 16:25 Post subject: |
|
|
From the path I guess you installed apache from apache.org? If you open windows services, is there a service with the name Apache2.2?
If you are fed up with your intallation you may take a look at this step by step intallation manual.
http://www.apachelounge.com/viewtopic.php?t=2394
If you still have a question please ask again. |
|
Back to top |
|
PuzzleScot
Joined: 20 Oct 2011 Posts: 7
|
Posted: Fri 21 Oct '11 16:38 Post subject: |
|
|
Yes, there is a service called Apache2.2 (which I can remove/add at will via httpd.exe )
I might just clear the whole damned thing off, and start afresh. My PC is clean according to ESET32 and MWBAM. I think at over 5 yrs old, it's time for a new one. Thanks again ... |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 21 Oct '11 17:37 Post subject: |
|
|
yes you can remove that service via command line.
click on start -> run -> cmd.exe -> "ENTER"
Browese via cd to apache bin folder than httpd -k uninstall
Code: |
cd "C:\Program Files\Apache Software Foundation\Apache2\bin"
httpd -k uninstall
|
After that you can delete that
"Apache Software Foundation" folder |
|
Back to top |
|