I know this post is 1 year old, but I was having a problem just like this 
and this was the first result on google. I'm just posting my experience in 
hopes that it might help someone else.
I am using puppet enterprise 2.8.1 and installing the agents on a mix of 
Ubuntu 10.04 & 12.04 machines. The agents needed to be re-installed and 
whenever I tried I kept getting this "pe-puppet-agent: unrecognized 
service" message in the install log. 

My solution to re-installing the agent is to run the 
'puppet-enterprise-uninstaller' script and run 'apt-get purge 
pe-puppet-agent' a combination of the allowed me to install the puppet 
agent successfully. However, the order of the two actions was different 
between the two versions. In 10.04, the purge command needs to be run 
before the uninstall script, otherwise it will fail.

On Monday, August 6, 2012 5:21:25 PM UTC-7, alike wrote:
>
> This is my first time to install puppet and it's quite frustrating to me. 
>  If anyone can help me out that would be great.
>
> My current installation failed with the below error:
>
> ** /opt/puppet/bin/erb -T - './erb/send_cert_request.rb.erb' > 
> '/opt/puppet/bin/send_cert_request.rb'
> ** chmod a+rx /opt/puppet/bin/send_cert_request.rb
> ** /opt/puppet/bin/erb -T - './erb/receive_signed_cert.rb.erb' > 
> '/opt/puppet/bin/receive_signed_cert.rb'
> ** chmod a+rx /opt/puppet/bin/receive_signed_cert.rb
> ** chown -R pe-puppet:pe-puppet /var/opt/lib/pe-puppet/ 
> /var/opt/lib/pe-puppetmaster/ /var/log/pe-puppet/
> ** /opt/puppet/bin/puppet agent --configprint certname --color=false
> hadoop53
> ** printf "START=true\nDAEMON_OPTS=''\n" > /etc/default/pe-puppet-agent
> ** service pe-puppet-agent start
> pe-puppet-agent: unrecognized service
>
> I am stuck now and have no idea what to do.
>
> Here are the steps I took to see this error.
> 1. First time install.  Got host not found error.  I am using a simple 
> host name hadoop53.
> 2. I added hadoop53 to my /etc/hosts file.
> 3. Uninstall mysql-server because I don't know the random password 
> generated by puppet
> 4. uninstall puppet
> 5. Reinstall and got the error
>
> Thanks!
>
> Chang
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to