Sample Header Ad - 728x90

Homebrew httpd suddenly stopped working in Ventura. "Successfully started" but status says "stopped."

0 votes
0 answers
333 views
My Homebrew Apache installation randomly stopped working today. It was working up until yesterday, and I was able to access my projects via localhost:8080. I recently updated my OS from Monterey to Ventura 13.6.3 about two days ago. I am on Apple Silicon (MacBook Air M1 2020). I have tried restarting httpd using brew services restart httpd or stopping and starting using brew services stop httpd and brew services start httpd. I observed that the service would "successfully start" for roughly a second before the status becomes stopped in brew services list
ron@Rons-MacBook-Air ~ % brew services start httpd
==> Successfully started httpd (label: homebrew.mxcl.httpd)
ron@Rons-MacBook-Air ~ % brew services list       
Name              Status  User       File
httpd             started ronnparcia ~/Library/LaunchAgents/homebrew.mxcl.httpd.plist
mongodb-community started ronnparcia ~/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
mysql             started ronnparcia ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
php               started ronnparcia ~/Library/LaunchAgents/homebrew.mxcl.php.plist
unbound           none               
ron@Rons-MacBook-Air ~ % brew services list
Name              Status  User       File
httpd             stopped ronnparcia ~/Library/LaunchAgents/homebrew.mxcl.httpd.plist
mongodb-community started ronnparcia ~/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
mysql             started ronnparcia ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
php               started ronnparcia ~/Library/LaunchAgents/homebrew.mxcl.php.plist
unbound           none
I have tried solutions online such as reinstalling httpd and restoring the default httpd.conf file but this did not work. I have also updated and upgraded Homebrew already. I have also tried the launchctl unload -w command but this returns a Input/Output error. May I please ask for help in troubleshooting and resolving this issue? Please let me know if there's any additional information or output I can provide.
Asked by otu.pjr (1 rep)
Dec 22, 2023, 12:24 PM
Last activity: Dec 22, 2023, 04:02 PM