Here is the output. Because the VM is in internal subnet, it does not have
Internet access. So execute[apt-get-update-periodic] error can be ignored?
ubuntu@graylog:~$ 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 122 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[2017-01-05T14:26:02+00:00]
ERROR: execute[apt-get-update-periodic] (apt::default line 84) had an
error: Mixlib::ShellOut::CommandTimeout: Command timed out after 90s:
Command exceeded allowed execution time, process terminated
---- Begin output of apt-get update ----
STDOUT:
STDERR:
---- End output of apt-get update ----
Ran apt-get update returned ; ignore_failure is set, continuing
================================================================================
Error executing action `run` on resource
'execute[apt-get-update-periodic]'
================================================================================
Mixlib::ShellOut::CommandTimeout
--------------------------------
Command timed out after 90s:
Command exceeded allowed execution time, process terminated
---- Begin output of apt-get update ----
STDOUT:
STDERR:
---- End output of apt-get update ----
Ran apt-get update returned
Resource Declaration:
---------------------
# In /opt/graylog/embedded/cookbooks/apt/recipes/default.rb
84: execute 'apt-get-update-periodic' do
85: command 'apt-get update'
86: ignore_failure true
87: timeout 90
88: only_if { apt_installed? }
89: not_if { apt_up_to_date? }
90: notifies :touch,
'file[/var/lib/apt/periodic/update-success-stamp]', :immediately
91: end
92:
Compiled Resource:
------------------
# Declared in
/opt/graylog/embedded/cookbooks/apt/recipes/default.rb:84:in `from_file'
execute("apt-get-update-periodic") do
action [:run]
ignore_failure true
retries 0
retry_delay 2
default_guard_interpreter :execute
command "apt-get update"
backup 5
returns 0
timeout 90
declared_type :execute
cookbook_name :apt
recipe_name "default"
not_if { #code block }
only_if { #code block }
end
* 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 (up to date)
* 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
* directory[/var/log/graylog/elasticsearch] action create (up to date)
* directory[/var/opt/graylog/data/elasticsearch] action create (up to
date)
* directory[/opt/graylog/elasticsearch/config/scripts] action create (up
to date)
* template[/opt/graylog/elasticsearch/config/elasticsearch.yml] action
create (up to date)
* template[/opt/graylog/elasticsearch/config/logging.yml] action create
(up to date)
* link[/opt/graylog/conf/elasticsearch] action create (up to date)
* directory[/opt/graylog/sv/elasticsearch] action create (up to date)
* directory[/opt/graylog/sv/elasticsearch/log] action create (up to date)
* directory[/opt/graylog/sv/elasticsearch/log/main] action create (up to
date)
* template[/opt/graylog/sv/elasticsearch/run] action create (up to date)
* template[/opt/graylog/sv/elasticsearch/log/run] action create (up to
date)
* template[/var/log/graylog/elasticsearch/config] action create (up to
date)
* ruby_block[reload elasticsearch svlogd configuration] action nothing
(skipped due to action :nothing)
* file[/opt/graylog/sv/elasticsearch/down] action delete (up to date)
* link[/opt/graylog/init/elasticsearch] action create (up to date)
* link[/opt/graylog/service/elasticsearch] action create (up to date)
* ruby_block[supervise_elasticsearch_sleep] action run (skipped due to
not_if)
* service[elasticsearch] action nothing (skipped due to action :nothing)
* execute[/opt/graylog/embedded/bin/graylog-ctl start elasticsearch]
action run
- execute /opt/graylog/embedded/bin/graylog-ctl start elasticsearch
* ruby_block[add node to cluster list] action run
- execute the ruby block add node to cluster list
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
(skipped 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 run
- execute /opt/graylog/embedded/bin/graylog-ctl start graylog-server
* ruby_block[add node to server list] action run
- execute the ruby block add node to server list
Recipe: graylog::nginx
* directory[/opt/graylog/conf/nginx/ca] action create (up to date)
* directory[/var/log/graylog/nginx] action create (up to date)
* template[/opt/graylog/conf/nginx/nginx.conf] action create (up to date)
* template[/opt/graylog/embedded/html/502.html] action create (up to date)
* directory[/opt/graylog/sv/nginx] action create (up to date)
* directory[/opt/graylog/sv/nginx/log] action create (up to date)
* directory[/opt/graylog/sv/nginx/log/main] action create (up to date)
* template[/opt/graylog/sv/nginx/run] action create (up to date)
* template[/opt/graylog/sv/nginx/log/run] action create (up to date)
* template[/var/log/graylog/nginx/config] action create (up to date)
* ruby_block[reload nginx svlogd configuration] action nothing (skipped
due to action :nothing)
* file[/opt/graylog/sv/nginx/down] action delete (up to date)
* link[/opt/graylog/init/nginx] action create (up to date)
* link[/opt/graylog/service/nginx] action create (up to date)
* ruby_block[supervise_nginx_sleep] action run (skipped due to not_if)
* service[nginx] action nothing (skipped due to action :nothing)
* execute[/opt/graylog/embedded/bin/graylog-ctl start nginx] action run
- execute /opt/graylog/embedded/bin/graylog-ctl start nginx
Recipe: ntp::default
* apt_package[ntp] action install (up to date)
* apt_package[ntpdate] action install (up to date)
* directory[/var/lib/ntp] action create (up to date)
* directory[/var/log/ntpstats/] action create (up to date)
* cookbook_file[/etc/ntp.leapseconds] action create (up to date)
Recipe: ntp::apparmor
* service[apparmor] action nothing (skipped due to action :nothing)
* cookbook_file[/etc/apparmor.d/usr.sbin.ntpd] action create (up to date)
Recipe: ntp::default
* template[/etc/ntp.conf] action create (up to date)
* service[ntp] action enable (up to date)
* service[ntp] action start (up to date)
Running handlers:
Running handlers complete
Chef Client finished, 8/123 resources updated in 01 minutes 35 seconds
graylog Reconfigured!
ubuntu@graylog:~$
Thanks
Victor
On Thursday, January 5, 2017 at 3:44:17 AM UTC-5, Jochen Schalanda wrote:
>
> Hi,
>
> Port 443 is not up running.
>>
>
> If you didn't configure the OVA to use HTTPS, it will only start an HTTP
> listener.
>
> Generally, please post the output of the sudo graylog-ctl reconfigure
> command.
>
> Cheers,
> Jochen
>
--
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/bb912a80-faa3-4f80-a7dc-47bed31fca84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.