Eban Bisong
2013-Feb-15 19:13 UTC
[Puppet Users] Errors when running ''puppet agent --test'' command
Hello, First of all I am new to the Puppet technology. I am trying to get my puppet agent (windows) to reach my puppet master (Linux) server. In this tutorial: http://docs.puppetlabs.com/learning/agent_master_basic.html It claims to test your puppet agent you need to use the ''puppet agent --test'' command. My result when I tried this is: C:\Program Files (x86)\Puppet Labs\Puppet Enterprise\bin>puppet agent --test info: Retrieving plugin err: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Failed to generate additio nal resources using ''eval_generate: Error 500 on SERVER: <h1>Passenger error #2< /h1> An error occurred while trying to access ''/var/opt/lib/pe-puppetmaster/config.ru '': Cannot stat ''/var/opt/lib/pe-puppetmaster/config.ru'': Permission denied (13)< p>Apache doesn''t have read permissions to that file. Please fix the relevant fil e permissions.</p> err: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Could not evaluate: Error 500 on SERVER: <h1>Passenger error #2</h1> An error occurred while trying to access ''/var/opt/lib/pe-puppetmaster/config.ru '': Cannot stat ''/var/opt/lib/pe-puppetmaster/config.ru'': Permission denied (13)< p>Apache doesn''t have read permissions to that file. Please fix the relevant fil e permissions.</p> Could not retrieve file metadata for puppet://puppet.corp.loc al/plugins: Error 500 on SERVER: <h1>Passenger error #2</h1> An error occurred while trying to access ''/var/opt/lib/pe-puppetmaster/config.ru '': Cannot stat ''/var/opt/lib/pe-puppetmaster/config.ru'': Permission denied (13)< p>Apache doesn''t have read permissions to that file. Please fix the relevant fil e permissions.</p> info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/concat_ba sedir.rb info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/custom_au th_conf.rb info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/facter_do t_d.rb info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/pe_versio n.rb info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/puppet_va rdir.rb info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/root_home .rb err: Could not retrieve catalog from remote server: Error 500 on SERVER: <h1>Pas senger error #2</h1> An error occurred while trying to access ''/var/opt/lib/pe-puppetmaster/config.ru '': Cannot stat ''/var/opt/lib/pe-puppetmaster/config.ru'': Permission denied (13)< p>Apache doesn''t have read permissions to that file. Please fix the relevant fil e permissions.</p> warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run err: Could not send report: Error 500 on SERVER: <h1>Passenger error #2</h1> An error occurred while trying to access ''/var/opt/lib/pe-puppetmaster/config.ru '': Cannot stat ''/var/opt/lib/pe-puppetmaster/config.ru'': Permission denied (13)< p>Apache doesn''t have read permissions to that file. Please fix the relevant fil e permissions.</p> Does anyone have any idea of what is wrong and what I need to do to be able to connect my agent to the master? Thanks, Eban Bisong -- 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+unsubscribe@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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Ellison Marks
2013-Feb-15 19:45 UTC
[Puppet Users] Re: Errors when running ''puppet agent --test'' command
err: Could not retrieve catalog from remote server: Error 500 on SERVER: Passenger error #2 An error occurred while trying to access ''/var/opt/lib/pe-puppetmaster/ config.ru'': Cannot stat ''/var/opt/lib/pe-puppetmaster/config.ru'': Permission denied (13)Apache doesn''t have read permissions to that file. Please fix the relevant file permissions. Seems... fairly straightforward, no? On Friday, February 15, 2013 11:13:36 AM UTC-8, Eban Bisong wrote:> > Hello, > > First of all I am new to the Puppet technology. I am trying to get my > puppet agent (windows) to reach my puppet master (Linux) server. > In this tutorial: > http://docs.puppetlabs.com/learning/agent_master_basic.html > > It claims to test your puppet agent you need to use the ''puppet agent > --test'' command. My result when I tried this is: > > > C:\Program Files (x86)\Puppet Labs\Puppet Enterprise\bin>puppet agent > --test > info: Retrieving plugin > err: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Failed to generate > additio > nal resources using ''eval_generate: Error 500 on SERVER: <h1>Passenger > error #2< > /h1> > An error occurred while trying to access ''/var/opt/lib/pe-puppetmaster/ > config.ru > '': Cannot stat ''/var/opt/lib/pe-puppetmaster/config.ru'': Permission > denied (13)< > p>Apache doesn''t have read permissions to that file. Please fix the > relevant fil > e permissions.</p> > err: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Could not evaluate: > Error > 500 on SERVER: <h1>Passenger error #2</h1> > An error occurred while trying to access ''/var/opt/lib/pe-puppetmaster/ > config.ru > '': Cannot stat ''/var/opt/lib/pe-puppetmaster/config.ru'': Permission > denied (13)< > p>Apache doesn''t have read permissions to that file. Please fix the > relevant fil > e permissions.</p> Could not retrieve file metadata for > puppet://puppet.corp.loc > al/plugins: Error 500 on SERVER: <h1>Passenger error #2</h1> > An error occurred while trying to access ''/var/opt/lib/pe-puppetmaster/ > config.ru > '': Cannot stat ''/var/opt/lib/pe-puppetmaster/config.ru'': Permission > denied (13)< > p>Apache doesn''t have read permissions to that file. Please fix the > relevant fil > e permissions.</p> > info: Loading facts in > C:/ProgramData/PuppetLabs/puppet/var/lib/facter/concat_ba > sedir.rb > info: Loading facts in > C:/ProgramData/PuppetLabs/puppet/var/lib/facter/custom_au > th_conf.rb > info: Loading facts in > C:/ProgramData/PuppetLabs/puppet/var/lib/facter/facter_do > t_d.rb > info: Loading facts in > C:/ProgramData/PuppetLabs/puppet/var/lib/facter/pe_versio > n.rb > info: Loading facts in > C:/ProgramData/PuppetLabs/puppet/var/lib/facter/puppet_va > rdir.rb > info: Loading facts in > C:/ProgramData/PuppetLabs/puppet/var/lib/facter/root_home > .rb > err: Could not retrieve catalog from remote server: Error 500 on SERVER: > <h1>Pas > senger error #2</h1> > An error occurred while trying to access ''/var/opt/lib/pe-puppetmaster/ > config.ru > '': Cannot stat ''/var/opt/lib/pe-puppetmaster/config.ru'': Permission > denied (13)< > p>Apache doesn''t have read permissions to that file. Please fix the > relevant fil > e permissions.</p> > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run > err: Could not send report: Error 500 on SERVER: <h1>Passenger error > #2</h1> > An error occurred while trying to access ''/var/opt/lib/pe-puppetmaster/ > config.ru > '': Cannot stat ''/var/opt/lib/pe-puppetmaster/config.ru'': Permission > denied (13)< > p>Apache doesn''t have read permissions to that file. Please fix the > relevant fil > e permissions.</p> > > Does anyone have any idea of what is wrong and what I need to do to be > able to connect my agent to the master? > > Thanks, > Eban Bisong >-- 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+unsubscribe@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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Possibly Parallel Threads
- Dependency Ordering Confusion
- Possible Bug: file.exists() Function. Due to UTF-8 Encoding differences on Windows between R 4.0.1 and R 3.6.3?
- Possible Bug: file.exists() Function. Due to UTF-8 Encoding differences on Windows between R 4.0.1 and R 3.6.3?
- Improvement to documentation in dput.Rd
- find cont'd 3