Welcome! Log In Create A New Profile

Advanced

Re: User directive warning, despite being run as root

April 21, 2011 04:00PM
One final update, incase anyone else runs across this issue: The problem boiled down to the launchd script in question being installed into the ~/Library/LaunchAgents directory. Because config files from the user's own LaunchAgent directory will cause the process to be run under that user's ID and not root, every 10 seconds an attempt was made to restart nginx, and it failed, writing to the same error log that my manual restarts from the command line with sudo did. I was mistaking them for something generated by my sudo commands.

I never saw the extra nginx processes, because they exited out too fast for me to catch them.
Subject Author Posted

User directive warning, despite being run as root

jschuur April 21, 2011 02:30PM

Re: User directive warning, despite being run as root

jschuur April 21, 2011 03:05PM

Re: User directive warning, despite being run as root

jschuur April 21, 2011 04:00PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 299
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready