Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am getting the below error when I am trying to setup the gitolite.

FATAL: errors found but logfile could not be created FATAL: /home/git/.gitolite/logs/gitolite-2014-06.log: No such file or directory FATAL: die 'gitadmin.pub' does not seem to be a valid ssh pubkey file

The below is my path entry

/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/git/bin

and below is the content of gitadmin.pub

ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA38ppSoUC5OK6ivHKlRP3Xbk7ZfcOr4AdCdD75sJNL9fUbZx3ryW1Fsn7KJJ0d/8WgKHdjb1eNH1It16NkOfCOmCUHHCSUZVjfSjcnGDrKkqpiEYJa+IRgmKcAHgi6igMi6uHtOT207jYaUF8m9GGwl884Kx34G039an059ICpS2nGzrO5IbUdsHAUkQSS6WpBX0cBAkGouEdWb9MZKKhl15DOIQYf9IKrenlgzr99lIE0DCZRn14OOwIP3AnOGI0zCGFk6Gg4z60gF81DV3X399PUxZC0d/sRwnNjvRO7KEK+EqbXMSEi2Z9TI1H57TRNzZEXolE8WXSAd2ezfbfKw== gitadmin@linux-10

And I have installed gitolite to home/git/bin.. Can somebody helps me with this

share|improve this question
    
The PATH environment variable only allows search for executables, not for regular files. Perhaps if you have a way of specifying a full path to the gitadmin.pub file? –  mtak Jun 16 at 9:05
    
its able to find the gitadmin file...because if I give a path which does not exist it says "'gitadmin.pub' not a readable file" –  FreakyThommi Jun 16 at 9:19

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.