Scott L Baker <freecycler23@xxxxxxxxx> writes: > This is probably a simple mistake on my part.. so apologies in advance.. > > I am trying to setup a git server and I have a few questions. > My sys-admin (I do not have root access) setup an xinet service, e.g. Addressing individuals for this kind of help requests is an inefficient way to resolve problems. I've tried to spawn git-daemon from inetd just as a test to make sure it works in the past, but I personally never have run xinetd. You would have better luck finding somebody who have used xinetd to run git-daemon if you asked git@xxxxxxxxxxxxxxx mailing list, which you can send mails to without subscribing yourself. Having said that... >>> cat /etc/xinetd.d/git-daemon > > # default: off > # description: The git server offers access to git repositories service git > service git > { > disable = no > type = UNLISTED > port = 9418 > socket_type = stream > wait = no > user = nobody > server = /usr/intel/bin/git-daemon > server_args = --inetd --syslog --export-all --base-path=/git > log_on_failure += USERID > } > > I then created a repo in /git/myrepo and tried to clone it.. > >>> git clone git://plxc1214.pdx/git/myrepo > > Initialized empty Git repository in /users/myuser/junk/myrepo/.git/ > fatal: The remote end hung up unexpectedly > fetch-pack from 'git://plxc1214.pdx/git/myrepo' failed. > > Is the xinet service setup correctly? > What is the correct syntax for cloning from the local xinet service? > > Thanks, > Scott L Baker The first thing you would want to try is to see if it is xinetd or git-daemon that is misconfigured. Try running the daemon without xinetd involved and see if you can access the repository. I think there is something in Documentation/howto/* on running the daemon. The --base-path is used to hide the (often unsightly) leading prefix from the general public. If you are trying to fetch from git://plxc1214.pdx/git/myrepo, the --base-path I see in your configuration would mean the repository is at /git/git/myrepo directory on the filesystem. Is it the case? Does it help to try cloning from git://plxc1214.pdx/myrepo instead? - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html