Monday, August 10, 2015

Restart the puppet server

[root@localhost bin]# ./puppetserver  foreground


^Z
[1]+  Stopped                 ./puppetserver foreground
[root@localhost bin]# bg
[1]+ ./puppetserver foreground &
[root@localhost bin]# service pe-puppet start
Redirecting to /bin/systemctl start  pe-puppet.service
[root@localhost bin]# 2015-08-11 01:28:30,699 INFO  [o.e.j.u.log] Logging initialized @25047ms
2015-08-11 01:28:33,683 INFO  [p.t.s.w.jetty9-service] Initializing web server(s).
2015-08-11 01:28:33,903 INFO  [p.s.j.jruby-puppet-service] Initializing the JRuby service
2015-08-11 01:28:33,905 WARN  [p.s.j.jruby-puppet-core] No configuration value found for jruby-puppet max-active-instances; using default value of 1.  Please consider setting this value explicitly in the jruby-puppet section of your Puppet Server config files.

[root@localhost bin]# /bin/systemctl start  pe-puppet.service
[root@localhost bin]#
[root@localhost bin]# ps -ef | grep 2015-08-11 01:28:56,757 INFO  [puppet-server] Puppet Puppet settings initialized; run mode: master
2015-08-11 01:28:59,855 INFO  [p.s.j.jruby-puppet-agents] Finished creating JRubyPuppet instance 1 of 1
2015-08-11 01:28:59,992 INFO  [p.s.c.puppet-server-config-core] Not overriding webserver settings with values from core Puppet
2015-08-11 01:28:59,998 INFO  [p.p.certificate-authority] CA already initialized for SSL
2015-08-11 01:28:59,999 INFO  [p.s.c.certificate-authority-service] CA Service adding a ring handler
2015-08-11 01:29:00,017 WARN  [o.e.j.s.h.ContextHandler] Empty contextPath
2015-08-11 01:29:00,084 INFO  [p.p.certificate-authority] Master already initialized for SSL
2015-08-11 01:29:00,090 INFO  [p.e.s.m.master-service] Master Service adding a ring handler
2015-08-11 01:29:00,090 WARN  [o.e.j.s.h.ContextHandler] Empty contextPath
2015-08-11 01:29:00,096 INFO  [p.s.p.puppet-admin-service] Starting Puppet Admin web app
2015-08-11 01:29:00,106 INFO  [p.t.s.w.jetty9-service] Starting web server(s).
2015-08-11 01:29:00,573 INFO  [p.t.s.w.jetty9-core] Starting web server.
2015-08-11 01:29:00,579 INFO  [o.e.j.s.Server] jetty-9.2.z-SNAPSHOT
2015-08-11 01:29:01,404 INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.ServletContextHandler@754424ce{/packages,file:/opt/puppet/packages/public/,AVAILABLE}
2015-08-11 01:29:01,406 INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@4af56eab{/,null,AVAILABLE}
2015-08-11 01:29:01,408 INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@3734c2ff{/,null,AVAILABLE}
2015-08-11 01:29:01,410 INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@6cbc6861{/puppet-admin-api,null,AVAILABLE}

Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
[root@localhost bin]# 2015-08-11 01:29:02,016 INFO  [o.e.j.s.ServerConnector] Started ServerConnector@5bf1fe70{SSL-HTTP/1.1}{0.0.0.0:8140}
2015-08-11 01:29:02,017 INFO  [o.e.j.s.Server] Started @56392ms
2015-08-11 01:29:02,110 INFO  [p.e.s.m.master-service] Puppet Server has successfully started and is now ready to handle requests

[root@localhost bin]#








No comments:

Post a Comment

Install the Perl module

Unable to install a perl module and through below error: Looking for CPAN mirrors near you (please be patient) Can't locate Time/HiR...