Hi Daniel, On Wed, Nov 19, 2008 at 12:19 AM, Daniel Jomphe <[EMAIL PROTECTED]>wrote:
> > I have installed gitorious on a server and the web site works well; > then I created a test project through the web interface and tried to > git clone it: > > $ git clone git://172.22.175.158/test/mainline.git > Initialize mainline/.git > Initialized empty Git repository in c:/dev/mainline/.git/ > 172.22.175.158[0: 172.22.175.158]: errno=Invalid argument > fatal: unable to connect a socket (Invalid argument) Are you running the gitorious git-daemon script? You need to use that to get access to the repositories over the git protocol. > $ git clone http://git.172.22.175.158/test/mainline.git > Initialize mainline/.git > Initialized empty Git repository in c:/dev/mainline/.git/ > error: The requested URL returned error: 503 > warning: remote HEAD refers to nonexistent ref, unable to checkout. > > $ git clone [EMAIL PROTECTED]:test/mainline.git > Initialize mainline/.git > Initialized empty Git repository in c:/dev/mainline/.git/ > Enter passphrase for key id_rsa: > ERROR:gitosis.app:Configuration does not exist: [Errno 2] No such > file or directory: '/home/git/.gitosis.conf' > fatal: The remote end hung up unexpectedly > > Seeing that the ssh problem might be due to my previous usage of > gitosis, I sudo adduser gitorious:git, chown -R gitorious git/ > repositories, and then: > > $ git clone [EMAIL PROTECTED]:test/mainline.git > Initialize mainline/.git > Initialized empty Git repository in c:/dev/mainline/.git/ > [EMAIL PROTECTED]'s password: > Permission denied, please try again. > [EMAIL PROTECTED]'s password: > Permission denied (publickey,password). > fatal: The remote end hung up unexpectedly Did you add your public key to your account on gitorious? What does the servers authentication logs tell you? There are both some auth logs in the gitorious log directory and your server should have some logs too. -- Cheers, - Jacob Atzen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Gitorious" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/gitorious?hl=en -~----------~----~----~----~------~----~------~--~---
