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 follow this tutorial to the letter and edit:



#git_daemon_flags="--syslog --base-path=/git --export-all"
git_daemon_flags="--syslog --export-all"


# /usr/local/etc/rc.d/git_daemon start
Starting git_daemon.
/usr/local/etc/rc.d/git_daemon: WARNING: failed to start git_daemon

Moreover the boot process hangs at "Starting git_daemon". I pressed ctrl+c and then it finished booting.

# service git_daemon start
Starting git_daemon.

Pauses indefinately...

/usr/local/etc/rc.d/git_daemon: WARNING: failed to start git_daemon

And finally

# tail /var/log/messages
May  3 14:06:53 web root: /etc/rc: WARNING: failed to start git_daemon

Doesn't reveal anything either? I have full root access to my FreeBSD box.

share|improve this question

It appears that the git_daemon_flags that are suggested by the blog are a bit wrong. They cause the git daemon to run in the foreground which causes the boot process to hang.

If you use the following line, you should be able to continue with the tutorial:

--syslog --base-path=/git --export-all --reuseaddr --detach

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.