Apache Can't start (Win7 64) 1.7.7 [SOLVED]

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Apache Can't start (Win7 64) 1.7.7 [SOLVED]

Postby imroue » 05. November 2011 05:53

Sharley wrote:How exactly did you uninstall XAMPP as it would seem that perhaps the Apache Windows service may not have been uninstalled first.

It would be advisable to uninstall correctly and do a fresh install by following this procedure.

Start the XAMPP Control Panel.
Make sure there are no ticks in any of the Svc check boxes.
Stop all XAMPP components.
Press 'Exit' in the XAMPP Control Panel.
Delete the xampp folder completely after backing up your own files.
Reboot as it often helps clean things up.

Try and install again using your preferred method but if you want to also change the installer method then follow my preferred method instructions below for the ZIP or 7zip version.

Download the ZIP or 7zip version of XAMPP.
Extract (drag) the xampp folder to the C:\ drive or the root of any drive or partition like D:\, E:\, etc.
Run the C:\xampp\setup_xampp.bat file (this sets the correct paths for you).
Open the XAMPP Control Panel version 3 (xampp-control-3-bets.exe) found in the xampp folder and start Apache and MySQL (do not tick any service module boxes)
When both Apache and MySQL are running type http://localhost/ select your language and exercise all the demos in the left menu frame.

You should now be able to proceed and enjoy XAMPP. :)


Hi, I am not sure if I am posting in the right place, but I was able to get xampp 1.7.7 with xampp controller 3 on Win 7 x64 working... I decided to delete the folder and reinstall it... now apache will not start and there are not conflicts with the ports. I did notice that it is not creating an error.log file for apache.... not sure if it's permissions, but i gave full control on permissions.

Any ideas?
imroue
 
Posts: 13
Joined: 05. November 2011 05:28
Operating System: Win 7 - 64bit

Re: port 80 issues after previous succesful installation

Postby Sharley » 05. November 2011 05:58

Where did you install the xampp folder?
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: port 80 issues after previous succesful installation

Postby imroue » 05. November 2011 06:00

Sharley wrote:Where did you install the xampp folder?


I originally installed it under d:/xampp and it was working fine for a few hours.... I even SVN'ed the xampp so i can keep my changes when i go to another computer. and I brought it back and it worked...
THEN I decided to delete the entire xampp folder and do a fresh install... and now it will not start apache.
imroue
 
Posts: 13
Joined: 05. November 2011 05:28
Operating System: Win 7 - 64bit

Re: port 80 issues after previous succesful installation

Postby imroue » 05. November 2011 06:01

By the way, I've been reading through these forums for 3.5 hours now. The only thing I haven't figured out is why it doesn't create an access.log or error.log.. although it did before..

also
When I look in the windows event viewr I get this:
The Apache service named reported the following error:
>>> httpd.exe: Syntax error on line 61 of D:/xampp/apache/conf/httpd.conf: Cannot load D:/xampp/apache/modules/mod_actions.so into server: The specified module could not be found. .

Doesn't make sense, since it is there.. :S
imroue
 
Posts: 13
Joined: 05. November 2011 05:28
Operating System: Win 7 - 64bit

Re: port 80 issues after previous succesful installation

Postby Sharley » 05. November 2011 06:06

Did you uninstall exactly as per those instructions you quoted me above?

Or did you just delete the xampp folder?

Did you download and install the runtime file just to be sure it is not that:
http://www.microsoft.com/download/en/de ... px?id=5582

Are you using the version 3 control panel, if so then you have an xampp-control-3-beta.log file in the xampp folder that you can read and then paste here any lines that you find that you don't understand or that might help me troubleshoot why Apache is not starting and has never started in this current install.

As this is not related to this topic I will move it to it's own topic.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Apache Can't start (Win7 64) 1.7.7

Postby imroue » 05. November 2011 06:13

I did exactly as you said above with the exception of the download and install runtime. The only reason, I didn't download the runtime, was because it was working, so I assumed I have the runtimes.

