sudo graylog-ctl reconfigure
Starting Chef Client, version 12.6.0
Compiling Cookbooks...
Recipe: graylog::default
* directory[/etc/graylog] action create (up to date)
Converging 103 resources
Recipe: apt::default
* file[/var/lib/apt/periodic/update-success-stamp] action nothing
(skipped
due
to action :nothing)
* directory[/etc/apt/apt.conf.d] action create (up to date)
* cookbook_file[/etc/apt/apt.conf.d/15update-stamp] action create (up to
date)
* execute[apt-get update] action nothing (skipped due to action :nothing)
* execute[apt-get autoremove] action nothing (skipped due to action
:nothing)
* execute[apt-get autoclean] action nothing (skipped due to action
:nothing)
* execute[apt-get-update-periodic] action run (skipped due to not_if)
* directory[/var/cache/local] action create (up to date)
* directory[/var/cache/local/preseeding] action create (up to date)
* template[/etc/apt/apt.conf.d/10recommends] action create (up to date)
* apt_package[apt-transport-https] action install (up to date)
Recipe: graylog::default
* directory[/etc/graylog] action nothing (skipped due to action :nothing)
Recipe: graylog::users
* group[graylog] action create (up to date)
* user[graylog] action create (up to date)
* directory[/var/opt/graylog] action create (up to date)
* template[/var/opt/graylog/.gitconfig] action create (up to date)
* directory[/var/opt/graylog/data] action create (up to date)
Recipe: graylog::authbind
* directory[/etc/authbind/byport] action create (up to date)
* file[/etc/authbind/byport/!514] action create (up to date)
Recipe: runit::upstart
* cookbook_file[/etc/init/graylog-runsvdir.conf] action create (up to
date)
* execute[initctl status graylog-runsvdir] action run
- execute initctl status graylog-runsvdir
* execute[initctl start graylog-runsvdir] action run (skipped due to
only_if)
Recipe: runit::svloggelfd
*
cookbook_file[/opt/graylog/embedded/cookbooks/cache/svloggelfd-0.2.1.tar.gz]
action create (up to date)
* execute[extract svloggelfd] action run (skipped due to not_if)
Recipe: timezone-ii::default
* apt_package[tzdata] action install (up to date)
Recipe: timezone-ii::debian
* template[/etc/timezone] action create
- update content in file /etc/timezone from 188731 to a60f4b
--- /etc/timezone 2016-10-18 11:29:35.619822451 +0100
+++ /etc/.timezone20161018-3852-1fe92to 2016-10-18
11:30:34.988793520
+0
100
@@ -1,2 +1,2 @@
-Europe/London
+GB
* bash[dpkg-reconfigure tzdata] action nothing (skipped due to action
:nothing
)
Recipe: graylog::etcd
* directory[/var/log/graylog/etcd] action create (up to date)
* directory[/var/opt/graylog/data/etcd] action create (up to date)
* directory[/opt/graylog/sv/etcd] action create (up to date)
* directory[/opt/graylog/sv/etcd/log] action create (up to date)
* directory[/opt/graylog/sv/etcd/log/main] action create (up to date)
* template[/opt/graylog/sv/etcd/run] action create (up to date)
* template[/opt/graylog/sv/etcd/log/run] action create (up to date)
* template[/var/log/graylog/etcd/config] action create (up to date)
* ruby_block[reload etcd svlogd configuration] action nothing (skipped
due
to
action :nothing)
* file[/opt/graylog/sv/etcd/down] action delete (up to date)
* link[/opt/graylog/init/etcd] action create (up to date)
* link[/opt/graylog/service/etcd] action create (up to date)
* ruby_block[supervise_etcd_sleep] action run (skipped due to not_if)
* service[etcd] action nothing (skipped due to action :nothing)
* execute[/opt/graylog/embedded/bin/graylog-ctl start etcd] action run
- execute /opt/graylog/embedded/bin/graylog-ctl start etcd
Recipe: graylog::elasticsearch_disable
* link[/opt/graylog/service/elasticsearch] action delete (up to date)
Recipe: graylog::mongodb
* directory[/var/log/graylog/mongodb] action create (up to date)
* directory[/var/opt/graylog/data/mongodb] action create (up to date)
* directory[/opt/graylog/sv/mongodb] action create (up to date)
* directory[/opt/graylog/sv/mongodb/log] action create (up to date)
* directory[/opt/graylog/sv/mongodb/log/main] action create (up to date)
* template[/opt/graylog/sv/mongodb/run] action create (up to date)
* template[/opt/graylog/sv/mongodb/log/run] action create (up to date)
* template[/var/log/graylog/mongodb/config] action create (up to date)
* ruby_block[reload mongodb svlogd configuration] action nothing (skipped
due
to action :nothing)
* file[/opt/graylog/sv/mongodb/down] action delete (up to date)
* link[/opt/graylog/init/mongodb] action create (up to date)
* link[/opt/graylog/service/mongodb] action create (up to date)
* ruby_block[supervise_mongodb_sleep] action run (skipped due to not_if)
* service[mongodb] action nothing (skipped due to action :nothing)
* execute[/opt/graylog/embedded/bin/graylog-ctl start mongodb] action run
- execute /opt/graylog/embedded/bin/graylog-ctl start mongodb
Recipe: graylog::graylog-server
* directory[/var/log/graylog/server] action create (up to date)
* directory[/var/opt/graylog/data/journal] action create (up to date)
* file[/var/opt/graylog/graylog-server-node-id] action create (up to date)
* template[/opt/graylog/conf/graylog.conf] action create (up to date)
* template[/opt/graylog/conf/log4j2.xml] action create (up to date)
* directory[/opt/graylog/sv/graylog-server] action create (up to date)
* directory[/opt/graylog/sv/graylog-server/log] action create (up to date)
* directory[/opt/graylog/sv/graylog-server/log/main] action create (up to
date
)
* template[/opt/graylog/sv/graylog-server/run] action create (up to date)
* template[/opt/graylog/sv/graylog-server/log/run] action create (up to
date)
* template[/var/log/graylog/server/config] action create (up to date)
* ruby_block[reload graylog-server svlogd configuration] action nothing
(skipp
ed due to action :nothing)
* file[/opt/graylog/sv/graylog-server/down] action delete (up to date)
* link[/opt/graylog/init/graylog-server] action create (up to date)
* link[/opt/graylog/service/graylog-server] action create (up to date)
* ruby_block[supervise_graylog-server_sleep] action run (skipped due to
not_if
)
* service[graylog-server] action nothing (skipped due to action :nothing)
* execute[/opt/graylog/embedded/bin/graylog-ctl start graylog-server]
action
r
un
- execute /opt/graylog/embedded/bin/graylog-ctl start graylog-server
* ruby_block[add node to server list] action run
============================================================================
====
Error executing action `run` on resource 'ruby_block[add node to server
list
]'
============================================================================
====
Errno::ECONNREFUSED
-------------------
Connection refused - connect(2) for "127.0.0.1" port 4001
Cookbook Trace:
---------------
/opt/graylog/embedded/cookbooks/graylog/libraries/registry.rb:17:in
`set_mas
ter'
/opt/graylog/embedded/cookbooks/graylog/recipes/graylog-server.rb:84:in
`blo
ck (2 levels) in from_file'
Resource Declaration:
---------------------
# In /opt/graylog/embedded/cookbooks/graylog/recipes/graylog-server.rb
82: ruby_block "add node to server list" do
83: block do
84: $registry.set_master
85: $registry.add_gl_server(node['ipaddress'])
86: $registry.add_es_node(node['ipaddress'])
87: end
88: end
Compiled Resource:
------------------
# Declared in
/opt/graylog/embedded/cookbooks/graylog/recipes/graylog-server
.rb:82:in `from_file'
ruby_block("add node to server list") do
action [:run]
retries 0
retry_delay 2
default_guard_interpreter :default
block_name "add node to server list"
declared_type :ruby_block
cookbook_name :graylog
recipe_name "graylog-server"
block
#<Proc:0x00000004fbf960@/opt/graylog/embedded/cookbooks/graylog/reci
pes/graylog-server.rb:83>
end
Recipe: timezone-ii::debian
* bash[dpkg-reconfigure tzdata] action run
- execute "bash" "/tmp/chef-script20161018-3852-54nqq4"
Running handlers:
[2016-10-18T11:30:35+01:00] ERROR: Running exception handlers
Running handlers complete
[2016-10-18T11:30:35+01:00] ERROR: Exception handlers complete
Chef Client failed. 6 resources updated in 02 seconds
[2016-10-18T11:30:35+01:00] FATAL: Stacktrace dumped to
/opt/graylog/embedded/co
okbooks/cache/chef-stacktrace.out
[2016-10-18T11:30:35+01:00] FATAL: Please provide the contents of the
stacktrace
.out file if you file a bug report
[2016-10-18T11:30:35+01:00] ERROR: ruby_block[add node to server list]
(graylog:
:graylog-server line 82) had an error: Errno::ECONNREFUSED: Connection
refused
-
connect(2) for "127.0.0.1" port 4001
[2016-10-18T11:30:35+01:00] FATAL: Chef::Exceptions::ChildConvergeError:
Chef
ru
n process exited unsuccessfully (exit code 1)
--
You received this message because you are subscribed to the Google Groups
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/graylog2/21386d1d-cacb-42fe-880c-9d789d615120%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.