Page 1 of 1

Apache / Mysql apps won't start

PostPosted: 13. August 2011 18:07
by cholden
Apologizing in advance for my lack of server set-up experience! Learning as I go along! I have pretty much done everything recommended on this forum (great forum, btw) to get a clean XAMPP install and the new control panel up and running. I actually had xampp running at one point and then I rebooted my computer and no apache, no mysql when I requested to start both apps.

So, my latest...
Uninstalled xampp.
I downloaded the .zip xampp file and extracted it to my C:/ drive. No problem.
I downloaded the the .zip file for the new CP and extracted it into C:\xampp\scr-cp3. No problem. Control panel launches fine. Love the new CP! If only I could use it.
Checked that ports 80, 443 and 3306 are not being used. All clear!
Launched xampp control panel. selected Start for apache and Mysql. Nothing happens. It just sits there.
Check apache error log. No error log file to check. CP dialog box....just says .....''starting apache app...."; ''starting mysql app...." Seems lost on what to do next.
The Service boxes are unchecked.

It seems that the xampp cp is not communicating with xampp. Any suggestions for next steps are much appreciated.

More info...

12:51:25 PM [main] Initializing main
12:51:25 PM [main] Windows version: 6.0 (build 6002) - Service Pack 2
12:51:25 PM [main] Xampp version: ???
12:51:25 PM [main] Control center version: 3.0.2 [ Compiled: Jul 21th 2011 - build #1 ]
12:51:25 PM [main] Running not as admin! This will work for all application stuff, but whenever you do
12:51:25 PM [main] something with services there will be a security dialogue! So think about running
12:51:25 PM [main] this application with administrator rights!
12:51:25 PM [main] Working with basedir: "c:\xampp\src-xcp3\"
12:51:25 PM [main] Initializing moduls
12:51:25 PM [apache] Possible problem detected: file "c:\xampp\src-xcp3\apache\bin\httpd.exe" not found - run this program from your XAMPP root directory!
12:51:25 PM [mysql] Possible problem detected: file "c:\xampp\src-xcp3\mysql\bin\mysqld.exe" not found - run this program from your XAMPP root directory!
12:51:25 PM [filezilla] Possible problem detected: file "c:\xampp\src-xcp3\FileZillaFTP\FileZillaServer.exe" not found - run this program from your XAMPP root directory!
12:51:25 PM [mercury] Possible problem detected: file "c:\xampp\src-xcp3\MercuryMail\mercury.exe" not found - run this program from your XAMPP root directory!
12:51:25 PM [tomcat] Possible problem detected: file "c:\xampp\src-xcp3\tomcat\bin\tomcat6.exe/c:\xampp\src-xcp3\tomcat\bin\tomcat7.exe" not found - run this program from your XAMPP root directory!
12:51:25 PM [main] Starting check-timer
12:51:28 PM [apache] Starting apache app...
12:51:31 PM [mysql] Starting mysql app...
12:51:54 PM [main] Deinitializing moduls
12:51:54 PM [main] Deinitializing main

addt'l info.. (sorry, this is getting long but the more info I can provide you the easier it will be for you folks to help me)
I was able to launch apache and mysql by running the batch start files. They show as running in the control panel. If I shut them down they will not relaunch using the control panel. I have to directly execute apache_start and mysql_start.

Re: Apache / Mysql apps won't start

PostPosted: 14. August 2011 01:13
by Sharley
Far far better to have more details to troubleshoot with than not enough - thanks. :)

cholden wrote:I downloaded the the .zip file for the new CP and extracted it into C:\xampp\scr-cp3. No problem.
Yes, problem. The xampp_control3.exe should be in the C:\xampp folder.

Your other issue that occurred after a reboot may have been caused by the previous CP having ticks in the Svc check boxes.

You can run the apache_uninstallservice.bat and mysql_uninstallservice.bat files from their respective folders to see if it helps with starting those components, but first move the xampp_control3.exe file to it's correct location where it will recreate it's own log and ini file, which should fix most of your problems

The log file you posted had the clues relating to an incorrect base directory as you will see no apache or mysql folders in the base directory of C:\xampp\scr-cp3\ but they are in the real base directory of C:\xampp\
(you can leave the src folder in the scr-cp3 folder you created if you wish as it is not needed for the normal running of the control panel).
cholden wrote:12:51:25 PM [main] Working with basedir: "c:\xampp\src-xcp3\"
12:51:25 PM [main] Initializing moduls
12:51:25 PM [apache] Possible problem detected: file "c:\xampp\src-xcp3\apache\bin\httpd.exe" not found - run this program from your XAMPP root directory!
12:51:25 PM [mysql] Possible problem detected: file "c:\xampp\src-xcp3\mysql\bin\mysqld.exe" not found - run this program from your XAMPP root directory!
12:51:25 PM [filezilla] Possible problem detected: file "c:\xampp\src-xcp3\FileZillaFTP\FileZillaServer.exe" not found - run this program from your XAMPP root directory!
12:51:25 PM [mercury] Possible problem detected: file "c:\xampp\src-xcp3\MercuryMail\mercury.exe" not found - run this program from your XAMPP root directory!
12:51:25 PM [tomcat] Possible problem detected: file "c:\xampp\src-xcp3\tomcat\bin\tomcat6.exe/c:\xampp\src-xcp3\tomcat\bin\tomcat7.exe" not found - run this program from your XAMPP root directory!


Good luck. :)

Re: Apache / Mysql apps won't start

PostPosted: 14. August 2011 21:44
by cholden
Thank you so much :D :D It works perfectly. Now I can finally get down to site development! This forum has, by far, been the best software support I've experienced in a long time.