Displaying 20 results from an estimated 50000 matches similar to: "apache service start problem"
2011 Mar 16
3
only one puppet client fails with yum
hello list..
I am sharing a yum configuration in a class (centos.pp) between two
nodes. But the yum configuration doesn''t apply at all to one node
even tho it does to another identically configured node.
## packages are failing to install via yum on one ec2 aws instance and
another identical ec2 instance works fine
[root@kromep2 ~]# cat /etc/redhat-release
CentOS release 5.5 (Final)
2012 Jul 18
4
cert issues, puppet agent applying configs, problems oh my!
So I''m new to puppet and I''m having a bear of a time just getting a test
server going.
I installed puppet and the puppet client via yum on CentOS on AWS, so that
saved me some time.
I followed a few various blog posts about getting everything set up and
applying a file, etc.
Now I am trying to install a module (puppetlabs/apache) and it''s failing
miserably for me.
I
2008 Jul 15
2
Problem with mod_proxy_ajp.so
Hi,
After updating httpd package it outputs an error when restarting
apache. Problem was "workarounded" commenting out line 2 of
/etc/httpd/modules/mod_proxy_ajp.so
Starting httpd: httpd: Syntax error on line 210 of
/etc/httpd/conf/httpd.conf: Syntax error on line 3 of
/etc/httpd/conf.d/proxy_ajp.conf: Cannot load
/etc/httpd/modules/mod_proxy_ajp.so into server:
2008 May 15
2
config checks and service bounces
Puppeteers,
I''ve seen things in the documentation to make me think this is
possible but I''m not sure how to implement it. Here''s what I''d like to
do:
puppetd pulls down a config file, say httpd.conf
BEFORE puppetd moves it to $path, I''d like to have it check it''s
integrity with apachectl configtest
IF configtest passes, then puppetd should
2009 Nov 06
6
Apache
So where does centos hide my httpd.conf file?
TIA,
V
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20091106/dd13a664/attachment-0003.html>
2008 Apr 18
2
Can't get .htaccess to work
Hi,
I'm trying to password protect one of my web accessable
directories and I can't get .htaccess to work in a Centos 5.1 box
Here's what I did
I created an .htaccess file with the contents:
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /home/mysite/.htpasswd
AuthGroupFile /dev/null
require valid-user
and I uploaded it to the dir I want to protect. Then I
2015 May 07
2
Apache 2.2 itk - 404 not found
Hi all, Freshly installed apache 2.2 with httpd-itk (from epel). When I
try to access apache's document root from a browser on local network, it
always serve me the Apache welcome page, even if I have a index.html and
a phpinfo.php file in the /var/www/html folder. If point the browser
specifically to http://server/index.html, I get a '404 Not found error'.
I'm running CentOS
2006 Dec 11
3
request an object
Hello,
I use a type i just written that install apache basicaly it is httpd
and you provide the version (it is just a wrapper to the packets system)
. I wanted to tell another type, the vhosts one that i required that
this node defines the httpd type and that the vhosts type is allways
called AFTER the httpd type.
node ''mynode'' {
httpd{ version =>
2013 Apr 24
2
puppet apache module dependency cycle
I am trying to use puppetlabs apache module on CentOS to install mod php
package.
class {''apache::mod::php'': }
It returns error "Error: Could not find dependency Package[httpd] for
A2mod[php5]". I am using Puppet 3.1 version.
Do I need to call class{''apache'': } explicitly to get mod-php install
working? If I try that as follows then it
2011 Aug 11
9
Custom manifest
Hi,
Can I execute a command basis on some criteria in puppet. For example, I
would want to execute the following command
svn up; /usr/local/apache/bin/apachectl restart
only if "revision number of file on host = revision number of file on svn"
i.e.
"/usr/bin/svn info /usr/local/apache/conf/Web_Config/httpd.conf | grep
Revision| cut -d: -f2| sed -e''s/
2007 Nov 09
4
variables in templates
Here''s the problem I''m trying to solve.
I use apache, for lots of things, some of those things are configured from a
performance standpoint differently.
In less vague terms I need to be able to change the MaxClients setting to
different things based on the different purposes apache serves. (say proxy
vs. app)
Under previous CMS/templating engines I would have a httpd.conf that
2013 Oct 13
2
LAMP stack with strange dependencies
Hello everyone.
I''ve been toying around with puppet and something happened that seems
strange to me.
In site.pp I have the following:
> node default {
>
> # This is where you can declare classes for all nodes.
>
> # Example:
>
> # class { ''my_class'': }
>
> # class { ''lamp'': }
>
> package
2009 Aug 12
4
how to specify the the source directory
Hello,
When I set:
source => "puppet://mypuppet.company.com/apache/httpd.conf"
which directory should I put httpd.conf under the puppet server
machine mypuppet.company.com?
I checked the documentation but cannot find the answer.
Thanks.
Peter
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2013 Mar 18
4
Inherit two classes?
Hello,
I have a class called website, which requires both httpd and mysqld
classes. Without defining it within the site.pp (node section). Is it
possible to define that "website" requires these additions? Such as;
class website inherits httpd, mysqld {
...
}
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To
2012 Apr 24
9
Moving from Puppet 0.25 to Puppet 2.6+ : global scope/variables
Hi,
I worked with puppet (< 0.25) back in 2008/2009. We were able to
deploy 200 servers from scratch and manage them. It worked fine.
I''m now with a new customer and I''m pushing Puppet (and I''m also back
to puppet on a side project).
We''re considering Puppet 2.6 to manage RHEL/CentOS 5 or 6 hosts. I''m
"upgrading myself" to Puppet
2011 Oct 07
1
how to use optional parameters
New to puppet and I just don''t understand how to do this. Apologies in
advance if it''s a dumb question.
Let''s say I have a module called httpd and inside that is a class
called httpd::service, which accepts a couple of parameters:
class httpd::service (
$running = ''running'',
$enabled = ''true'',
) {
service {
2007 Feb 14
9
managing multiple files
How can I express the following in puppet?
$http_conf = "/etc/http/conf/httpd.conf"
$vhosts_conf = "/etc/http/conf/vhosts.conf"
@files = ("$httpd_conf", "$vhosts_conf")
foreach f (@files) {
file { "$f":
owner => root, group => root, mode => 664,
source => "puppet://$server/apache/$f",
}
2015 May 07
3
Apache 2.2 itk - 404 not found
I forgot to mention it. All the files under /var/html are owned by
apache:apache
On 15-05-07 04:07 PM, Eric Lehmann wrote:
> Have you checked the file rights under your document root ?
> Your apache group need reading right.
> Am 07.05.2015 21:42 schrieb "John" <tuxfed at gmail.com>:
>
>> Hi all, Freshly installed apache 2.2 with httpd-itk (from epel). When I
2013 Sep 06
2
puppetlabs/puppetdb module when using passenger for master
I''m working on configuring a master in a lab environment, using Puppet Open
Source. My master is running RHEL 6.
I want to use modules to manage the master itself as much as possible, so I
can use puppet to bootstrap itself as I go forward and move into production.
Using puppetlabs/puppetdb to configure puppetdb, I''ve overcome most of my
issues but I have two questions.
1)
2013 Jan 24
4
Dependency Cycle with puppetlabs-mrepo
Hi, I''m gettinng a dependency cycle when using PE 2.7, puppetlabs::mrepo,
"role classes" and hiera :
I''m trying to mirror RHN repos :
# ROLE CLASS
> class site::yum_repository{
>
> $repos = hiera(''site::yum_repository::repos'')
> create_resources(mrepo::repo::rhn, $repos)
> }
>
# HIERA DEFAULTS
>