[chef] Re: Re: Re: Chef Server incompatible C libyajl libs


Chronological Thread 
  • From: Mark Selby < >
  • To: " " < >
  • Subject: [chef] Re: Re: Re: Chef Server incompatible C libyajl libs
  • Date: Thu, 15 Jan 2015 10:49:01 -0800

The logs are in /var/log/opscode for chef server 12

 I am sure there is some other issue as this warning also exists for me and I am running on the same platform.

Does ' chef-server-ctl service-list' show any running chef services

On Thu, Jan 15, 2015 at 10:42 AM, Douglas Garstang < " target="_blank"> > wrote:
Steven,

It's not starting, or even reporting a status (ie not started).

:~# chef-server-ctl start
the ffi-yajl and yajl-ruby gems have incompatible C libyajl libs and should not be loaded in the same Ruby VM
falling back to ffi which might work (or might not, no promises)
ffi-yajl/json_gem is deprecated, these monkeypatches will be dropped shortly
:~# chef-server-ctl status
the ffi-yajl and yajl-ruby gems have incompatible C libyajl libs and should not be loaded in the same Ruby VM
falling back to ffi which might work (or might not, no promises)
ffi-yajl/json_gem is deprecated, these monkeypatches will be dropped shortly
:~# chef-server-ctl start
the ffi-yajl and yajl-ruby gems have incompatible C libyajl libs and should not be loaded in the same Ruby VM
falling back to ffi which might work (or might not, no promises)
ffi-yajl/json_gem is deprecated, these monkeypatches will be dropped shortly
:~# ps -ef | grep chef
root      2173  2148  0 18:39 pts/2    00:00:00 grep --color=auto chef

Nothing is logged anywhere that I can see.

:~# find /var/log -name "*chef*"
/var/log/chef
:~# ls -l /var/log/chef
total 4
-rw-r--r-- 1 root root 972 Jan 15 17:19 client-initial.log

That client-initial.log file is unrelated.

So, it's not starting, reporting it's status when not started, or even creating any log files that I can see. This is Ubuntu 14.04 with OS updates as of a few days ago. Very current, clean install.

Douglas.


On Thu, Jan 15, 2015 at 10:28 AM, Steven Danna < " target="_blank"> > wrote:
Hi Douglas,

The yajl warnings are a known issue
(https://github.com/opscode/chef-server/issues/53).  However, I don't
think they should be preventing your Chef server from working.
`chef-server-ctl status` should output the warning followed by the
status of each service.  Is it doing that?  If so, which services are
down? It is likely that your server is not starting for a reason
unrelated to these warnings.

Sincerely,

Steven

On Thu, Jan 15, 2015 at 5:50 PM, Douglas Garstang
< " target="_blank"> > wrote:
> I just downloaded chef-server-core_12.0.1-1_amd64.deb. I have Ubuntu 14.04
> (with current updates), and that's the download I got when I clicked 'Ubuntu
> 14.04' on the chef web site.
>
> When attempting to start chef-server...
>
> :/etc/init.d# chef-server-ctl start
> the ffi-yajl and yajl-ruby gems have incompatible C libyajl libs and should
> not be loaded in the same Ruby VM
> falling back to ffi which might work (or might not, no promises)
> ffi-yajl/json_gem is deprecated, these monkeypatches will be dropped shortly
>
> Apparently, it does not work. The server does not start. A status returns
> the same result.
>
> What's going on? Solution?
>
> Doug
>



--




Archive powered by MHonArc 2.6.16.

§