Hi Jochen,
I hv gone through doc but getting this error
[2016-05-12T01:16:48-07:00] FATAL: Can not reach master server, make sure
127.0.0.1 is reachable and 'etcd' service is running properly.
================================================================================
Recipe Compile Error in
/opt/graylog/embedded/cookbooks/graylog/recipes/default.rb
================================================================================
SystemExit
----------
exit
Cookbook Trace:
---------------
/opt/graylog/embedded/cookbooks/graylog/libraries/graylog.rb:165:in
`rescue in generate_settings'
/opt/graylog/embedded/cookbooks/graylog/libraries/graylog.rb:160:in
`generate_settings'
/opt/graylog/embedded/cookbooks/graylog/libraries/graylog.rb:224:in
`generate_config'
/opt/graylog/embedded/cookbooks/graylog/recipes/default.rb:13:in
`from_file'
Relevant File Content:
----------------------
/opt/graylog/embedded/cookbooks/graylog/libraries/graylog.rb:
158: if Graylog['current_address'] != Graylog['last_address']
159: Chef::Log.warn("IP change detected!")
160: begin
161: client = Etcd.client(host: Graylog['master_node'], port:
4001)
162: client.delete("/servers/#{Graylog['last_address']}") if
client.exists?("/servers/#{Graylog['last_address']}")
163:
client.delete("/elasticsearch/#{Graylog['last_address']}") if
client.exists?("/elasticsearch/#{Graylog['last_address']}")
164: rescue Exception => e
165>> Chef::Application.fatal!("Can not reach master server, make
sure #{Graylog['master_node']} is reachable and 'etcd' service is running
properly.")
166: end
167: Graylog['last_address'] = Graylog['current_address']
168: end
169:
170: if File.directory?("/etc/graylog")
171: File.open("/etc/graylog/graylog-settings.json", "w") do |f|
172: f.puts(
173: Chef::JSONCompat.to_json_pretty({
174: 'timezone' => Graylog['timezone'],
Running handlers:
[2016-05-12T01:16:48-07:00] ERROR: Running exception handlers
Running handlers complete
[2016-05-12T01:16:48-07:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 00 seconds
[2016-05-12T01:16:48-07:00] FATAL: Stacktrace dumped to
/opt/graylog/embedded/cookbooks/cache/chef-stacktrace.out
[2016-05-12T01:16:48-07:00] FATAL: Please provide the contents of the
stacktrace.out file if you file a bug report
[2016-05-12T01:16:48-07:00] ERROR: exit
[2016-05-12T01:16:48-07:00] FATAL: Chef::Exceptions::ChildConvergeError:
Chef run process exited unsuccessfully (exit code 1)
On Tuesday, May 10, 2016 at 4:55:16 PM UTC+5:30, Utkarsh Sharma wrote:
>
> Hi Team,
>
> We have setup Graylog 1.3 using readymade AWS EC2-AMI, Now we are planning
> to upgrade that to 2.0.
> but unfortunately we are unable to upgrade that Please help us getting it
> resolved.
>
> I have used below commands to upgrade graylog.
>
> *wget
> https://packages.graylog2.org/releases/graylog-omnibus/ubuntu/graylog_latest.deb
>
> <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*
>
>
> *Output :*
>
> *Reading database ... 91745 files and directories currently installed.)
> Preparing to unpack graylog_latest.deb ...
> This is not a drop-in replacement. Please consult the updating guide!
> dpkg: error processing archive graylog_latest.deb (--install):
> subprocess new pre-installation script returned error exit status 1
> Graylog has been uninstalled!
> By installing this package, you accept the terms of the Oracle Binary Code
> License Agreement for the Java SE Platform Products and JavaFX, which can be
> found at
> http://www.oracle.com/technetwork/java/javase/terms/license/index.html
> <http://www.oracle.com/technetwork/java/javase/terms/license/index.html>
>
> Thank you for installing Graylog!
> The next step in the install process is to run:
>
> sudo graylog-ctl reconfigure
> Errors were encountered while processing:*
>
>
>
> *Thanks in advance,*
>
>
> *Regards,*
> *Utkarsh Sharma*
> *DevOps Engineer*
> *CloudCover Consultancy Pvt. Ltd.*
> *Phone: +91 91-68615342 | Skype: utkarshsharma021 | *
> *Email : [email protected] <[email protected]> | www.cloudcover.in
> <http://www.cloudcover.in/> *
>
>
>
--
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/9e92d4ee-66ed-43b7-928f-458ac5e3d93c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.