Web Sharing is on error when starting Apache

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

Web Sharing is on error when starting Apache

Postby burgerga » 22. September 2011 20:38

I keep getting told I need to turn of web sharing when I try to start Apache. However web sharing is most definitely off. I've checked multiple times, tried cycling it on and off... nothing. XAMPP still tells me it's on. Any ideas?
burgerga
 
Posts: 1
Joined: 22. September 2011 20:35

Re: Web Sharing is on error when starting Apache

Postby mgd711 » 31. October 2011 12:04

I have the same problem, all sharing has been turned off in Preferences/Sharing. I've logged out of iCloud and MobileMe but no joy.

Any help or advice would be welcome?
mgd711
 
Posts: 2
Joined: 31. October 2011 12:00
Operating System: Mac OSX

Re: Web Sharing is on error when starting Apache

Postby mgd711 » 31. October 2011 12:16

When trying to run XAMPP from the terminal I get the following message in addition to the pop up.

2011-10-31 16:39:08.655 XAMPP Control[1472:1817] Error Domain=XAMPPErrorDomain Code=4 "Web Sharing is on!" UserInfo=0x1d46d0 {NSLocalizedRecoverySuggestion=XAMPP's Apache can not start while Web Sharing is on! Please go to System Preferences > Sharing and turn it off., NSLocalizedDescription=Web Sharing is on!}
2011-10-31 16:39:08.667 XAMPP Control[1472:1817] NSAlert is being used from a background thread, which is not safe. This is probably going to crash sometimes. Break on _NSAlertWarnUnsafeBackgroundThreadUsage to debug. This will be logged only once. This may break in the future.


There is no error logs in Console.
mgd711
 
Posts: 2
Joined: 31. October 2011 12:00
Operating System: Mac OSX

Re: Web Sharing is on error when starting Apache

Postby whaleforever » 21. April 2012 03:55

any solution ????
whaleforever
 
Posts: 2
Joined: 21. April 2012 03:46
Operating System: mac os x

Re: Web Sharing is on error when starting Apache

Postby whaleforever » 21. April 2012 04:32

find a solution :
run this command : sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
whaleforever
 
Posts: 2
Joined: 21. April 2012 03:46
Operating System: mac os x

Re: Web Sharing is on error when starting Apache

Postby r4wmunt34q » 23. March 2013 08:59

Thank you whaleforever, it worked. I didnt even have to restart my mac, just the xampp control panel.
r4wmunt34q
 
Posts: 1
Joined: 23. March 2013 08:56
Operating System: Mac OS X Mountain Lion

Re: Web Sharing is on error when starting Apache

Postby djnp » 06. June 2013 17:50

Hey, simple easy fix is to stop your Mac OS default apache server with following command:

sudo apachectl stop

It fixed this problem for me..


Cheers!!
djnp
 
Posts: 1
Joined: 06. June 2013 17:47
Operating System: MAC OS X

Re: Web Sharing is on error when starting Apache

Postby Hiptodd » 25. July 2013 08:37

Hello djnp!!

Thank you! Thank you!Thank you!Thank you!Thank you!Thank you!

I have been bashing my head against the wall for 2 days and I finally saw your suggestion and immediately XAMPP allowed Apache to run!

So thank you one more time for the solution!

~ hiptodd
Hiptodd
 
Posts: 1
Joined: 25. July 2013 08:24
Operating System: Mac OS X 10.8.4


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 7 guests