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'm trying to get up and running gitolite as the instructions said at this but when I run the command:

[git@devserver gitolite]$ src/gitolite install -ln
FATAL: errors found before logfile could be created
FATAL: die  unknown gitolite sub-command

I get the errors above, what I'm doing wrong? I create the git user as:

useradd -d /data/gitrepos git

And then cd to /data/gitrepos and clone the gitolite repo with the following command:

git clone git://

Any advice? Cheers and thanks in advance

share|improve this question
up vote 2 down vote accepted

As mentioned in the sources of gitolite install:

Simplest use, if $HOME/bin exists and is in $PATH, is:

git clone git://
gitolite/install -ln

So make sure your $HOME/bin exists and is in $PATH.

share|improve this answer
Hi, @vonc $HOME/bin doesn't exists but /bin yes. So if the directory, $HOME/bin not exists, what will be the next step? Run the command gitolite setup -pk /path/to/ I'm a bit lost here! – ReynierPM Jun 27 '12 at 12:49
@ReynierPM is it possible for you to create $HOME/bin? I always prefer a local installation to a system (owned by root) installation. – VonC Jun 27 '12 at 13:49
yes it's possible in fact I create the $HOME/bin directory and now I've installed and thanks for your support. Now I need to learn git a bit ;) – ReynierPM Jun 27 '12 at 17:50

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.