Skip to content

[Bug]: Nginx process can not start #1597

@curder

Description

@curder

Platform

macOS

Operating system version

macOS Tahoe 26.2

System architecture

ARM64 (M1, M2, etc)

Herd Version

1.24.2 (Build: 59)

PHP Version

PHP 8.2.29 (cli) (built: Jul 4 2025 00:24:29) (NTS)

Bug description

I updated my macOS system today from Tahoe 26.1 to Tahoe 26.2. After the update, I found that Herd was not working properly. Even after reinstalling, it still didn't work. I finally discovered that the nginx process was not starting correctly, while the related dnsmasq and php-fpm processes were starting normally.

I checked the nginx logs at /Users/curder/Library/Application Support/Herd/Log/nginx-error.log, but there were no logs in nginx itself. Please tell me how to debug to pinpoint the problem and get nginx running successfully.

Steps to reproduce

➜  nginx herd restart
Restarting DNSMasq...
Restarting PHP $_sock_...
Restarting PHP 8.2...
Restarting Nginx...
Herd services have been restarted.

➜  nginx ps aux |grep dnsmasq
curder           50282   0.0  0.0 410060240    640 s001  R+    5:19PM   0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox --exclude-dir=.venv --exclude-dir=venv dnsmasq
nobody           50225   0.0  0.0 435307744   2128   ??  S     5:19PM   0:00.01 /Applications/Herd.app/Contents/Resources/dnsmasq-arm64 --keep-in-foreground --conf-file=/Users/curder/Library/Application Support/Herd/config/dnsmasq/dnsmasq.conf

➜  nginx ps aux |grep php-fpm
curder           50349   0.0  0.0 435300432   1408 s001  S+    5:19PM   0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox --exclude-dir=.venv --exclude-dir=venv php-fpm
curder           36985   0.0  0.0 435527824   2016   ??  S     4:48PM   0:00.00 php-fpm: pool herd
curder           36983   0.0  0.0 435527824   2016   ??  S     4:48PM   0:00.00 php-fpm: pool herd
curder           36960   0.0  0.0 435531616  29296   ??  S     4:48PM   0:00.04 php-fpm: master process (/Users/curder/Library/Application Support/Herd/config/fpm/8.2-fpm.conf)

➜  nginx ps aux |grep nginx
curder           50396   0.0  0.0 435300128   1408 s001  S+    5:20PM   0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox --exclude-dir=.venv --exclude-dir=venv nginx

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions