Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed gearmand (0.20) from source yesterday on an Ubuntu Server 10.04 environment of mine. I shut down the environment last night and when I started it back up this morning, it's stuck during the boot up process trying to start gearmand.

Any idea how I can go about fixing this?


I ended up booting into Single User mode and removing gearman-job-server out of /etc/init.d. Fixed her right up!

share|improve this question

Check the init script to make sure it's daemonizing properly. Did you install it via a package or from source?

share|improve this answer
Installed it (0.20) from source, but how can I go about checking the init script when I can't get the machine to boot? – Jon Ursenbach Apr 22 '11 at 22:07

It is a bug in startup code of gearmand, as described in Gearmand Bug #771486. In short, gearmand is started as root, with instructions to switch to another user and daemonize. Main process forks and waits for child to signal about successful startup. Child switches to new user and then fails to signal child (permission denied). So, master process waits for signal forever, and, thus, script in /etc/init.d.

So, one should wait when this bug gets fixed or manually adjust startup script to workaround it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.