-
Notifications
You must be signed in to change notification settings - Fork 610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apache -D foreground fails #88
Comments
Please start with the example setup directory. |
So after a lot of testing, I came to this conclusion: The problem arises because of The core issue is docker layers removing things from earlier layers, but this not being reflected properly. In this case, Apache starts, still sees a file "auth_kerb.load" (because of the bug), but can't access the data. There it stops loading it's config files. If you run the image with bash, after you run
For reference concerning storage drivers: moby/moby#18298 |
I just ran into this very same issue on CentOS 7.2 + xfs + overlay filesystem After reading this: I found that our xfs filesystem was not created with the mkfs flag of "ftype=1" Since we didn't want to nuke the whole box/filesystem we decided to create a mount for /var/lib/docker using this flag and the issue is now resolved. |
@jbehrends how'd you create that mount for /var/lib/docker? |
So does anyone know how to create a mount using this flag to resolve the issue on CentOS 7.2? |
@nemonik does this not work: http://man7.org/linux/man-pages/man8/mkfs.xfs.8.html ? |
Thanks guys for pointing on to this bug.
Once you are done, you should see these 3 lines when doing |
For those on AWS, here's what I did to workaround this issue using Terraform in your aws_instance resource:
Then execute this script to create the new mount:
Applies to CentOS 7 and Docker 1.11, which I can't upgrade due to other dependencies right now. |
When I start the docker container I get:
Module auth_kerb disabled.
To activate the new configuration, you need to run:
service apache2 restart
Module ssl already disabled
Enabling module rewrite.
To activate the new configuration, you need to run:
service apache2 restart
Stopping web server: apache2.
AH00534: apache2: Configuration error: No MPM loaded.
Action '-D FOREGROUND' failed.
The Apache error log may have more information.
Any ideas?
The text was updated successfully, but these errors were encountered: