[graylog2] Re: error on sudo graylog-ctl reconfigure after upgrade
HI I did tell you what I did Step by step.. Hi Jochen, I did the following on each of the 3 servers. I have one front end server that runs graylog and then two eleasticsearch hosts sudo apt-get update sudo apt-get upgrade then the following from the guide http://docs.graylog.org/en/latest/pages/configuration/graylog_ctl.html#upgrade-graylog-omnibus wget https://packages.graylog2.org/releases/graylog-omnibus/ubuntu/graylog_latest.deb sudo graylog-ctl stop sudo dpkg -G -i graylog_latest.deb sudo graylog-ctl reconfigure sudo reboot On Wednesday, 19 October 2016 09:59:18 UTC+1, Jochen Schalanda wrote: > > Hi Nathaniel, > > On Wednesday, 19 October 2016 10:54:37 UTC+2, Nathaniel Brassington wrote: >> >> Just an update. I restored the server from backup and reapplied the >> update without doing a sudo apt-get update and upgrade. The process failed >> at the same point. Service still down. >> > > We cannot help you without knowing what you did exactly (step-by-step) and > how you've installed Graylog in the first place. > > 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 graylog2+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/e84c31d9-e381-49b8-89c6-c693b766ed63%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[graylog2] Re: error on sudo graylog-ctl reconfigure after upgrade
Just an update. I restored the server from backup and reapplied the update without doing a sudo apt-get update and upgrade. The process failed at the same point. Service still down. On Tuesday, 18 October 2016 11:47:43 UTC+1, Jochen Schalanda wrote: > > Hi Nathaniel, > > what exactly (step-by-step) did you do to upgrade Graylog? > > FWIW, port 4001 is etcd and it seems like it didn't start properly. > > Cheers, > Jochen > > On Tuesday, 18 October 2016 12:33:02 UTC+2, Nathaniel Brassington wrote: >> >> 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) >> *
[graylog2] error on sudo graylog-ctl reconfigure after upgrade
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) *