Created
May 31, 2013 07:25
-
-
Save avioli/5683396 to your computer and use it in GitHub Desktop.
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
avioli:chef-repo(master) $ knife bootstrap localhost --ssh-user vagrant --ssh-password vagrant --ssh-port 2222 --run-list "recipe[apt],recipe[aliases],recipe[apache2],recipe[networking_basic]" --sudo | |
Bootstrapping Chef on localhost | |
localhost Starting Chef Client, version 11.4.4 | |
localhost resolving cookbooks for run list: ["apt", "aliases", "apache2", "networking_basic"] | |
localhost Synchronizing Cookbooks: | |
localhost - networking_basic | |
localhost - apt | |
localhost - aliases | |
localhost - apache2 | |
localhost - magic_shell | |
localhost Compiling Cookbooks... | |
localhost [2013-05-31T07:12:04+00:00] WARN: Cloning resource attributes for service[apache2] from prior resource (CHEF-3694) | |
localhost [2013-05-31T07:12:04+00:00] WARN: Previous service[apache2]: /var/chef/cache/cookbooks/apache2/recipes/default.rb:24:in `from_file' | |
localhost [2013-05-31T07:12:04+00:00] WARN: Current service[apache2]: /var/chef/cache/cookbooks/apache2/recipes/default.rb:221:in `from_file' | |
localhost Converging 64 resources | |
localhost Recipe: apt::default | |
localhost * execute[apt-get-update] action run | |
localhost (skipped due to not_if) | |
localhost | |
localhost * execute[apt-get update] action nothing | |
localhost (up to date) | |
localhost * execute[apt-get autoremove] action nothing | |
localhost (up to date) | |
localhost * execute[apt-get autoclean] action nothing | |
localhost (up to date) | |
localhost * package[update-notifier-common] action install | |
localhost (up to date) | |
localhost * execute[apt-get-update-periodic] action run | |
localhost (skipped due to only_if) | |
localhost * directory[/var/cache/local] action create | |
localhost (up to date) | |
localhost * directory[/var/cache/local/preseeding] action create | |
localhost (up to date) | |
localhost Recipe: aliases::default | |
localhost * magic_shell_alias[h] action add | |
localhost Recipe: <Dynamically Defined Resource> | |
localhost * file[/etc/profile.d/h.sh] action create | |
localhost (up to date) | |
localhost (up to date) | |
localhost * file[/etc/profile.d/h.sh] action nothing | |
localhost (up to date) | |
localhost Recipe: aliases::default | |
localhost * magic_shell_alias[sites] action add | |
localhost Recipe: <Dynamically Defined Resource> | |
localhost * file[/etc/profile.d/sites.sh] action create | |
localhost (up to date) | |
localhost (up to date) | |
localhost * file[/etc/profile.d/sites.sh] action nothing | |
localhost (up to date) | |
localhost Recipe: aliases::default | |
localhost | |
localhost * magic_shell_environment[EDITOR] action add | |
localhost Recipe: <Dynamically Defined Resource> | |
localhost * file[/etc/profile.d/EDITOR.sh] action create | |
localhost (up to date) | |
localhost (up to date) | |
localhost * file[/etc/profile.d/EDITOR.sh] action nothing | |
localhost (up to date) | |
localhost Recipe: apache2::default | |
localhost * package[apache2] action install | |
localhost (up to date) | |
localhost * service[apache2] action enable | |
localhost (up to date) | |
localhost * directory[/etc/apache2/ssl] action create | |
localhost (up to date) | |
localhost * directory[/etc/apache2/conf.d] action create | |
localhost (up to date) | |
localhost * directory[/var/cache/apache2] action create | |
localhost (up to date) | |
localhost * template[/etc/sysconfig/httpd] action create | |
localhost (skipped due to only_if) | |
localhost * template[apache2.conf] action create | |
localhost (up to date) | |
localhost * template[apache2-conf-security] action create | |
localhost (up to date) | |
localhost * template[apache2-conf-charset] action create | |
localhost (up to date) | |
localhost * template[/etc/apache2/ports.conf] action create | |
localhost (up to date) | |
localhost * template[/etc/apache2/sites-available/default] action create | |
localhost (up to date) | |
localhost Recipe: apache2::mod_status | |
localhost | |
localhost * template[/etc/apache2/mods-available/status.conf] action create | |
localhost (up to date) | |
localhost * execute[a2enmod status] action run | |
localhost (skipped due to not_if) | |
localhost Recipe: apache2::mod_alias | |
localhost * template[/etc/apache2/mods-available/alias.conf] action create | |
localhost (up to date) | |
localhost * execute[a2enmod alias] action run | |
localhost (skipped due to not_if) | |
localhost Recipe: apache2::mod_auth_basic | |
localhost | |
localhost * execute[a2enmod auth_basic] action run | |
localhost (skipped due to not_if) | |
localhost Recipe: apache2::mod_authn_file | |
localhost | |
localhost * execute[a2enmod authn_file] action run | |
localhost (skipped due to not_if) | |
localhost | |
localhost Recipe: apache2::mod_authz_default | |
localhost * execute[a2enmod authz_default] action run | |
localhost (skipped due to not_if) | |
localhost Recipe: apache2::mod_authz_groupfile | |
localhost | |
localhost * execute[a2enmod authz_groupfile] action run | |
localhost (skipped due to not_if) | |
localhost | |
localhost Recipe: apache2::mod_authz_host | |
localhost * execute[a2enmod authz_host] action run | |
localhost (skipped due to not_if) | |
localhost Recipe: apache2::mod_authz_user | |
localhost * execute[a2enmod authz_user] action run | |
localhost (skipped due to not_if) | |
localhost | |
localhost Recipe: apache2::mod_autoindex | |
localhost | |
localhost * template[/etc/apache2/mods-available/autoindex.conf] action create | |
localhost (up to date) | |
localhost * execute[a2enmod autoindex] action run | |
localhost (skipped due to not_if) | |
localhost Recipe: apache2::mod_dir | |
localhost | |
localhost * template[/etc/apache2/mods-available/dir.conf] action create | |
localhost (up to date) | |
localhost * execute[a2enmod dir] action run | |
localhost (skipped due to not_if) | |
localhost Recipe: apache2::mod_env | |
localhost * execute[a2enmod env] action run | |
localhost (skipped due to not_if) | |
localhost | |
localhost Recipe: apache2::mod_mime | |
localhost * template[/etc/apache2/mods-available/mime.conf] action create | |
localhost (up to date) | |
localhost * execute[a2enmod mime] action run | |
localhost (skipped due to not_if) | |
localhost | |
localhost Recipe: apache2::mod_negotiation | |
localhost * template[/etc/apache2/mods-available/negotiation.conf] action create | |
localhost (up to date) | |
localhost * execute[a2enmod negotiation] action run | |
localhost (skipped due to not_if) | |
localhost Recipe: apache2::mod_setenvif | |
localhost * template[/etc/apache2/mods-available/setenvif.conf] action create | |
localhost (up to date) | |
localhost * execute[a2enmod setenvif] action run | |
localhost (skipped due to not_if) | |
localhost Recipe: apache2::default | |
localhost * execute[a2dissite default] action run | |
localhost (skipped due to only_if) | |
localhost * service[apache2] action start | |
localhost | |
localhost ================================================================================ | |
localhost Error executing action `start` on resource 'service[apache2]' | |
localhost | |
localhost ================================================================================ | |
localhost | |
localhost | |
localhost Mixlib::ShellOut::ShellCommandFailed | |
localhost ------------------------------------ | |
localhost Expected process to exit with [0], but received '1' | |
localhost ---- Begin output of /etc/init.d/apache2 start ---- | |
localhost STDOUT: * Starting web server apache2 | |
localhost Action 'start' failed. | |
localhost The Apache error log may have more information. | |
localhost ...fail! | |
localhost STDERR: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName | |
localhost [Fri May 31 07:12:04 2013] [warn] NameVirtualHost *:80 has no VirtualHosts | |
localhost (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 | |
localhost no listening sockets available, shutting down | |
localhost Unable to open logs | |
localhost ---- End output of /etc/init.d/apache2 start ---- | |
localhost Ran /etc/init.d/apache2 start returned 1 | |
localhost | |
localhost | |
localhost Resource Declaration: | |
localhost --------------------- | |
localhost # In /var/chef/cache/cookbooks/apache2/recipes/default.rb | |
localhost | |
localhost 221: service "apache2" do | |
localhost 222: action :start | |
localhost 223: end | |
localhost | |
localhost | |
localhost | |
localhost Compiled Resource: | |
localhost ------------------ | |
localhost | |
localhost # Declared in /var/chef/cache/cookbooks/apache2/recipes/default.rb:221:in `from_file' | |
localhost | |
localhost service("apache2") do | |
localhost action [:start] | |
localhost supports {:restart=>true, :reload=>true, :status=>true} | |
localhost retries 0 | |
localhost retry_delay 2 | |
localhost service_name "apache2" | |
localhost pattern "apache2" | |
localhost restart_command "/usr/sbin/invoke-rc.d apache2 restart && sleep 1" | |
localhost reload_command "/usr/sbin/invoke-rc.d apache2 reload && sleep 1" | |
localhost startup_type :automatic | |
localhost cookbook_name "apache2" | |
localhost recipe_name "default" | |
localhost end | |
localhost | |
localhost | |
localhost | |
localhost | |
localhost [2013-05-31T07:12:04+00:00] ERROR: Running exception handlers | |
localhost [2013-05-31T07:12:04+00:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json | |
localhost [2013-05-31T07:12:04+00:00] ERROR: Exception handlers complete | |
localhost Chef Client failed. 0 resources updated | |
localhost [2013-05-31T07:12:04+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
localhost [2013-05-31T07:12:04+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: service[apache2] (apache2::default line 221) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
localhost ---- Begin output of /etc/init.d/apache2 start ---- | |
localhost STDOUT: * Starting web server apache2 | |
localhost Action 'start' failed. | |
localhost The Apache error log may have more information. | |
localhost ...fail! | |
localhost STDERR: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName | |
localhost [Fri May 31 07:12:04 2013] [warn] NameVirtualHost *:80 has no VirtualHosts | |
localhost (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 | |
localhost no listening sockets available, shutting down | |
localhost Unable to open logs | |
localhost ---- End output of /etc/init.d/apache2 start ---- | |
localhost Ran /etc/init.d/apache2 start returned 1 | |
avioli:chef-repo(master) $ vagrant -v | |
Vagrant version 1.0.7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment