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

" Using allow is not supported in your Apache version" #72

Closed
stl-thorbach opened this issue Apr 1, 2015 · 6 comments
Closed

" Using allow is not supported in your Apache version" #72

stl-thorbach opened this issue Apr 1, 2015 · 6 comments
Labels
bug Something isn't working

Comments

@stl-thorbach
Copy link

When deploying "zabbix::web" on a stand alone server or on a monolithic server I get the following error:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template apache/vhost/_directories.erb:
Filepath: /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/parser/functions/fail.rb
Line: 3
Detail: Apache::Vhost: Using allow is not supported in your Apache version
at /etc/puppetlabs/puppet/environments/production/modules/apache/manifests/vhost.pp:545 on node zabbix-web.streetlightdata.net
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

All other modules (including "zabbix::database" and "zabbix::server) deploy without issues.

Setup is as follows (all instances running in google cloud):

Newly build puppet enterprise server [3.7.3 (Puppet Enterprise 3.7.1)]

Newly build zabbix server. Installed zabbix module with "puppet module install wdijkerman-zabbix"

Class: apache
mpm_module = "prefork"

Class: apache::mod::php

Class: zabbix::web
zabbix_url = "zabbix-web.test.net"

@dj-wasabi dj-wasabi added the bug Something isn't working label Apr 2, 2015
@dj-wasabi
Copy link

Hi stl-thorbach,

Thank you for making time to create this issue. What kind of OS are you running? What version of Apache? 2.2 or 2.4?

Kind regards,
Werner

@stl-thorbach
Copy link
Author

Thank you for getting back to me Werner.

My apologies for omitting some of the fundamental information.

I am running Ubuntu 14.04:
Linux 3.16.0-33-generic #44~14.04.1-Ubuntu SMP Fri Mar 13 10:33:29 UTC 2015
x86_64 x86_64 x86_64 GNU/Linux

and apache 2.4:
Server version: Apache/2.4.7 (Ubuntu)
Server built: Mar 10 2015 13:05:59
Server's Module Magic Number: 20120211:27
Server loaded: APR 1.5.1-dev, APR-UTIL 1.5.3
Compiled using: APR 1.5.1-dev, APR-UTIL 1.5.3
Architecture: 64-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/etc/apache2"
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="mime.types"
-D SERVER_CONFIG_FILE="apache2.conf"

That is the default apache version that puppet installs.

Please let me know if you need any additional information.

Kind Regards

THOR

Thorsten Bach
StreetLight Data Inc.
Director of IT and Operations
[email protected]
415-881-7539

On Thu, Apr 2, 2015 at 12:28 PM, Werner Dijkerman [email protected]
wrote:

Hi stl-thorbach,

Thank you for making time to create this issue. What kind of OS are you
running? What version of Apache? 2.2 or 2.4?

Kind regards,
Werner


Reply to this email directly or view it on GitHub
#72 (comment)
.

@dj-wasabi
Copy link

Hi Thorsten,

Thanks for your comment.

One question, before I start investigating: How did you install this puppet module? Is this via the forge.puppetlabs.com or via github. I'm asking because around 5 days ago I accepted an pull request "bugfix for vhosts in apache 2.4 #67". This pr made it possible to also use Apache 2.4 with this module.

If you installed it via the forge (1.2.0), then I would like to ask you if you can try to use the github version (Almost at 1.3.0). If you already are were using the latest github version, I'll try to investigate it.

Kind regards,
Werner

@stl-thorbach
Copy link
Author

Thank you Werner.

I did use the "forge" version. I'll try the github version instead. I might
not get to this till late next week but I'll let you know the outcome as
soon as I know.

Best Regards

THOR

Thorsten Bach
StreetLight Data Inc.
Director of IT and Operations
[email protected]
415-881-7539

On Fri, Apr 3, 2015 at 2:53 AM, Werner Dijkerman [email protected]
wrote:

Hi Thorsten,

Thanks for your comment.

One question, before I start investigating: How did you install this
puppet module? Is this via the forge.puppetlabs.com or via github. I'm
asking because around 5 days ago I accepted an pull request "bugfix for
vhosts in apache 2.4 #67
#67". This pr made it
possible to also use Apache 2.4 with this module.

If you installed it via the forge (1.2.0), then I would like to ask you if
you can try to use the github version (Almost at 1.3.0). If you already are
were using the latest github version, I'll try to investigate it.

Kind regards,
Werner


Reply to this email directly or view it on GitHub
#72 (comment)
.

@dj-wasabi
Copy link

Hi Thorsten,

No worries, take your time.
I'll release 1.3.0 somewhere in the next few days, so If you still have an problem I'll fix it in 1.3.1.

Kind regards,
Werner

@abien
Copy link

abien commented Apr 4, 2015

I ran into the same issue on CentOS-7 with apache 2.4
Switching from the forge to the git master made the error message disappear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants