Page 1 of 2

Apache can't start on XAMPP 1.6.5

PostPosted: 26. December 2007 09:57
by stimpack
Last 2 month. I install XAMPP 1.6.4 on Windows Server 2003 before. Everything work fine.

Now, I'm have new machine and install freash Windows Server 2003.
and then install XAMPP 1.6.5.

After install. Apache can't run. It pop-up dialog

apache.exe
The application failed to initialized properly (0xc0150002). Click an OK to terminate this application.


Windows machine don't have firewall and antivirus.
I check the port it is available.

Please help me fix this issue. Thanks

PostPosted: 26. December 2007 17:27
by Montekar
I have the same problem, but my OS is Windows XP.

PostPosted: 26. December 2007 17:51
by stimpack
Is it a bug on 1.6.5 because I never found problem with 1.6.4?

Anyone can complete installed 1.6.5 without problem?

PostPosted: 27. December 2007 00:38
by KallistaAEnvarou
I had no problems. Have you tried running xampp_start.exe?

PostPosted: 27. December 2007 01:16
by Izzy
The error posted relates to the Windows OS and may require a Windows repair.

Checkout this Google for possible remedies.

This KB at MS may also apply.
http://support.microsoft.com/kb/822520

Your error message should also be displayed in the Windows Event Log:
From the...
Control Panel->Administrative Tools->Event Viewer->Application (and/or System)
Look for the date and time you had the error message pop up.

You could also try uninstalling XAMPP as per the instructions in the xampp\readme_en.txt file.

Then after you successfully uninstalled and removed the XAMPP directory try and install XAMPP again and check if the error appears again when trying to start it - use the xampp\apache_start.bat file to start as it will produce an error message if it fails and one that we can possibly find a solution for.
(You may want to try this before doing anything drastic with your OS).

The error message has also been known to be fixed simply by restarting your computer after installing a program such as XAMPP.


===========================================
1. The new DeskTopXampp Launch Control for XAMPP / XAMPPlite
Posted by Ridgewood available from Ridgewood'sDTX web site

2. Build Rich AJAX Applications - Faster
TIBCO General Interface Pro Edition but FREE and Open Source
Fully working with NO donations required to get a user/password
===========================================

Re: Apache can't start on XAMPP 1.6.5

PostPosted: 27. December 2007 02:19
by cpm
stimpack wrote:Last 2 month. I install XAMPP 1.6.4 on Windows Server 2003 before. Everything work fine.

Now, I'm have new machine and install freash Windows Server 2003.
and then install XAMPP 1.6.5.

After install. Apache can't run. It pop-up dialog

apache.exe
The application failed to initialized properly (0xc0150002). Click an OK to terminate this application.


Windows machine don't have firewall and antivirus.
I check the port it is available.

Please help me fix this issue. Thanks


had the same error, seemed that i was missing the "Microsoft.VC80.CRT" :/
http://www.microsoft.com/downloads/deta ... laylang=en

PostPosted: 27. December 2007 03:25
by Izzy
cpm wrote:...seemed that i was missing the "Microsoft.VC80.CRT"

Microsoft wrote:Microsoft Visual C++ 2005 Redistributable Package (x86) installs runtime components of Visual C++ Libraries required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2005 installed.

Here is direct download link for vcredist_x86.exe to save a bit of time bypassing all the MS mumbo jumbo.

I think this solution may also have been posted in one of the Google result pages in the link I posted above - but I would still try the alternatives first before resorting to any MS OS repair solutions.

BTW - if you feel that this is a bug in XAMPP then please feel free to post a bug report here:
http://bugs.xampp.org/my_view_page.php
(When reporting bugs please provide as much information as possible including what you have already tried and any error messages, of course, are a must - the aim of a bug report is to try and replicate your issue using the information you provide).


===========================================
1. The new DeskTopXampp Launch Control for XAMPP / XAMPPlite
Posted by Ridgewood available from Ridgewood'sDTX web site

2. Build Rich AJAX Applications - Faster
TIBCO General Interface Pro Edition but FREE and Open Source
Fully working with NO donations required to get a user/password
===========================================

Installing Microsoft Visual C++ 2005 Redistributable pkg...

PostPosted: 27. December 2007 04:43
by hoggwild5
fixed me too.

I was getting the same error about Apache failing to initialize, and now it's working like a charm!

This probably needs to be noted in the SourceForge notes on this release that Windows XP users need to download and install this if they don't currently have it....I suspect that whoever compiled the XAMPP binary for Windows has Visual C++ on their compilation machine (I believe Linux machines have a C compiler on board as a default), and the compiler didn't include the C++ Library in the Windows binary.

PostPosted: 27. December 2007 06:16
by stimpack
Hi, It work after install Visual C++.
Thank for your help.

PostPosted: 27. December 2007 07:50
by KallistaAEnvarou
It works fine for me on the computer that doesn't have Visual C++.

I have Vista, though. Does that change anything?

PostPosted: 27. December 2007 15:20
by ARMAGEDDON
thnk u frenz......
i hd da same problem wid instalin dis version.....bt now its wrkin fine...
thnx a lot :D

PostPosted: 28. December 2007 00:54
by hoggwild5
Kallista,

I'm not sure since I'm not running Vista, but if you've installed the Microsoft .NET Framework service packs using Windows updates, you may have installed the Visual C++ Redistributable Libraries as part of that update.

Hoggwild

PostPosted: 28. December 2007 10:47
by KallistaAEnvarou
Nope. I just got the computer back from repairs the other day with a fresh install of Windows. I know what Visual Studio looks like because I've taken a C++ course that used it, and it's not on there.

PostPosted: 03. January 2008 17:37
by Kiran Cheema
I too have this issue However I am Running a windows server 2003

As suggested previously I have checked the event logs and in the
system log is the following:
source: Sidebyside
Generate Activation Context failed for C:\xampp\apache\bin\apache.exe. Reference error message: The referenced assembly is not installed on your system.
.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

and in the applictaion log:
The description for Event ID ( 0 ) in Source ( XAMPP ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: XAMPP Service Error: 1063, StartServiceCtrlDispatcher failed..

Server 2003

PostPosted: 03. January 2008 18:13
by Kiran Cheema
Pleased to report that the above fix works for server 2003

however install as ZIP files only as installer error "cannot locate win 32" appears