You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Apache web server won't start. org.apache.httpd.plist: Operation already in progress

After upgrading from Mavericks to Yosemite, Apache web server will not run when issuing the command sudo apachectl start. I get the message "org.apache.httpd.plist: Operation already in progress"


I am a web developer and a Mac newbie. No changes have been made to the .conf files. I had upgraded php when I was on Mavericks. The upgrade to PHP 6 was successful. I have created a username.conf file in the /etc/apache2/users folder so that I can create my web sites in my user directory. Again, all of this was working on Mavericks before I upgraded to Yosemite.


Now I just cannot start Apache. Any help would be appreciated.

iMac, OS X Yosemite (10.10), Apache web server

Posted on Oct 17, 2014 6:05 AM

Reply
22 replies

Oct 26, 2014 2:17 PM in response to Truper63

By the way, you had asked how I updated my PHP to 5.6.


Per the PHP.NET documentation for installing on Mac OS X, I used the the liip package option. Liip: » http://php-osx.liip.ch


On the Liip web page I simply copied the terminal command and ran it in my terminal session.

The command for updating to 5.6 was curl -s http://php-osx.liip.ch/install.sh | bash -s 5.6

Jan 2, 2015 12:43 PM in response to SaeidZebardast

One could also fix the issue by pointing to the correct so file that is asked for.


In my case the lib5php5.so file was of the wrong version for my environment.


I changed the file into :


....

#LoadModule php5_module /usr/local/php5/libphp5.so

LoadModule php5_module /usr/libexec/apache2/libphp5.so

....


After pointing to the other file, the start went without issues.

Oct 5, 2015 7:05 AM in response to SaeidZebardast

$ sudo apachectl # without any parameter (stop/start/restart)

showed my problem was due to syntax error in file /private/etc/apache2/extra/httpd-mpm.conf on LockFile "/private/var/log/apache2/accept.lock"


#

# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.

#

<IfModule !mpm_winnt_module>

<IfModule !mpm_netware_module>

LockFile "/private/var/log/apache2/accept.lock"

</IfModule>

</IfModule>



I just #ed this line to fix it

Apache web server won't start. org.apache.httpd.plist: Operation already in progress

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.