SumoLogic / sumologic-collector-chef-cookbook

Chef Cookbook for installing and configuring the SumoLogic collector for the Sumo Logic service
Other
30 stars 90 forks source link

Mixlib::ShellOut::ShellCommandFailed #91

Closed sunil-r closed 6 years ago

sunil-r commented 8 years ago

getting he below error when i run it form the chef server, but in the client machine it works fine. i tried by setting the env varible as set JAVA_OPTS="-Xms512M -Xmx1024M" but still no luck.

STDOUT: Preparing JRE ... Copy-mode. Copy-mode. The installation directory has been set to C:\sumo. Extracting files...

[error occurred during error reporting (null), id 0xc0000005]

There is insufficient memory for the Java Runtime Environment to continue.

Native memory allocation (malloc) failed to allocate 32744 bytes for ChunkPool::allocate

An error report file with more information is saved as:

zl4bv commented 8 years ago

Hi @sunil-r, would you mind clarifying a couple of things:

sunil-r commented 8 years ago

Hi Ben, The client machine is “windows server 2010r2” , there is no difference, I am using the same cook book and the same run list and same parameters.

sunil-r commented 8 years ago

Hi Ben,

I think this is more to do with the SumoCollector_windows-x64.exe, which is trying to run the java to install sumologic, and it is running out of memory since it has not set the min max memory for running java.

Regards, Sunil.R From: Ben Vidulich [mailto:notifications@github.com] Sent: Sunday, July 31, 2016 9:54 AM To: SumoLogic/sumologic-collector-chef-cookbook sumologic-collector-chef-cookbook@noreply.github.com Cc: Raju, Sunil Sunil.Raju@Aspect.com; Mention mention@noreply.github.com Subject: Re: [SumoLogic/sumologic-collector-chef-cookbook] Mixlib::ShellOut::ShellCommandFailed (#91)

Hi @sunil-rhttps://github.com/sunil-r, would you mind clarifying a couple of things:

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/SumoLogic/sumologic-collector-chef-cookbook/issues/91#issuecomment-236409069, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATQTB6N9hkH_-tLiaxZEjlqLpLnU6PRGks5qbCNagaJpZM4JYM3H.

This email (including any attachments) is proprietary to Aspect Software, Inc. and may contain information that is confidential. If you have received this message in error, please do not read, copy or forward this message. Please notify the sender immediately, delete it from your system and destroy any copies. You may not further disclose or distribute this email or its attachments.

majormoses commented 7 years ago

I think this might help: https://github.com/SumoLogic/sumologic-collector-chef-cookbook/pull/128

majormoses commented 6 years ago

closing due to lack of response