Unable to Stop Apache running!

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Unable to Stop Apache running!

Postby cksmy » 30. May 2009 12:56

Hi, I wonder if anyone is having the same problem as me. I downloaded Xampp version. 1.0.1 on my Mac OS X which is running on version. 10.5.7. I am able to start and stop MySQL and FTP but I am not able to stop Apache. When I click on the stop button in the Xampp Control it says that it is stopping but it will stay like that forever. I closed Xampp down completely and when I reopened the Xampp Control it said that Apache was still running. The only way I can stop the Apache running is shut down the computer.

Can anyone tell me how to fix this problem. Many thanks,

Kelly Smy
cksmy
 
Posts: 1
Joined: 29. May 2009 23:46

Re: Unable to Stop Apache running!

Postby MegaChriz » 02. June 2009 12:40

I don't know, but what is the response text when you try to stop Apache in the Terminal?

1. Open Terminal
2. Type:
Code: Select all
sudo su

3. Type the password of your administrator account
4. Type:
Code: Select all
/Applications/XAMPP/xamppfiles/xampp stopapache


If you only type the following command then you can see a list of other options for this Terminal-command.
Code: Select all
/Applications/XAMPP/xamppfiles/xampp
MegaChriz
 
Posts: 158
Joined: 16. February 2009 15:04
Location: Amersfoort, The Netherlands
Operating System: Mac OS X

Re: Unable to Stop Apache running!

Postby kcsmjz » 22. July 2009 01:22

I am having the same trouble. I followed the Terminal suggestion and the response was;

XAMPP: Stopping Apache...

It is still running!

Thanks MegaChriz
kcsmjz
 
Posts: 1
Joined: 22. July 2009 01:17

Re: Unable to Stop Apache running!

Postby caltuna » 24. July 2009 21:41

What do the logs say?

How do you know it is still running?
caltuna
 
Posts: 111
Joined: 05. May 2009 16:35

Re: Unable to Stop Apache running!

Postby ralf.krause » 01. August 2009 11:20

To see if Apache is running you type ps ax | grep httpd in the Terminal. To stop Apache you can type sudo kill with the first process number. If this does not stop all processes of Apache you should repeat this for all process numbers.

Ralf

Code: Select all
iMac:/ krause$ ps ax | grep httpd
  642   ??  Ss     0:00.56 /Applications/XAMPP/xamppfiles/bin/httpd -E /Applications/XAMPP/xamppfiles/logs/error_log -k start -DPHP
  643   ??  S      0:00.00 /Applications/XAMPP/xamppfiles/bin/httpd -E /Applications/XAMPP/xamppfiles/logs/error_log -k start -DPHP
  645   ??  S      0:00.02 /Applications/XAMPP/xamppfiles/bin/httpd -E /Applications/XAMPP/xamppfiles/logs/error_log -k start -DPHP
  646   ??  S      0:00.01 /Applications/XAMPP/xamppfiles/bin/httpd -E /Applications/XAMPP/xamppfiles/logs/error_log -k start -DPHP
  647   ??  S      0:00.01 /Applications/XAMPP/xamppfiles/bin/httpd -E /Applications/XAMPP/xamppfiles/logs/error_log -k start -DPHP
  648   ??  S      0:00.00 /Applications/XAMPP/xamppfiles/bin/httpd -E /Applications/XAMPP/xamppfiles/logs/error_log -k start -DPHP
  649   ??  S      0:00.03 /Applications/XAMPP/xamppfiles/bin/httpd -E /Applications/XAMPP/xamppfiles/logs/error_log -k start -DPHP
  656   ??  S      0:00.01 /Applications/XAMPP/xamppfiles/bin/httpd -E /Applications/XAMPP/xamppfiles/logs/error_log -k start -DPHP
  657   ??  S      0:00.01 /Applications/XAMPP/xamppfiles/bin/httpd -E /Applications/XAMPP/xamppfiles/logs/error_log -k start -DPHP
  658   ??  S      0:00.01 /Applications/XAMPP/xamppfiles/bin/httpd -E /Applications/XAMPP/xamppfiles/logs/error_log -k start -DPHP
  659   ??  S      0:10.27 /Applications/XAMPP/xamppfiles/bin/httpd -E /Applications/XAMPP/xamppfiles/logs/error_log -k start -DPHP
  704 s000  R+     0:00.01 grep httpd
iMac:/ krause$ sudo kill 642
Password:
iMac:/ krause$ ps ax | grep httpd
  708 s000  R+     0:00.00 grep httpd
iMac:/ krause$
ralf.krause
 
Posts: 26
Joined: 26. January 2009 11:10
Operating System: OS X 10.8.2


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 14 guests