Apache, MySql will not stop - Windows 7 [SOLVED]

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

Apache, MySql will not stop - Windows 7 [SOLVED]

Postby Coastalguy » 28. September 2011 00:49

I have XAMPP set up on both my XP and Windows 7, dual booted on my PC. Both are installed on a different partition that the OS. On XP, Apache and Mysql start and run perfectly, and also stop using the console. However, on Windows 7, Apache and Mysql does start and run perfectly on Bootup, however I am unable to stop them. When trying to stop, I get an error -1 followed by "busy". I have rebooted, but with the same problem. Any suggestions?
Coastalguy
 
Posts: 57
Joined: 06. March 2011 21:06
XAMPP version: 1.7.7
Operating System: Windows 10 Home Premium

Re: Apache, MySql will not stop

Postby Sharley » 28. September 2011 00:57

What version of XAMPP>
viewtopic.php?f=16&t=48331
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, MySql will not stop

Postby Coastalguy » 28. September 2011 01:02

Version 2.5.
Coastalguy
 
Posts: 57
Joined: 06. March 2011 21:06
XAMPP version: 1.7.7
Operating System: Windows 10 Home Premium

Re: Apache, MySql will not stop

Postby hackattack142 » 28. September 2011 01:13

That looks like the version of the Control Panel. You can find your XAMPP version if you look in xampp/readme_en.txt

If you are using XAMPP 1.7.5, 1.7.6 or 1.7.7, you can also try using the new Control Panel v3 in the xampp directory named "xampp-control-3-beta.exe"
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Apache, MySql will not stop

Postby Coastalguy » 28. September 2011 01:53

Per that readme file, I am using 1.7.4, which you stated is before the versions allowing the Control Panel v3?

Do you think I should be using a later version, and that might be the problem?
Coastalguy
 
Posts: 57
Joined: 06. March 2011 21:06
XAMPP version: 1.7.7
Operating System: Windows 10 Home Premium

Re: Apache, MySql will not stop

Postby Sharley » 28. September 2011 01:58

Coastalguy wrote:Per that readme file, I am using 1.7.4, which you stated is before the versions allowing the Control Panel v3?

Do you think I should be using a later version, and that might be the problem?
Highly recommended to move to 1.7.7 but this would require you completely remove the 1.7.4 version and some tips on doing that can be found in this post:
viewtopic.php?p=179699#p179699

Goos luck. :)
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, MySql will not stop

Postby Coastalguy » 28. September 2011 02:06

Would glady upgrade, by per the suggestions provided with your link, both Apache and MySql should be stopped, apparently so that it will uninstall properly..... Which brings me back to my original problem, I cannot stop them via the control panel. Do you know of any other way I can stop them, so I can do the uninstall?
Coastalguy
 
Posts: 57
Joined: 06. March 2011 21:06
XAMPP version: 1.7.7
Operating System: Windows 10 Home Premium

Re: Apache, MySql will not stop

Postby Sharley » 28. September 2011 02:17

Click on the SCM button in the control panel and find Apache2.2 then right click on it and select Properties.
Next click on Stop.
Click Apply Go.

Repeat if you find mysql

Close the SCM and both should now be stopped next remove the ticks in the Svc boxes and you should be set to go.

It may be helpful to do a reboot and check the control panel again before proceeding to uninstall.

Good luck :)
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, MySql will not stop

Postby Coastalguy » 28. September 2011 02:27

Using SCM, was able to stop them both (learned something here). But then, when unchecking the service on them, I get a message to click OK to uninstall it (Apache or MySql). Whether I click OK or Cancel, the check mark comes right back. If I boot and restart, won't these being checked restart them again? Sorry to be a pain....
Coastalguy
 
Posts: 57
Joined: 06. March 2011 21:06
XAMPP version: 1.7.7
Operating System: Windows 10 Home Premium

Re: Apache, MySql will not stop

Postby Sharley » 28. September 2011 02:30

Try it and let me know, as you may have a registry issue that I can advise how quickly to fix.

Make sure you have administrator privileges as this could be your main problem as most of XAMPP requires this.

1.7.4 has been a pain for many.
viewtopic.php?f=16&t=44327

And you are not pain, it is what we are here for. :)
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, MySql will not stop

Postby Coastalguy » 28. September 2011 02:41

They were running on restart. I guess there is a registry problem.
Coastalguy
 
Posts: 57
Joined: 06. March 2011 21:06
XAMPP version: 1.7.7
Operating System: Windows 10 Home Premium

Re: Apache, MySql will not stop

Postby Sharley » 28. September 2011 02:43

First right click on the xampp_control.exe in the xampp folder and select to run as administrator and try again to remove the ticks.

I'll try and respond quickly so refresh this page often till you see the reply.
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, MySql will not stop

Postby Coastalguy » 28. September 2011 02:54

After select Run as Administrator, I was able to uncheck them. I checked my User status and it is for Administrator, so I guess Run as Administrator has more services available? Anyway, I will uninstall and install the new version. Will let you know. Until then, at least I know how to stop the services using SCM, until I do.

Until then, thanks for your help.
Coastalguy
 
Posts: 57
Joined: 06. March 2011 21:06
XAMPP version: 1.7.7
Operating System: Windows 10 Home Premium

Re: Apache, MySql will not stop

Postby Sharley » 28. September 2011 02:55

Here a link to help with admin issues in Win7
http://www.sevenforums.com/tutorials/11 ... rator.html

Good luck and best wishes. :)
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, MySql will not stop

Postby Coastalguy » 28. September 2011 03:58

Ok,

Backed up my databases, uninstalled and reinstalled the new XAMPP. Copied back my databases, and reset the DocumentRoot to the directory my websites are in. I didn't select "service" for Apache and Mysql during the install, so I had a little problem getting Apache to start. Clicked the Service button and check the start control panel as service and then apache and mysql and clicked ok. Both then started up. Rechecking the service button again and only mysql checked, so I'm not sure what I am doing there. Also, I cannot check the module buttons to the left of the apache and mysql "running" items.

I am totally confused as to what should be checked or setup, especially on this service thing.

Additionally, my localhost is showing my local websites but not showing my databases. Obviously, the DocumentRoot is ok as my websites show, however I think I have a database password set on the sites, but not set with this new install. Can you advise how to set a password? Lastly, I went into http://localhost/phpmyadmin, and it is in German. I did the transfer thing on my Chrome browser to transfer from German to English, but nothing happened. I think the password setting is there somewhere, but I can only read a little German (Had it in high school many, many years ago).
Coastalguy
 
Posts: 57
Joined: 06. March 2011 21:06
XAMPP version: 1.7.7
Operating System: Windows 10 Home Premium

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 146 guests