Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## puppet version
- 2.6.6
- ## puppet error -- won't start the httpd service
- err: /Stage[main]/Apache/Service[httpd]/ensure: change from stopped to running failed: Could not start Service[httpd]: Execution of '/sbin/service httpd start' returned 1: at /etc/puppet/modules/apache/manifests/init.pp:259
- ## the service refuses to start manually
- [root@puppet ~]# service httpd start
- Starting httpd: httpd: bad user name www-data
- [FAILED]
- ## from /etc/puppet/modules/apache/manifests/init.pp
- service { "httpd":
- enable => "true",
- ensure => "running",
- hasrestart => "true",
- hasstatus => "true",
- require => $requires
- }
- ##in site.pp I have this line
- import "groups/*"
- ## ls of group.pp
- [root@puppet ~]# ls -l /etc/puppet/manifests/groups/group.pp
- -rw-r--r-- 1 puppet puppet 3435 May 10 10:33 /etc/puppet/manifests/groups/group.pp
- ## from group.pp
- group { 'www-data':
- ensure => 'present',
- gid => '33'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement