08 Mar 2013, 01:00
Generic-user-small

Julio Medina (1 post)

I’m currently on chapter 3 of the book and trying to run the puppet manifests as was written in the book.

my site.pp looks as follows

Exec { path => “/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin” } package { “apache2”: ensure => present } service {“apache2”: ensure => true, enable => true }

I can confirm that apache2 installs but i get hte following erros when trying to do sudo puppet apply

sudo puppet apply manifests/site.pp Error: Could not start Service[apache2]: Execution of ‘/etc/init.d/apache2 start’ returned 1: Error: /Stage[main]//Service[apache2]/ensure: change from stopped to running failed: Could not start Service[apache2]: Execution of ‘/etc/init.d/apache2 start’ returned 1:

any suggestions on troubleshooting?

  You must be logged in to comment