Hi I get an error when I run following:
root@leaing:/etc/puppetlabs/code/environments/production/modules # puppet agent -t Waing: Unable to fetch my node definition, but the agent run will continue: Waing: Coection refused - coect(2) for "leaing.puppetlabs.vm" port 8140 Info: Retrieving pluginfacts Error: /File[/opt/puppetlabs/puppet/cache/facts.d]: Failed to generate additional resources using 'eval_generate': Coection refused - coect(2) for "leaing.puppetlabs.vm" port 8140 Error: /File[/opt/puppetlabs/puppet/cache/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet:///pluginfacts: Coection refused - coect(2) for "leaing.puppetlabs.vm" port 8140 Info: Retrieving plugin Error: /File[/opt/puppetlabs/puppet/cache/lib]: Failed to generate additional resources using 'eval_generate': Coection refused - coect(2) for "leaing.puppetlabs.vm" port 8140 Error: /File[/opt/puppetlabs/puppet/cache/lib]: Could not evaluate: Could not retrieve file metadata for puppet:///plugins: Coection refused - coect(2) for "leaing.puppetlabs.vm" port 8140 Info: Loading facts Error: Could not retrieve catalog from remote server: Coection refused - coect(2) for "leaing.puppetlabs.vm" port 8140 Waing: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run Error: Could not send report: Coection refused - coect(2) for "leaing.puppetlabs.vm" port 8140
Here is my puppet.conf file:
root@leaing:/etc/puppetlabs/code/environments/production/modules # cat /etc/puppetlabs/puppet/puppet.conf
[main] certname = leaing.puppetlabs.vm server = leaing.puppetlabs.vm user = pe-puppet group = pe-puppet archive_files = true archive_file_server = leaing.puppetlabs.vm module_groups = base+pe_only environmentpath = /etc/puppetlabs/code/environments
disable_waings=deprecations [agent] graph = true
environment_timeout=0 [master] app_management = true node_terminus = classifier storeconfigs = true storeconfigs_backend = puppetdb reports = puppetdb certname = leaing.puppetlabs.vm always_cache_features = true
and log file is as fallows:
root@leaing:/var/log/puppetlabs/puppetserver # tail puppetserver.log
2016-03-06 00:06:00,581 INFO [Thread-1] [o.e.j.s.h.ContextHandler] Stopped o.e.j.s.h.ContextHandler@768abaa1{/status,null,UNAVAILABLE} 2016-03-06 00:06:00,582 INFO [Thread-1] [o.e.j.s.h.ContextHandler] Stopped o.e.j.s.h.ContextHandler@7d026083{/,null,UNAVAILABLE} 2016-03-06 00:06:00,582 INFO [Thread-1] [o.e.j.s.h.ContextHandler] Stopped o.e.j.s.h.ContextHandler@4c02f8e5{/puppet-admin-api,null,UNAVAILABLE} 2016-03-06 00:06:00,582 INFO [Thread-1] [o.e.j.s.h.ContextHandler] Stopped o.e.j.s.h.ContextHandler@1d395b77{/puppet,null,UNAVAILABLE} 2016-03-06 00:06:00,582 INFO [Thread-1] [o.e.j.s.h.ContextHandler] Stopped o.e.j.s.h.ContextHandler@93710c6{/puppet-ca,null,UNAVAILABLE} 2016-03-06 00:06:00,675 INFO [Thread-1] [o.e.j.s.h.ContextHandler] Stopped o.e.j.s.ServletContextHandler@38fd32ff{/file-sync-git,null,UNAVAILABLE} 2016-03-06 00:06:00,676 INFO [Thread-1] [o.e.j.s.h.ContextHandler] Stopped o.e.j.s.ServletContextHandler@21f1669b{/packages,file:/opt/puppetlabs/server/data/packages/public/,UNAVAILABLE} 2016-03-06 00:06:00,754 INFO [Thread-1] [p.t.s.w.jetty9-core] Web server shutdown 2016-03-06 00:06:00,755 INFO [Thread-1] [p.t.inteal] Finished shutdown sequence 2016-03-06 00:11:23,863 INFO [main] [o.e.j.u.log] Logging initialized @134999ms
Could someone guide me in the right direction?
- - , .
برچسب:
نویسنده: استخدام کار