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

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

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

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.