Comment désinstaller complètement le Homebrew Apache httpd24?

Sur macOS Sierra, j'ai installé Apache à l'aide de Homebrew:

$ brew install httpd24

Cela a causé une certaine bizarre Apache questions. Il semble que l'installation par défaut d'Apache sur macOS Sierra était encore actif, d'une certaine façon. Maintenant, je veux désinstaller complètement httpd24 mais je suis encore le voir dans mon processus. Voici ce que j'ai fait:

$ brew unlink httpd24
$ brew uninstall httpd24
$ rm -rf /usr/local/etc/apache2/

De course $ ps aux|grep httpd révèle:

blt              51473   0.0  0.0  2613988    844   ??  S    10:48PM   0:00.00 /usr/local/Cellar/httpd24/2.4.23_2/bin/httpd -k start
blt              51447   0.0  0.0  2613988    892   ??  S    10:47PM   0:00.00 /usr/local/Cellar/httpd24/2.4.23_2/bin/httpd -k start
blt              51396   0.0  0.0  2613988    856   ??  S    10:47PM   0:00.00 /usr/local/Cellar/httpd24/2.4.23_2/bin/httpd -k start
blt              51345   0.0  0.0  2613988    844   ??  S    10:47PM   0:00.00 /usr/local/Cellar/httpd24/2.4.23_2/bin/httpd -k start
blt              51285   0.0  0.0  2613988    876   ??  S    10:45PM   0:00.00 /usr/local/Cellar/httpd24/2.4.23_2/bin/httpd -k start
blt              51048   0.0  0.0  2615200    868   ??  S    10:34PM   0:00.00 /usr/sbin/httpd -T
blt              51047   0.0  0.0  2615200    840   ??  S    10:34PM   0:00.00 /usr/sbin/httpd -T
blt              51046   0.0  0.1  2628716  20104   ??  S    10:34PM   0:00.06 /usr/sbin/httpd -T
blt              51045   0.0  0.1  2628716  20084   ??  S    10:34PM   0:00.05 /usr/sbin/httpd -T
blt              51044   0.0  0.1  2628716  20148   ??  S    10:34PM   0:00.04 /usr/sbin/httpd -T
blt              51043   0.0  0.1  2628716  20236   ??  S    10:34PM   0:00.05 /usr/sbin/httpd -T
blt              51041   0.0  0.1  2628716  20668   ??  S    10:34PM   0:00.07 /usr/sbin/httpd -T
blt              51040   0.0  0.4  2644668  59852   ??  S    10:34PM   0:01.05 /usr/sbin/httpd -T
root             47136   0.0  0.1  2615456  18872   ??  Ss    5:34PM   0:00.67 /usr/sbin/httpd -T
root             43442   0.0  0.0  2614244   7172   ??  Ss    4:14PM   0:00.83 /usr/local/Cellar/httpd24/2.4.23_2/bin/httpd -k start
blt              52451   0.0  0.0  2423384    256 s003  R+   11:06PM   0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn httpd

Le processus avec le chemin d'accès /usr/sbin/httpd sont par défaut l'installation d'Apache. Ceux avec le chemin d'accès /usr/local/Cellar/httpd24/2.4.23_2/bin/httpd est l'installation de Homebrew. Cela ne devrait même pas être possible. Le répertoire /usr/local/Cellar/httpd24 n'existe même pas. J'ai essayé manuellement tuer ces processus, mais ils ont fini par revenir. J'ai essayé de redémarrer mon ordinateur. J'ai redémarré Apache nombre incalculable de fois. J'ai confirmé que l'Apache, je suis en interaction avec sur la ligne de commande à l'aide de $ apachectl est l'installation par défaut. Je ne sais pas quoi faire d'autre. Merci pour toute aide.

Compte tenu du fait qu'il survit à un redémarrage. Avez-vous vérifier ~/Library/LaunchAgents et /Library/LaunchDaemons et /Library/LaunchAgents d'éventuels restes de l'Homebrew httpd24 installer?

OriginalL'auteur maskedjellybean | 2016-12-16