da667 / Autosnort

Repo for autosnort scripts.
MIT License
157 stars 89 forks source link

Unable to run bundle step on Snorby for Ubuntu #20

Closed Gualty closed 10 years ago

Gualty commented 10 years ago

Hi, when I try to install snorby on Ubuntu It will exit when trying to run bundle step with the following error extracted from /var/log/snorby_install.log: Enjoy Phusion Passenger, a product of Phusion (www.phusion.nl) :-) https://www.phusionpassenger.com

Phusion Passenger is a trademark of Hongli Lai & Ninh Bui. You are trying to install in deployment mode after changing your Gemfile. Run bundle install elsewhere and add the updated Gemfile.lock to version control.

You have added to the Gemfile:

You have deleted from the Gemfile:

You have changed in the Gemfile:

I tried lots of times to execute the snorby installer but it always exit on that error. How can I solve it?

da667 commented 10 years ago

Hey there, I was away at a security conference when this came in. I'll get to work on it as soon as I can. Thank you for reporting this!

On Fri, Jan 17, 2014 at 6:38 PM, Gualtiero notifications@github.com wrote:

Hi, when I try to install snorby on Ubuntu It will exit when trying to run bundle step with the following error extracted from /var/log/snorby_install.log: Enjoy Phusion Passenger, a product of Phusion (www.phusion.nl) :-) https://www.phusionpassenger.com

Phusion Passenger is a trademark of Hongli Lai & Ninh Bui. You are trying to install in deployment mode after changing your Gemfile. Run bundle install elsewhere and add the updated Gemfile.lock to version control.

You have added to the Gemfile:

You have deleted from the Gemfile:

You have changed in the Gemfile:

I tried lots of times to execute the snorby installer but it always exit on that error. How can I solve it?

— Reply to this email directly or view it on GitHubhttps://github.com/da667/Autosnort/issues/20 .

when does reality end? when does fantasy begin?

da667 commented 10 years ago

Hey there, I think I may have found a solution. The problem stems from snorby and has been an issue for what looks like 3 months now. https://github.com/Snorby/snorby/issues/323. The guidance from Mephux, the creator of the Snorby project says to remove the Gemfile.lock and re-run bundler. This did not work for me, for whatever reason. I ended up running bundle install --no-deployment, followed by bundle install --deployment and it appears to work correctly. I need to do further testing, but if it ends up working correctly, I'll modify the script with the aforementioned fix.

On Mon, Jan 20, 2014 at 3:55 PM, Tony Robinson deusexmachina667@gmail.comwrote:

Hey there, I was away at a security conference when this came in. I'll get to work on it as soon as I can. Thank you for reporting this!

On Fri, Jan 17, 2014 at 6:38 PM, Gualtiero notifications@github.comwrote:

Hi, when I try to install snorby on Ubuntu It will exit when trying to run bundle step with the following error extracted from /var/log/snorby_install.log: Enjoy Phusion Passenger, a product of Phusion (www.phusion.nl) :-) https://www.phusionpassenger.com

Phusion Passenger is a trademark of Hongli Lai & Ninh Bui. You are trying to install in deployment mode after changing your Gemfile. Run bundle install elsewhere and add the updated Gemfile.lock to version control.

You have added to the Gemfile:

You have deleted from the Gemfile:

You have changed in the Gemfile:

I tried lots of times to execute the snorby installer but it always exit on that error. How can I solve it?

— Reply to this email directly or view it on GitHubhttps://github.com/da667/Autosnort/issues/20 .

when does reality end? when does fantasy begin?

when does reality end? when does fantasy begin?

da667 commented 10 years ago

Confirmed that my work-around works. Updated issue #323 on snorby github to reflect what it is I did. Expect an update to Autosnort to fix this in the near-future. Confirmed that the fix works for Ubuntu 12.04 LTS, I have to make sure it works for CentOS and red-hat before I push it, however.

On Fri, Jan 24, 2014 at 5:55 PM, Tony Robinson deusexmachina667@gmail.comwrote:

Hey there, I think I may have found a solution. The problem stems from snorby and has been an issue for what looks like 3 months now. https://github.com/Snorby/snorby/issues/323. The guidance from Mephux, the creator of the Snorby project says to remove the Gemfile.lock and re-run bundler. This did not work for me, for whatever reason. I ended up running bundle install --no-deployment, followed by bundle install --deployment and it appears to work correctly. I need to do further testing, but if it ends up working correctly, I'll modify the script with the aforementioned fix.

On Mon, Jan 20, 2014 at 3:55 PM, Tony Robinson <deusexmachina667@gmail.com

wrote:

Hey there, I was away at a security conference when this came in. I'll get to work on it as soon as I can. Thank you for reporting this!

On Fri, Jan 17, 2014 at 6:38 PM, Gualtiero notifications@github.comwrote:

Hi, when I try to install snorby on Ubuntu It will exit when trying to run bundle step with the following error extracted from /var/log/snorby_install.log: Enjoy Phusion Passenger, a product of Phusion (www.phusion.nl) :-) https://www.phusionpassenger.com

Phusion Passenger is a trademark of Hongli Lai & Ninh Bui. You are trying to install in deployment mode after changing your Gemfile. Run bundle install elsewhere and add the updated Gemfile.lock to version control.

You have added to the Gemfile:

You have deleted from the Gemfile:

You have changed in the Gemfile:

I tried lots of times to execute the snorby installer but it always exit on that error. How can I solve it?

— Reply to this email directly or view it on GitHubhttps://github.com/da667/Autosnort/issues/20 .

when does reality end? when does fantasy begin?

when does reality end? when does fantasy begin?

when does reality end? when does fantasy begin?

da667 commented 10 years ago

Pushed a new version of the autosnort-ubuntu and snorby-ubuntu scripts after doing a bunch of tests. The work-around I mentioned previously of running bundler with --no-deployment, followed by running it again with --deployment works, and I've fully automated it. Unfortunately, this means the script will run a little longer, but it results in a happy snorby installation. This is only a work-around until mephux/Snorby team resolves open issue #323 on their github repo -- I guess I would consider that upstream? This issue should be resolved for snorby-ubuntu. Expect the changes/work-arounds to be pushed to CentOS/Debian soon after.

da667 commented 10 years ago

Closing issue. Please inform me if you continue to have problems.