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
How to Enable Vt-X/Amd-V in Aspire V5-122P Bios
Omnibus or Source - Can't Decide Which One to Use for Gitllab Backup/Restore
How to Save State When Preempted on a Google Preemptible Instance
Linux: Get a Script to Be Able to Ask The User for a File Name Then Open That File
Git Clone Repository in a Specific Folder But Keep Default Folder Name
Recursively Listing The Contents of a Tar/Zip Archive
Difference Between The Commands "Gcloud Compute Ssh" and "Ssh"
Run Hydra (Mpiexec) Locally Gives Strange Ssh Error
Sending Data on Af_Packet Socket
Why Am I Getting an "Implicit Declaration of Function 'Ndo_Get_Stats' " Error
Awk: Sum Up Column Values Across Multiple Files with Identical Column Layout
Perl Script to Capture Stderr and Stdout of Command Executed in Back-Quotes
How to Use Schell Script to Read Element from a File, Do Some Calculation and Write Back