Comments (8)
@fletchowns what version of apache is getting installed? Does CentOS 7 try to install apache2.4? If so, try the COOK-3900 branch. While that doesn't specifically support CentOS 7, it does support apache2.4 through the ['apache']['version']
attribute.
from apache2.
Yup looks like CentOS 7 installs Apache 2.4.
I tried the COOK-3900 branch (and set ['apache']['version']
to 2.4) and ran into a different issue that I filed as #162.
After working around that one I ran into a slightly different issue:
[2014-07-14T22:07:56-04:00] INFO: template[/etc/sysconfig/httpd] sending restart action to service[apache2] (delayed)
================================================================================
Error executing action `restart` on resource 'service[apache2]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /sbin/service httpd restart && sleep 1 ----
STDOUT:
STDERR: Redirecting to /bin/systemctl restart httpd.service
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.
---- End output of /sbin/service httpd restart && sleep 1 ----
Ran /sbin/service httpd restart && sleep 1 returned 1
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apache2/recipes/default.rb
from apache2.
I'm going to close this one in favor of #162 then.
from apache2.
Err.. wait I see this is a different issue. We'll keep them both open for now.
from apache2.
As @drpebcak points out it looks like on centos7 it uses the provided mod_systemd to enable tighter integration with systemd service provider. mod_systemd is pulled into to the mainline and would be generally available as part of what looks to be 2.5.0.
from apache2.
[2014-07-29T22:40:48+00:00] ERROR: package[mod_python] (apache2::mod_python line 28) had an error: Chef::Exceptions::Package: No version specified, and no candidate version available for mod_python
Recipe: apache2::mod_python
* package[mod_python] action install[2014-07-29T22:40:37+00:00] INFO: Processing package[mod_python] action install (apache2::mod_python line 28)
* No version specified, and no candidate version available for mod_python
================================================================================
Error executing action `install` on resource 'package[mod_python]'
================================================================================
Chef::Exceptions::Package
-------------------------
No version specified, and no candidate version available for mod_python
Resource Declaration:
---------------------
# In /tmp/kitchen/cookbooks/apache2/recipes/mod_python.rb
28: package 'mod_python' do
29: notifies :run, 'execute[generate-module-list]', :immediately
30: end
31: end
Compiled Resource:
------------------
# Declared in /tmp/kitchen/cookbooks/apache2/recipes/mod_python.rb:28:in `from_file'
package("mod_python") do
action :install
retries 0
retry_delay 2
guard_interpreter :default
package_name "mod_python"
cookbook_name :apache2
recipe_name "mod_python"
end
from apache2.
This is actually fixed already in the main cookbook - 02b202c.
The mod_python error comes from our test cookbook - and it doesn't appear that the rhel/fedora platform_family has a package for that with apache2.4. In this case, we simply won't test/support its usage.
from apache2.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from apache2.
Related Issues (20)
- Amazon 2018 install broken with PR#688 HOT 1
- PIDFILE is not rendered in /etc/sysconfig/httpd HOT 2
- Enable template_cookbook property in default apache2_install
- ServerName directive absent from apache2.conf.erb HOT 2
- Allow passing arbitrary variables to conf templates via apache2_conf
- problem with apache2 HOT 2
- Infinite loop from apache2_mod_auth_cas and apache2_module 'auth_cas' resources HOT 28
- chef_version constraint is not accurate. HOT 2
- apache2 Chef-17 compatability HOT 1
- The default_site resource does not support custom variables
- The default_site resource property site_action does not work
- Unable to override options for security and charset configurations with install resource
- Package mod_ldap not installed on Centos if you enable mod_ldap
- Option to config using different instance name HOT 1
- Apache
- apache2_module breaks authz_svn module loading HOT 3
- Apache
- apache_mod_php_filename and apache_mod_php_modulename incompatible with Ubuntu 22.04 HOT 2
- pkg.apache2
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apache2.