[chef] Re: Re: Re: Re: Re:


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re:
  • Date: Thu, 17 Sep 2009 10:09:11 -0600

Karl,
There's clearly something strange happening with the linking of C extensions. Does running ldd (or equivalent) on  the .so files under /var/ruby/1.8/gem_home/gems/json-1.1.9/ext/json/ext/ give you any hints?

HTH,
Dan DeLeo

On Thu, Sep 17, 2009 at 10:02 AM, Karl Rossing < "> > wrote:
# /usr/bin/ruby --version
ruby 1.8.7 (2008-08-11 patchlevel 72) [sparc-solaris2.11]

I'll see if I can't install 1.8.5 and give it another try.

Karl

On Thu, Sep 17, 2009 at 10:41 AM, Joe Van Dyk < "> > wrote:
> He asked about ruby, not rubygems.
>
> Joe
>
> On Thu, Sep 17, 2009 at 7:18 AM, Karl Rossing < "> > wrote:
>> http://wiki.opscode.com/display/chef/Installation+on+OpenSolaris+2008.11+with+RubyGems
>>
>> cd /tmp
>> wget http://rubyforge.org/frs/download.php/57643/rubygems-1.3.4.tgz
>> tar zxf rubygems-1.3.4.tgz
>> cd rubygems-1.3.4
>> sudo ruby setup.rb
>>
>> On Thu, Sep 17, 2009 at 7:41 AM, Dick Davies
>> < "> > wrote:
>>> Where did your Ruby come from?
>>>
>>> On Wed, Sep 16, 2009 at 11:06 PM,  < "> > wrote:
>>>> I'm trying to get chef running on opensolaris sxce build 115.
>>>>
>>>> I'm getting the following error
>>>>  # ./chef-solo \-c \/solo.rb \-j \/chef.json \-r
>>>> /home/karlr/Downloads/chef/bootstrap-latest.tar.gz
>>>> [Wed, 16 Sep 2009 17:00:31 -0500] INFO: Starting Chef Solo Run
>>>> ./../lib/chef/client.rb:122:in `determine_node_name': private method `gsub'
>>>> called for nil:NilClass (NoMethodError)
>>>>        from ./../lib/chef/client.rb:101:in `run_solo'
>>>>        from ./../lib/chef/application/solo.rb:191:in `run_application'
>>>>        from ./../lib/chef/application/solo.rb:183:in `loop'
>>>>        from ./../lib/chef/application/solo.rb:183:in `run_application'
>>>>        from ./../lib/chef/application.rb:57:in `run'
>>>>        from ./chef-solo:26
>>>>
>>>> # hostname
>>>> chef
>>>>
>>>> # ohai
>>>> ld.so.1: ruby: fatal: relocation error: file
>>>> /var/ruby/1.8/gem_home/gems/json-1.1.9/ext/json/ext/generator.so: symbol isinf:
>>>> referenced symbol not found
>>>> Killed
>>>>
>>>> # cat /chef.json
>>>> {
>>>> "chef": {
>>>>    "server_fqdn": "chef",
>>>>    "server_ssl_req":
>>>> "/C=CA/ST=Manitoba/L=Winnipeg/O=Summer/OU=Operations/CN=chef/emailAddress= "> "
>>>>  },
>>>> "recipes": "chef::server"
>>>> }
>>>>
>>>> Any suggestions would be appreciated.
>>>>
>>>> Karl
>>>>
>>>
>>
>
>
>
> --
> Joe Van Dyk
> http://fixieconsulting.com
>




Archive powered by MHonArc 2.6.16.

§