I even moved the xampp folder to another directory d:/myserver/xampp (which worked at one point).. This is what I have in my xampp_control3.log (it's not the beta)

Code: Select all
11:56:35 PM  [main]    Initializing main
11:56:35 PM  [main]    Windows version: 5.1 (build 2600) - Service Pack 3
11:56:35 PM  [main]    Xampp version: 1.7.7
11:56:35 PM  [main]    Control center version: 3.0.2 [ Compiled: Jul 21th 2011 - build #1 ]
11:56:35 PM  [main]    Running as admin - good!
11:56:35 PM  [main]    Working with basedir: "d:\myserver\xampp\"
11:56:35 PM  [main]    Initializing moduls
11:56:35 PM  [main]    Starting check-timer
11:56:36 PM  [apache]    Starting apache app...
11:56:40 PM  [mysql]    Starting mysql app...
11:56:40 PM  [mysql]    Status change detected: running
11:56:41 PM  [mysql]    Status change detected: stopped
11:56:42 PM  [main]    Deinitializing moduls

imroue
 
Posts: 13
Joined: 05. November 2011 05:28
Operating System: Win 7 - 64bit

Re: Apache Can't start (Win7 64) 1.7.7

Postby imroue » 05. November 2011 06:15

When I do a setup_xampp.bat, it says "nothing to do!"
imroue
 
Posts: 13
Joined: 05. November 2011 05:28
Operating System: Win 7 - 64bit

Re: Apache Can't start (Win7 64) 1.7.7

Postby Sharley » 05. November 2011 06:17

Are there any green ticks in the service module column in CP3?
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Apache Can't start (Win7 64) 1.7.7

Postby imroue » 05. November 2011 06:17

No green ticks. I don't like installing services.

is there a way to force the setup_xampp.bat?
imroue
 
Posts: 13
Joined: 05. November 2011 05:28
Operating System: Win 7 - 64bit

Re: Apache Can't start (Win7 64) 1.7.7

Postby Sharley » 05. November 2011 06:22

Yes move the xampp folder to either root of the C: or the D: drive again then run the setup bat file and then try and start Apache and mysql.

If they don't start then download the runtime file and try again.

If that fails to allow both to start then download a fresh zip or 7zip file and delete the xampp folder then extract the new download xampp folder to either C: or D: and run the setup bat file and then try and start Apache and MySQL again.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Apache Can't start (Win7 64) 1.7.7

Postby imroue » 05. November 2011 06:31

Sharley wrote:Yes move the xampp folder to either root of the C: or the D: drive again then run the setup bat file and then try and start Apache and mysql.

If they don't start then download the runtime file and try again.

If that fails to allow both to start then download a fresh zip or 7zip file and delete the xampp folder then extract the new download xampp folder to either C: or D: and run the setup bat file and then try and start Apache and MySQL again.


I installed the runtimes and it showed that I already had them, so I did a repair and I am rebooting now.. Thanks for staying with me.. I would really like this to work.
imroue
 
Posts: 13
Joined: 05. November 2011 05:28
Operating System: Win 7 - 64bit

Re: Apache Can't start (Win7 64) 1.7.7

Postby Sharley » 05. November 2011 06:36

imroue wrote:.. I would really like this to work.
So would I. :)

We will have it working if we can find what is causing this no start issue with Apache - MySQL we will sort out after so stick to just trying to start Apache first.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Apache Can't start (Win7 64) 1.7.7

Postby imroue » 05. November 2011 06:39

Sharley wrote:
imroue wrote:.. I would really like this to work.
So would I. :)

We will have it working if we can find what is causing this no start issue with Apache - MySQL we will sort out after so stick to just trying to start Apache first.


Yes, I am sticking to just starting apache first, then I'll look into MySql. any other ideas?
imroue
 
Posts: 13
Joined: 05. November 2011 05:28
Operating System: Win 7 - 64bit

Re: Apache Can't start (Win7 64) 1.7.7

Postby Sharley » 05. November 2011 06:43

Please recap what you have done already so I know where we are at.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Apache Can't start (Win7 64) 1.7.7

Postby imroue » 05. November 2011 06:55

Ok, this is weird...
I downloaded a fresh copy of xampp to c:/xampp
I ran it.. it worked.

Now i must move it to d://myserver/xampp.
Let's see if it works, be right back.
imroue
 
Posts: 13
Joined: 05. November 2011 05:28
Operating System: Win 7 - 64bit

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 60 guests