On 06/11/16 22:17, Eric Ripa wrote:
Thanks for the reporting and the links, Jussi! I've picked this up
again now but I'm having some issues with installing the sensu gem.
# gem install sensu
ERROR: Loading command: install (LoadError)
ld.so.1: ruby200: fatal: relocation error: file
/opt/local/lib/ruby/2.0.0/x86_64-solaris2.11/openssl.so: symbol
SSLv2_method: referenced symbol not found -
/opt/local/lib/ruby/2.0.0/x86_64-solaris2.11/openssl.so
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
I've tried ruby200, ruby21-base and ruby22-base.
All on a fully updated "base-64-lts 15.4.1" zone.
What are you running on?
BR,
Eric
On 2016 November06 at 21:14:36, Jussi Sallinen ([email protected]
<mailto:[email protected]>) wrote:
On 06/11/16 22:07, Jussi Sallinen wrote:
> Hi,
>
> FYI:
>
> In case someone is wondering why Sensu Server (would also affect the
> client most likely) doesn't run out of box on SmartOS (as of
> 06/11/2016) here's some background information and how I got it
running.
>
> Sensu Server was dying upon start with following error:
>
>
/opt/local/lib/ruby/gems/2.1.0/gems/eventmachine-1.2.0.1/lib/em/connection.rb:677:in
> `pending_connect_timeout=': undefined method
> `set_pending_connect_timeout' for EventMachine:Module (NoMethodError)
>
> According to cwj @ #sensu on Freenode:
> "I think the underlying issue is that we're packaging a modified
> version of eventmachine from a fork while we wait for changes to be
> integrated upstream, gem built from branch feature/pure_ruby_tls from
> https://github.com/portertech/eventmachine.git will get you past that
> error"
>
> So I did that and # svcadm enable sensu-server worked like it should.
>
> # gem uninstall eventmachine
> # gem install rake-compiler
> # git clone https://github.com/portertech/eventmachine.git
> # cd eventmachine
> # git pull origin feature/pure_ruby_tls
> # gem build eventmachine.gemspec
> # rake eventmachine-1.2.0.1.gem
> # gem install eventmachine-1.2.0.1.gem
>
> --
> -Jussi Sallinen
> +358 40 700 7600
> [email protected] <mailto:[email protected]>
> http://jus.si/
> http://jus.si/linkedin
Actually the needed change is already in the master branch as of now, no
need to necessarily pull the feature/pure_ruby_tls.
--
-Jussi Sallinen
+358 40 700 7600
[email protected] <mailto:[email protected]>
http://jus.si/
http://jus.si/linkedin
Hi,
I'm running the Sensu on base-64 16.3.0, installed through a Ansible
Playbook with following Ruby packages installed before installing the
sensu gem:
- build-essential
- ruby21-base
- ruby21-shadow
- ruby21-rison
- ruby21-rdoc
Not actually sure if all the shadow/rison/rdoc packages are really
needed (someone please enlighten me!), picked those from the 2014 blog
post I linked in the other thread just to be on the safe side.
The Sensu Ansible Playbook found on Github only installs build-essential
and ruby21-base so that would suggest the other packages are not really
required (maybe used to back in the day?).
--
-Jussi Sallinen
+358 40 700 7600
[email protected]
http://jus.si/
http://jus.si/linkedin
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com