Cannot start Apache & MySQL service!!

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

Cannot start Apache & MySQL service!!

Postby ippo » 21. June 2011 15:24

Hi :(
Just installed the new version of XAMPP 1.7.4 from installer on my Win XP prof sp2. I have installed in a USB drive I:\xampp (not in my system drive which is C drive)
I selected all the 3 services including 'FileZilla' during installation. But after successful installation it showed error starting mysql service.Then the control panel opened with only 'Filezilla' servcie running being shown in green. The other 2 services are not running.
I went to I:\xampp\mysql directory & double-clicked on the 'mysql_installservice.bat' file but it showed a system error-
" System Error 1067 has occured"
What to do to start the services?
:(
Please Help me
ippo
 
Posts: 15
Joined: 21. June 2011 14:39

Re: Cannot start Apache & MySQL service!!

Postby JonB » 21. June 2011 16:36

it is because you can't start services that aren't mapped to a drive on Windows.

you can start the engines (executables), but you can't make them services.

(its in the FAQ's you probably did not read) :oops:

OTAY???
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Cannot start Apache & MySQL service!!

Postby ippo » 21. June 2011 16:42

Hello Jon
But my earlier version of XAMPP 1.7.3 was installed in this same directory I: drive which is not a system drive!!
I uninstalled and installed the XAMPP 1.7.4 and now the My SQL service has started but not the Apache !! ACtually I have Kaspersky Antivirus & Firewall running but not windows firewall. Could it be the KAV/Firewall??
I think the Mysql service was not started after 1st install as my browser was open during first installation .
Or do i need to uninstall XAMPP 1.7.4 and reinstall my old XAMPP 1.7.3?? :roll:
Somebody please help me !! :oops:
ippo
 
Posts: 15
Joined: 21. June 2011 14:39

Re: Cannot start Apache & MySQL service!!

Postby JonB » 21. June 2011 16:57

1st - My bad, I see that the drive is mapped to "I:\" - I didn't read carefully enough :oops:

Go to Windows Services manager and see if the 'old' service for MySQL is still in Services. (you can look at its properties).

also check your my.ini file in \xampp\mysql\bin and make sure that it is present.

You might try the 'setup_xampp.bat' file in the root of xampp, it often fixes small errors in XAMPP setups,

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Cannot start Apache & MySQL service!!

Postby ippo » 21. June 2011 17:06

@Jon ,my mysql service is already running green in control panel.My problem is with the Apache server which is not running!!

Ya, i double-clicked setup_xampp.bat as you told me but it said "Sorry ..but nothing to do. Press any key to continue.."
That means everything is ok.Also i have uninstalled fully my old version of Xampp and all its services and restarted my pc before installing this new version.
Firstly,can anyone tell me does Win XP support xampp 1.7.4 at all?? :shock:
I think I have to uninstall xampp 1.7.4 & reinstall my old version of xampp 1.7.3 :oops:
ippo
 
Posts: 15
Joined: 21. June 2011 14:39

Re: Cannot start Apache & MySQL service!!

Postby ippo » 21. June 2011 17:13

My error log file says these -
[Tue Jun 21 20:42:36 2011] [error] Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nCompilation failed in require at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nCompilation failed in require at I:/xampp/apache/conf/extra/startup.pl line 9.\nBEGIN failed--compilation aborted at I:/xampp/apache/conf/extra/startup.pl line 9.\nCompilation failed in require at (eval 2) line 1.\n
[Tue Jun 21 20:42:36 2011] [error] Can't load Perl file: I:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...
[Tue Jun 21 20:43:12 2011] [error] Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nCompilation failed in require at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nCompilation failed in require at I:/xampp/apache/conf/extra/startup.pl line 9.\nBEGIN failed--compilation aborted at I:/xampp/apache/conf/extra/startup.pl line 9.\nCompilation failed in require at (eval 2) line 1.\n
[Tue Jun 21 20:43:12 2011] [error] Can't load Perl file: I:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...
[Tue Jun 21 20:45:15 2011] [error] Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nCompilation failed in require at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nCompilation failed in require at I:/xampp/apache/conf/extra/startup.pl line 9.\nBEGIN failed--compilation aborted at I:/xampp/apache/conf/extra/startup.pl line 9.\nCompilation failed in require at (eval 2) line 1.\n
[Tue Jun 21 20:45:15 2011] [error] Can't load Perl file: I:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...
[Tue Jun 21 20:47:53 2011] [error] Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nCompilation failed in require at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nCompilation failed in require at I:/xampp/apache/conf/extra/startup.pl line 9.\nBEGIN failed--compilation aborted at I:/xampp/apache/conf/extra/startup.pl line 9.\nCompilation failed in require at (eval 2) line 1.\n
[Tue Jun 21 20:47:53 2011] [error] Can't load Perl file: I:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...
[Tue Jun 21 20:51:01 2011] [error] Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nCompilation failed in require at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nCompilation failed in require at I:/xampp/apache/conf/extra/startup.pl line 9.\nBEGIN failed--compilation aborted at I:/xampp/apache/conf/extra/startup.pl line 9.\nCompilation failed in require at (eval 2) line 1.\n
[Tue Jun 21 20:51:01 2011] [error] Can't load Perl file: I:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...
[Tue Jun 21 21:01:32 2011] [error] Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nCompilation failed in require at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nCompilation failed in require at I:/xampp/apache/conf/extra/startup.pl line 9.\nBEGIN failed--compilation aborted at I:/xampp/apache/conf/extra/startup.pl line 9.\nCompilation failed in require at (eval 2) line 1.\n
[Tue Jun 21 21:01:32 2011] [error] Can't load Perl file: I:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...
[Tue Jun 21 21:03:07 2011] [error] Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nCompilation failed in require at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nCompilation failed in require at I:/xampp/apache/conf/extra/startup.pl line 9.\nBEGIN failed--compilation aborted at I:/xampp/apache/conf/extra/startup.pl line 9.\nCompilation failed in require at (eval 2) line 1.\n
[Tue Jun 21 21:03:07 2011] [error] Can't load Perl file: I:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...
[Tue Jun 21 21:06:05 2011] [error] Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nCompilation failed in require at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nCompilation failed in require at I:/xampp/apache/conf/extra/startup.pl line 9.\nBEGIN failed--compilation aborted at I:/xampp/apache/conf/extra/startup.pl line 9.\nCompilation failed in require at (eval 2) line 1.\n
[Tue Jun 21 21:06:05 2011] [error] Can't load Perl file: I:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...
[Tue Jun 21 21:06:30 2011] [error] Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nCompilation failed in require at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nCompilation failed in require at I:/xampp/apache/conf/extra/startup.pl line 9.\nBEGIN failed--compilation aborted at I:/xampp/apache/conf/extra/startup.pl line 9.\nCompilation failed in require at (eval 2) line 1.\n
[Tue Jun 21 21:06:30 2011] [error] Can't load Perl file: I:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...
[Tue Jun 21 21:20:38 2011] [error] Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nCompilation failed in require at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nCompilation failed in require at I:/xampp/apache/conf/extra/startup.pl line 9.\nBEGIN failed--compilation aborted at I:/xampp/apache/conf/extra/startup.pl line 9.\nCompilation failed in require at (eval 2) line 1.\n
[Tue Jun 21 21:20:38 2011] [error] Can't load Perl file: I:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...
[Tue Jun 21 21:21:21 2011] [error] Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nCompilation failed in require at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nCompilation failed in require at I:/xampp/apache/conf/extra/startup.pl line 9.\nBEGIN failed--compilation aborted at I:/xampp/apache/conf/extra/startup.pl line 9.\nCompilation failed in require at (eval 2) line 1.\n
[Tue Jun 21 21:21:21 2011] [error] Can't load Perl file: I:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...
[Tue Jun 21 21:21:40 2011] [error] Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nCompilation failed in require at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nCompilation failed in require at I:/xampp/apache/conf/extra/startup.pl line 9.\nBEGIN failed--compilation aborted at I:/xampp/apache/conf/extra/startup.pl line 9.\nCompilation failed in require at (eval 2) line 1.\n
[Tue Jun 21 21:21:40 2011] [error] Can't load Perl file: I:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...
[Tue Jun 21 21:24:41 2011] [error] Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nCompilation failed in require at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nCompilation failed in require at I:/xampp/apache/conf/extra/startup.pl line 9.\nBEGIN failed--compilation aborted at I:/xampp/apache/conf/extra/startup.pl line 9.\nCompilation failed in require at (eval 2) line 1.\n
[Tue Jun 21 21:24:41 2011] [error] Can't load Perl file: I:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...
[Tue Jun 21 21:24:55 2011] [error] Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nCompilation failed in require at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nBEGIN failed--compilation aborted at I:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nCompilation failed in require at I:/xampp/apache/conf/extra/startup.pl line 9.\nBEGIN failed--compilation aborted at I:/xampp/apache/conf/extra/startup.pl line 9.\nCompilation failed in require at (eval 2) line 1.\n
[Tue Jun 21 21:24:55 2011] [error] Can't load Perl file: I:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...
ippo
 
Posts: 15
Joined: 21. June 2011 14:39

Re: Cannot start Apache & MySQL service!!

Postby JonB » 21. June 2011 17:15

yes, it (1.7.4) works on XP, Vista and Win 7, 32 and 64 bit machines.

If the current install is all not working, why don't you just stop any services, delete it and start fresh??? (maybe a fresh download too)

you will want to get the new Control Panel after you have it working, the updated one has improvements/

viewtopic.php?f=16&t=46743

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Cannot start Apache & MySQL service!!

Postby ippo » 21. June 2011 17:38

I want to attach the screenshots of my xampp control panel .How to attach a file or image here??
I cant understand what is this new option "Service" button at the top of XAMPP control panel is for?? When I try to click on the checkbox at the top it's showing a window telling me to click OK to uninstall XAMPP service!! What to do?
I have went to DOS prompt running 'cmd' command and there I cna run mysql queries and when I give httpd.exe -k start at 1:\xampp\apache\bin directory ,it is not giving any error and returning me to the !:\xampp\apache\bin>prompt. Does that mean APache is running ?? :roll:
Can you also explain to me the functions of the Admin buttons and Shell button(in the old xamp 1.7.3) in the Control panel?@Jon
Sir Jon I am totally confused now!! :cry: :cry: :oops:
ippo
 
Posts: 15
Joined: 21. June 2011 14:39

Re: Cannot start Apache & MySQL service!!

Postby JonB » 21. June 2011 18:40

I posted those answers too

viewtopic.php?f=16&t=47363

right now you should take a break

I'm going back to my programming and site work for a while

why don't you take a break, un-install the 'messed up' version of XAMPP

then decide which version of XAMPP you want to re-installl 1.7.3 or 1.7.4

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: jeanneotts and 108 guests