skip to Main Content

Apache won’t start anymore.

I tried most solutions on the internet. Nothing is working.
In apache_error.log I get:

[Fri Dec 27 20:33:10 2019] [alert] Child 5905 returned a Fatal error... Apache is exiting!
[Fri Dec 27 20:33:10 2019] [alert] (22)Invalid argument: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Dec 27 20:33:10 2019] [alert] (22)Invalid argument: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Dec 27 20:33:10 2019] [alert] (22)Invalid argument: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive

Now this dude/dudette here says to reset the default

But that doesn’t help.

What to do?

4

Answers


  1. Chosen as BEST ANSWER

    Just found the answer myself.

    Reset the templates is not enough.

    File > Edit Template > Revert all Templates to default settings…

    And then also:

    File > Factory Setting > Setting 1

    Then I set the ports back to 80… via the standard ports button.

    Now it works 🎉


  2. MAMP Pro 6 wants the document root for each host to be outside of /Applications/MAMP. I deleted all my old hosts, moved the root directories to /Users/me/Sites, and added new hosts with the new document roots. Then one last step seemed to be the final trick:

    File > Reset Apache Modules

    Fingers crossed. No other suggestions in other threads helped. Didn’t get any errors in the apache log file.

    Login or Signup to reply.
  3. For me the following worked:

    • go to ‘~/Library/Application Support/appsolute/MAMP PRO`
    • delete the file httpd.conf

    After restarting Mamp, the file gets regenerated and apache runs.

    Login or Signup to reply.
  4. Using the option set server ports to 80, 81, 443, 7443, 3306 and 11211 in ports & user worked for me – mamp pro 6.3.2

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search