Created
August 4, 2013 02:11
-
-
Save bossato/6148793 to your computer and use it in GitHub Desktop.
log of run-time chef of apache install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting Chef Client, version 11.4.4 | |
Compiling Cookbooks... | |
Converging 8 resources | |
Recipe: apache::default | |
* cookbook_file[/usr/local/src/httpd-2.2.24.tar.gz] action create | |
- create a new cookbook_file /usr/local/src/httpd-2.2.24.tar.gz | |
Binary files /tmp/chef-tempfile20130804-534-1k2vzw2 and /root/chef/site-cookbooks/apache/files/default/httpd-2.2.24.tar.gz differ | |
* bash[install apache] action run | |
- execute "bash" "/tmp/chef-script20130804-534-1rx7wxa" | |
* bash[start apache] action run | |
- execute "bash" -ex "/tmp/chef-script20130804-534-19r29xa" | |
* template[/usr/local/apache2/conf/httpd.conf] action create | |
- update template[/usr/local/apache2/conf/httpd.conf] from 462270 to 798de1 | |
--- /usr/local/apache2/conf/httpd.conf 2013-08-04 11:09:19.761257847 +0900 | |
+++ /tmp/chef-rendered-template20130804-534-1yxz62e 2013-08-04 11:09:24.730257745 +0900 | |
@@ -65,8 +65,8 @@ | |
# It is usually good practice to create a dedicated user and group for | |
# running httpd, as with most system services. | |
# | |
-User daemon | |
-Group daemon | |
+User www | |
+Group www | |
</IfModule> | |
</IfModule> | |
@@ -104,7 +104,7 @@ | |
# documents. By default, all requests are taken from this directory, but | |
# symbolic links and aliases may be used to point to other locations. | |
# | |
-DocumentRoot "/usr/local/apache2//htdocs" | |
+DocumentRoot "/usr/local/apache2/htdocs" | |
# | |
# Each directory to which Apache has access can be configured with respect | |
@@ -131,7 +131,7 @@ | |
# | |
# This should be changed to whatever you set DocumentRoot to. | |
# | |
-<Directory "/usr/local/apache2//htdocs"> | |
+<Directory "/usr/local/apache2/htdocs"> | |
# | |
# Possible values for the Options directive are "None", "All", | |
# or any combination of: | |
@@ -166,7 +166,7 @@ | |
# is requested. | |
# | |
<IfModule dir_module> | |
- DirectoryIndex index.html | |
+ DirectoryIndex index.php, index.html | |
</IfModule> | |
# | |
@@ -186,7 +186,7 @@ | |
# logged here. If you *do* define an error logfile for a <VirtualHost> | |
# container, that host's errors will be logged there and not here. | |
# | |
-ErrorLog "logs/error_log" | |
+ErrorLog "/usr/local/apache2/logs/error_log" | |
# | |
# LogLevel: Control the number of messages logged to the error_log. | |
@@ -215,7 +215,7 @@ | |
# define per-<VirtualHost> access logfiles, transactions will be | |
# logged therein and *not* in this file. | |
# | |
- CustomLog "logs/access_log" common | |
+ CustomLog "/usr/local/apache2/logs/access_log" common | |
# | |
# If you prefer a logfile with access, agent, and referer information | |
@@ -251,7 +251,7 @@ | |
# client. The same rules about trailing "/" apply to ScriptAlias | |
# directives as to Alias. | |
# | |
- ScriptAlias /cgi-bin/ "/usr/local/apache2//cgi-bin/" | |
+ ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/" | |
</IfModule> | |
@@ -264,10 +264,10 @@ | |
</IfModule> | |
# | |
-# "/usr/local/apache2//cgi-bin" should be changed to whatever your ScriptAliased | |
+# "/usr/local/apache2/cgi-bin" should be changed to whatever your ScriptAliased | |
# CGI directory exists, if you have that configured. | |
# | |
-<Directory "/usr/local/apache2//cgi-bin"> | |
+<Directory "/usr/local/apache2/cgi-bin"> | |
AllowOverride None | |
Options None | |
Order allow,deny | |
@@ -377,7 +377,7 @@ | |
# necessary. | |
# Server-pool management (MPM specific) | |
-#Include conf/extra/httpd-mpm.conf | |
+Include /usr/local/apache2/conf/extra/httpd-mpm.conf | |
# Multi-language error messages | |
#Include conf/extra/httpd-multilang-errordoc.conf | |
@@ -395,7 +395,7 @@ | |
#Include conf/extra/httpd-info.conf | |
# Virtual hosts | |
-#Include conf/extra/httpd-vhosts.conf | |
+Include /usr/local/apache2/conf/extra/httpd-vhosts.conf | |
# Local access to the Apache HTTP Server Manual | |
#Include conf/extra/httpd-manual.conf | |
@@ -407,7 +407,7 @@ | |
#Include conf/extra/httpd-default.conf | |
# Secure (SSL/TLS) connections | |
-#Include conf/extra/httpd-ssl.conf | |
+#Include /usr/local/apache2/conf/extra/httpd-ssl.conf | |
# | |
# Note: The following must must be present to support | |
# starting without SSL on platforms with no /dev/random equivalent | |
* bash[restart apache] action run | |
- execute "bash" -ex "/tmp/chef-script20130804-534-98m95f" | |
* template[/usr/local/apache2/conf/extra/httpd-mpm.conf] action create | |
- update template[/usr/local/apache2/conf/extra/httpd-mpm.conf] from abb121 to 23d95e | |
--- /usr/local/apache2/conf/extra/httpd-mpm.conf 2013-08-04 11:09:20.054257841 +0900 | |
+++ /tmp/chef-rendered-template20130804-534-a6b08t 2013-08-04 11:09:24.807257744 +0900 | |
@@ -9,7 +9,7 @@ | |
# Note that this is the default PidFile for most MPMs. | |
# | |
<IfModule !mpm_netware_module> | |
- PidFile "logs/httpd.pid" | |
+ PidFile "/usr/local/apache2/logs/httpd.pid" | |
</IfModule> | |
# | |
@@ -17,7 +17,7 @@ | |
# | |
<IfModule !mpm_winnt_module> | |
<IfModule !mpm_netware_module> | |
-LockFile "logs/accept.lock" | |
+LockFile "/usr/local/apache2/logs/accept.lock" | |
</IfModule> | |
</IfModule> | |
@@ -34,11 +34,11 @@ | |
# MaxClients: maximum number of server processes allowed to start | |
# MaxRequestsPerChild: maximum number of requests a server process serves | |
<IfModule mpm_prefork_module> | |
- StartServers 5 | |
- MinSpareServers 5 | |
- MaxSpareServers 10 | |
+ StartServers 5 | |
+ MinSpareServers 5 | |
+ MaxSpareServers 10 | |
MaxClients 150 | |
- MaxRequestsPerChild 0 | |
+ MaxRequestsPerChild 0 | |
</IfModule> | |
# worker MPM | |
@@ -49,12 +49,12 @@ | |
# ThreadsPerChild: constant number of worker threads in each server process | |
# MaxRequestsPerChild: maximum number of requests a server process serves | |
<IfModule mpm_worker_module> | |
- StartServers 2 | |
+ StartServers 2 | |
MaxClients 150 | |
- MinSpareThreads 25 | |
- MaxSpareThreads 75 | |
- ThreadsPerChild 25 | |
- MaxRequestsPerChild 0 | |
+ MinSpareThreads 25 | |
+ MaxSpareThreads 75 | |
+ ThreadsPerChild 25 | |
+ MaxRequestsPerChild 0 | |
</IfModule> | |
# BeOS MPM | |
* bash[restart apache] action run | |
- execute "bash" -ex "/tmp/chef-script20130804-534-1g44g9" | |
* template[/usr/local/apache2/conf/extra/httpd-vhosts.conf] action create | |
- update template[/usr/local/apache2/conf/extra/httpd-vhosts.conf] from b5f6e2 to 8b3c86 | |
--- /usr/local/apache2/conf/extra/httpd-vhosts.conf 2013-08-04 11:09:20.208257837 +0900 | |
+++ /tmp/chef-rendered-template20130804-534-1v8qhsj 2013-08-04 11:09:24.909257742 +0900 | |
@@ -25,20 +25,11 @@ | |
# match a ServerName or ServerAlias in any <VirtualHost> block. | |
# | |
<VirtualHost *:80> | |
- ServerAdmin webmaster@dummy-host.example.com | |
- DocumentRoot "/usr/local/apache2//docs/dummy-host.example.com" | |
- ServerName dummy-host.example.com | |
- ServerAlias www.dummy-host.example.com | |
- ErrorLog "logs/dummy-host.example.com-error_log" | |
- CustomLog "logs/dummy-host.example.com-access_log" common | |
-</VirtualHost> | |
- | |
-<VirtualHost *:80> | |
- ServerAdmin webmaster@dummy-host2.example.com | |
- DocumentRoot "/usr/local/apache2//docs/dummy-host2.example.com" | |
- ServerName dummy-host2.example.com | |
- ErrorLog "logs/dummy-host2.example.com-error_log" | |
- CustomLog "logs/dummy-host2.example.com-access_log" common | |
+ ServerAdmin you@example.com | |
+ DocumentRoot "/usr/local/apache2/htdocs" | |
+ ServerName locaohost | |
+ ErrorLog "/usr/local/apache2/logs/error_log" | |
+ CustomLog "/usr/local/apache2/logs/access_log" common | |
</VirtualHost> | |
* bash[restart apache] action run | |
- execute "bash" -ex "/tmp/chef-script20130804-534-ot1608" | |
* template[/usr/local/apache2/conf/extra/httpd-ssl.conf] action create | |
- update template[/usr/local/apache2/conf/extra/httpd-ssl.conf] from 3e98e6 to 139f70 | |
--- /usr/local/apache2/conf/extra/httpd-ssl.conf 2013-08-04 11:09:20.128257839 +0900 | |
+++ /tmp/chef-rendered-template20130804-534-uwdmq4 2013-08-04 11:09:25.003257740 +0900 | |
@@ -58,14 +58,14 @@ | |
# Inter-Process Session Cache: | |
# Configure the SSL Session Cache: First the mechanism | |
# to use and second the expiring timeout (in seconds). | |
-#SSLSessionCache "dbm:/usr/local/apache2//logs/ssl_scache" | |
-SSLSessionCache "shmcb:/usr/local/apache2//logs/ssl_scache(512000)" | |
+#SSLSessionCache "dbm:/usr/local/apache2/logs/ssl_scache" | |
+SSLSessionCache "shmcb:/usr/local/apache2/logs/ssl_scache(512000)" | |
SSLSessionCacheTimeout 300 | |
# Semaphore: | |
# Configure the path to the mutual exclusion semaphore the | |
# SSL engine uses internally for inter-process synchronization. | |
-SSLMutex "file:/usr/local/apache2//logs/ssl_mutex" | |
+SSLMutex "file:/usr/local/apache2/logs/ssl_mutex" | |
## | |
## SSL Virtual Host Context | |
@@ -74,11 +74,11 @@ | |
<VirtualHost _default_:443> | |
# General setup for the virtual host | |
-DocumentRoot "/usr/local/apache2//htdocs" | |
-ServerName www.example.com:443 | |
+DocumentRoot "/usr/local/apache2/htdocs" | |
+ServerName locaohost:443 | |
ServerAdmin you@example.com | |
-ErrorLog "/usr/local/apache2//logs/error_log" | |
-TransferLog "/usr/local/apache2//logs/access_log" | |
+ErrorLog "/usr/local/apache2/logs/error_log" | |
+TransferLog "/usr/local/apache2/logs/access_log" | |
# SSL Engine Switch: | |
# Enable/Disable SSL for this virtual host. | |
@@ -114,16 +114,14 @@ | |
# in mind that if you have both an RSA and a DSA certificate you | |
# can configure both in parallel (to also allow the use of DSA | |
# ciphers, etc.) | |
-SSLCertificateFile "/usr/local/apache2//conf/server.crt" | |
-#SSLCertificateFile "/usr/local/apache2//conf/server-dsa.crt" | |
+SSLCertificateFile "" | |
# Server Private Key: | |
# If the key is not combined with the certificate, use this | |
# directive to point at the key file. Keep in mind that if | |
# you've both a RSA and a DSA private key you can configure | |
# both in parallel (to also allow the use of DSA ciphers, etc.) | |
-SSLCertificateKeyFile "/usr/local/apache2//conf/server.key" | |
-#SSLCertificateKeyFile "/usr/local/apache2//conf/server-dsa.key" | |
+SSLCertificateKeyFile "" | |
# Server Certificate Chain: | |
# Point SSLCertificateChainFile at a file containing the | |
@@ -132,7 +130,7 @@ | |
# the referenced file can be the same as SSLCertificateFile | |
# when the CA certificates are directly appended to the server | |
# certificate for convinience. | |
-#SSLCertificateChainFile "/usr/local/apache2//conf/server-ca.crt" | |
+SSLCertificateChainFile "" | |
# Certificate Authority (CA): | |
# Set the CA certificate verification path where to find CA | |
@@ -141,8 +139,8 @@ | |
# Note: Inside SSLCACertificatePath you need hash symlinks | |
# to point to the certificate files. Use the provided | |
# Makefile to update the hash symlinks after changes. | |
-#SSLCACertificatePath "/usr/local/apache2//conf/ssl.crt" | |
-#SSLCACertificateFile "/usr/local/apache2//conf/ssl.crt/ca-bundle.crt" | |
+#SSLCACertificatePath "/usr/local/apache2/conf/ssl.crt" | |
+#SSLCACertificateFile "/usr/local/apache2/conf/ssl.crt/ca-bundle.crt" | |
# Certificate Revocation Lists (CRL): | |
# Set the CA revocation path where to find CA CRLs for client | |
@@ -151,8 +149,8 @@ | |
# Note: Inside SSLCARevocationPath you need hash symlinks | |
# to point to the certificate files. Use the provided | |
# Makefile to update the hash symlinks after changes. | |
-#SSLCARevocationPath "/usr/local/apache2//conf/ssl.crl" | |
-#SSLCARevocationFile "/usr/local/apache2//conf/ssl.crl/ca-bundle.crl" | |
+#SSLCARevocationPath "/usr/local/apache2/conf/ssl.crl" | |
+#SSLCARevocationFile "/usr/local/apache2/conf/ssl.crl/ca-bundle.crl" | |
# Client Authentication (Type): | |
# Client certificate verification type and depth. Types are | |
@@ -208,7 +206,7 @@ | |
<FilesMatch "\.(cgi|shtml|phtml|php)$"> | |
SSLOptions +StdEnvVars | |
</FilesMatch> | |
-<Directory "/usr/local/apache2//cgi-bin"> | |
+<Directory "/usr/local/apache2/cgi-bin"> | |
SSLOptions +StdEnvVars | |
</Directory> | |
@@ -243,7 +241,7 @@ | |
# Per-Server Logging: | |
# The home of a custom SSL log file. Use this when you want a | |
# compact non-error SSL logfile on a virtual host basis. | |
-CustomLog "/usr/local/apache2//logs/ssl_request_log" \ | |
+CustomLog "/usr/local/apache2/logs/ssl_request_log" \ | |
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" | |
</VirtualHost> | |
* bash[restart apache] action run | |
- execute "bash" -ex "/tmp/chef-script20130804-534-1goia5f" | |
* bash[start apache] action nothing (up to date) | |
* bash[restart apache] action nothing (up to date) | |
Chef Client finished, 11 resources updated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment