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


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: opensolaris
  • Date: Fri, 18 Sep 2009 11:13:32 -0600

This is different than the ticket, it's similar to the NoMethodError from before. The recipe for runit has a case statement for platform with no default (else) clause (nor a specific Solaris clause).  See here:

http://github.com/opscode/cookbooks/blob/master/runit/recipes/default.rb

You can either setup runit manually or hack the cookbook, unfortunately I don't have access to a Solaris system I can mangle that much right now to help you much more with this step.

Good luck,
Dan DeLeo

On Fri, Sep 18, 2009 at 11:02 AM, Karl Rossing < "> > wrote:
If I rerun it I get the same error.

On Fri, Sep 18, 2009 at 11:49 AM, Daniel DeLeo < "> > wrote:
> Karl,
> does it succeed when you re-run chef, like in the comments on that ticket? I
> _think_ runit should be fine, since Solaris is standard System V Revision 4
> init system, but have yet to try it myself.
> Dan DeLeo
>
> On Fri, Sep 18, 2009 at 9:12 AM, Karl Rossing < "> >
> wrote:
>>
>> On Thu, Sep 17, 2009 at 4:36 PM, Karl Rossing < "> >
>> wrote:
>> > Ok... That fixed it...
>> >
>> > On to the next thing
>> >
>> > [Thu, 17 Sep 2009 16:28:00 -0500] DEBUG: STDERR: ERROR:  Error
>> > installing stompserver:
>> >        ERROR: Failed to build gem native extension.
>> >
>> > /usr/local/chef/bin/ruby extconf.rb
>> > checking for rb_trap_immediate in ruby.h,rubysig.h... no
>> > checking for rb_thread_blocking_region()... no
>> > checking for inotify_init() in sys/inotify.h... no
>> > checking for __NR_inotify_init in sys/syscall.h... no
>> > checking for writev() in sys/uio.h... no
>> > checking for sys/event.h... no
>> > checking for main() in -lnsl... no
>> > could not find library: nsl
>> > *** extconf.rb failed ***
>> >
>>
>> fixed that by setting my path to include /usr/sfw/bin
>> # echo $PATH
>> /usr/local/chef/bin:/usr/gnu/bin:/usr/sbin:/usr/bin:/usr/sfw/bi
>>
>> Now I'm getting this error.
>>
>> [Fri, 18 Sep 2009 10:08:34 -0500] ERROR: service[stompserver]
>> (/tmp/chef-solo/cookbooks/runit/definitions/runit_service.rb line 65)
>> had an error:
>> No such file or directory - /etc/init.d/stompserver status
>>
>> Which might be related to this:
>>
>> https://tickets.opscode.com/browse/CHEF-256%3Bjsessionid=D203976577F8546D16FA67A146EC3219?actionOrder=desc
>>
>> But i'm not sure what to make of it.
>>
>> Karl
>
>




Archive powered by MHonArc 2.6.16.

§