Apache Not Running - Several things tried [Solved]

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

Apache Not Running - Several things tried [Solved]

Postby Three » 02. July 2012 02:31

After a few hours of trying, with no avail, apache will not start!

Like others, MySQL starts, apache does not.

I have tried changing the Listen port to 30, 8080, 8888 (all ports not used) and nothing.

I have also used netstat to see if port 80 is in use, which it has been by the following;

- Firefox (I have tried to change the port for this too, nothing).
- Unknown (there is no PID)
- Skype (I uninstalled).

Still nothing!
Help would be much appreciated.
Three
 
Posts: 3
Joined: 02. July 2012 02:28
Operating System: Windows 7

Re: Apache Not Running - Several things tried

Postby Altrea » 02. July 2012 04:37

Hi Three (there is ALWAYS time for a short salutation, especially if you are asking for help at a community board. It's a matter of politeness),

Please check if you have already installed the Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) Runtime
It's a requirement for the Apache binaries included in the current XAMPP version.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8286
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Apache Not Running - Several things tried

Postby Three » 02. July 2012 12:24

Sorry for being unpolite, it was late and I was tired and annoyed.

I hope you can forgive me :)

@Topic;

I will try this now and update with any errors, if any.

Thank you.

Edit:

Seems I already have that program, it gave me the option of repair or uninstall.

Also here is my Control-3-Beta.log file

Code: Select all
02:13:50  [main]    Initializing main
02:13:50  [main]    Windows version: 6.1 (build 7600)
02:13:50  [main]    Xampp version: 1.7.7
02:13:50  [main]    Control center version: 3.0.2 [ Compiled: Jul 21th 2011 - build #1 ]
02:13:50  [main]    Running as admin - good!
02:13:50  [main]    Working with basedir: "c:\xampp\"
02:13:50  [main]    Initializing moduls
02:13:50  [main]    Starting check-timer
02:13:52  [apache]    Starting apache service...
02:14:00  [apache]    Starting apache service...
02:14:48  [main]    Executing "services.msc"
02:15:19  [main]    Deinitializing moduls
02:15:19  [main]    Deinitializing main

02:15:24  [main]    Initializing main
02:15:24  [main]    Windows version: 6.1 (build 7600)
02:15:24  [main]    Xampp version: 1.7.7
02:15:24  [main]    Control center version: 3.0.2 [ Compiled: Jul 21th 2011 - build #1 ]
02:15:24  [main]    Running as admin - good!
02:15:24  [main]    Working with basedir: "c:\xampp\"
02:15:24  [main]    Initializing moduls
02:15:24  [main]    Enabling autostart for module "apache"
02:15:24  [main]    Enabling autostart for module "mysql"
02:15:24  [main]    Starting check-timer
02:15:25  [apache]    Autostart active: starting...
02:15:25  [apache]    Starting apache service...
02:15:26  [mysql]    Autostart active: modul is already running - aborted
02:15:28  [apache]    Starting apache service...
02:15:29  [apache]    Starting apache service...
02:15:30  [apache]    Starting apache service...
02:15:31  [apache]    Starting apache service...
02:15:31  [apache]    Starting apache service...
02:15:32  [apache]    Starting apache service...
02:15:35  [main]    Executing "c:\xampp\apache"
02:17:31  [main]    Deinitializing moduls
02:17:31  [main]    Deinitializing main


And my error.log in apache
Code: Select all
[Mon Jul 02 01:18:35 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Jul 02 01:18:35 2012] [notice] Digest: done
[Mon Jul 02 01:18:37 2012] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Jul 02 01:18:37 2012] [notice] Server built: Sep 10 2011 11:34:11
[Mon Jul 02 01:18:37 2012] [notice] Parent: Created child process 3372
[Mon Jul 02 01:18:38 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Jul 02 01:18:38 2012] [notice] Digest: done
[Mon Jul 02 01:18:40 2012] [notice] Child 3372: Child process is running
[Mon Jul 02 01:18:40 2012] [notice] Child 3372: Acquired the start mutex.
[Mon Jul 02 01:18:40 2012] [notice] Child 3372: Starting 150 worker threads.
[Mon Jul 02 01:18:40 2012] [notice] Child 3372: Starting thread to listen on port 443.
[Mon Jul 02 01:18:40 2012] [notice] Child 3372: Starting thread to listen on port 30.
[Mon Jul 02 01:18:40 2012] [notice] Child 3372: Starting thread to listen on port 443.
[Mon Jul 02 01:18:40 2012] [notice] Child 3372: Starting thread to listen on port 30.
Terminating on signal SIGTERM(15)


I have no idea why it isn't saying port 8080, 8888 etc (the ones I've also tried).
Three
 
Posts: 3
Joined: 02. July 2012 02:28
Operating System: Windows 7

Re: Apache Not Running - Several things tried

Postby Three » 02. July 2012 12:51

Solved.

Port 8888 was blocked by my firewall service (not windows firewall) I uninstalled it and unblocked the port manually on Windows Firewall.


Thanks for the help!
Three
 
Posts: 3
Joined: 02. July 2012 02:28
Operating System: Windows 7

Re: Apache Not Running - Several things tried [Solved]

Postby Altrea » 02. July 2012 15:47

You are welcome and thank you for your response.
I wich you much fun with XAMPP and all that stuff 8)
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8286
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 62 guests