Skip to content
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::Params is incorrectly changing httpd config directory on CentOS-7 #293

Open
cappetta opened this issue Mar 1, 2016 · 0 comments

Comments

@cappetta
Copy link

cappetta commented Mar 1, 2016

Reference Link: https://bugzilla.redhat.com/show_bug.cgi?id=1276277

httpd is failing to come up and the error in /var/log/messages:

Feb 29 22:18:41 localhost httpd: AH00526: Syntax error on line 31 of /etc/httpd/conf.d/php.conf:

According to: http://serverfault.com/questions/515417/error-start-apache-php-value this is caused by a missing libphp5.so file.

At first I thought there was a missing "Load Module" line not getting inserted into the config yet after looking closer I see that logic one line 65 of https://github.com/redhat-openstack/openstack-puppet-modules/blob/master/apache/manifests/params.pp changes the module config directory for RHEL/Centos-7.

I'm not sure this is 100% correct but I watched this multiple times by removing packstack then performing a first 'failed' install where I saw both conf.d and conf.modules.d get created and populated. Once the keystone.pp failed I copied the files from /etc/httpd/conf.modules.d into /etc/httpd/conf.d and the httpd service started right up.

I then executed another packstack install on top of the system/failure and all completed as expected.

Not sure the best way to resolve comment 5 ( https://bugzilla.redhat.com/show_bug.cgi?id=1276277#c5 ) recommends an update to httpd.conf which seems feasible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant