Can't start Apache
Posted by: coldrake (---.dsl.bell.ca)
Date: January 10, 2007 06:54PM

Hi,

I am having a problem with my wamp install. I have done a thorough search and found no effective solution.

The problem is I am unable to start Apache. I have been running Wamp (new install) with no problems for 2 months now. I have made no changes recently but for some reason this morning Apache isn't working and the server is online though it's normally offline. Below is my system data and the steps I have taken so far.

I am willing to try completely removing and reinstalling Wamp but I am not sure how to back up my databases without having access to PHPMyAmin.

Any assistance is greatly appreciated,

Penny
____________________________________

SYSTEM
- Windows XP Home, SP2
- Most recent Wamp - new install 2 months ago
- Local access only, this PC is not on a network
- No other server or web service installed.
____________________________________

CHECKED ON SYSTEM
- Port 80 is free
- mod_alias is not commented out
- IIS not installed
- Skype and Norton not installed
- AVG anti-virus disabled
____________________________________

FROM THE WAMP TASK BAR
- Message: WAMP5 - 1 of 2 services running - server online
- Tried Apache - Start/Resume Service
- Tried Restart all Services
- Tried Stop all services and Start all services.
- Tried Remove and Re-install service

- ERROR WHEN TRYING TO PUT OFFLINE
Could not execute menu item (internal error)
[exception] Could not perform service action:
Service has not been started
____________________________________

FROM COMMAND PROMPT

- INSTALL
C:\WAMP>install_services.bat
C:\WAMP>.\apache2\bin\apache.exe -k install -n wampapache
[Wed Jan 10 11:30:12 2007] [error] wampapache: Service is already installed.
C:\WAMP>reg add HKLM\SYSTEM\CurrentControlSet\Services\wampapache /V
Start /t REG_DWORD /d 3 /f
The operation completed successfully
C:\WAMP>.\mysql\bin\mysqld-nt.exe --install-manual wampmysqld --
defaults-file="c:\wamp\mysql\my.ini"
The service already exists!
The current server installed: c:\wamp\mysql\bin\mysqld-nt.exe --defaults-
file=c:\wamp\mysql\my.ini wampmysqld

- LAUNCH
The wampapache service is starting.
The wampapache service could not be started.
A service specific error occurred: 1.
More help is available by typing NET HELPMSG 3547.

C:\WAMP>net helpmsg 3547
A service specific error occurred: ***.

EXPLANATION
A service-specific error occurred.

ACTION
Refer to the Help or documentation for that service to determine the problem.
____________________________________

FROM PHP ERROR LOG
[10-Jan-2007 10:09:48] PHP Warning: fclose(): supplied argument is not a valid
stream resource in C:\wamp\scripts\onlineoffline.php on line 51
[10-Jan-2007 10:15:52] PHP Warning: fclose(): supplied argument is not a valid
stream resource in C:\wamp\scripts\onlineoffline.php on line 35

NO ERRORS LISTED IN APACHE LOG SINCE START OF PROBLEM

Options: ReplyQuote
Re: Can't start Apache
Posted by: rofela (---.adsl-surfen.hetnet.nl)
Date: June 17, 2007 04:03PM

About mysql, you can install sqlyog

[www.webyog.com]

install SQLyog MySQL GUI - Enterprise Edition

its free

Good luck,

Rofela

Options: ReplyQuote
Re: Can't start Apache
Posted by: CyberSpatium (71.237.217.---)
Date: June 18, 2007 04:33AM

are you getting any error messages? what do the last 10 lines of your apache log file say?




CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!


Cellular Phone Deals - The Best on the Net! - FREE PHONES! Take your pick from our featured cellular phone deals by Cingular, Verizon, T-Mobile, Sprint PCS, Nextel, and more! Most of our cellular phone offers include a FREE cellular phone with FREE shipping!


Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.


Mortgage and Home Loan Advice:
Clarify Loans

Options: ReplyQuote


Sorry, only registered users may post in this forum.