Chef-Server Stuck Ruby_Block[Supervise_Rabbitmq_Sleep] Action Run on Docker Container

chef-server stuck ruby_block[supervise_rabbitmq_sleep] action run on Docker container

I have solved above issue:

Because Docker replaces the default /sbin/init with its own, there's no way to run the Upstart init inside a Docker container. However this causes some problems: some Debian packages try to communicate with Upstart, and will fail to install.

Solution:

$sudo dpkg-divert --local --rename --add /sbin/initctl
$sudo ln -s /bin/true /sbin/initctl

chef-server-ctl reconfigure fails after customizing the PostgreSQL port

I gave up trying to get Chef's PostgreSQL instance configured to use a different port.

Instead, I modified our existing PostgreSQL installation's port number to be 5433 and let Chef's instance use 5432. Now the "chef-server-ctl reconfigure" command completes successfully.

Unable to run gitlab-ctl reconfigure after updating from 10.6.4 to 10.8.7 on RHEL 6

The cause was that initctl was not in the path gitlab was expecting. I created a link and then it worked

sudo ln -s /sbin/initctl /usr/bin/initctl


Related Topics



Leave a reply



Submit