git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Griessen <john@ecosensory.com>
To: git@vger.kernel.org
Subject: debugging git clone  via git-daemon     "cannot handle daemon internally"
Date: Tue, 04 Jan 2011 10:50:55 -0600	[thread overview]
Message-ID: <4D234FEF.2030501@ecosensory.com> (raw)

I have a server running debian  git-core, gitosis,  git version 1.7.2.3 and local git version 1.7.2.3.

I've uninstalled git-daemon-run from the server for testing simplicity.

The server is running this:
sudo /usr/lib/git-core/git-daemon --verbose --strict-paths --user=git --group=gitosis /srv/gitosis/repositories  &>git-daemon-err.log

when I try  cloning from my local machine I get these results:

john@toolbench:~/EEProjects/test$ git clone git://mail.cibolo.us/gitosis-admin.git
Cloning into gitosis-admin...
fatal: protocol error: bad line length character: fata



john@toolbench:~/EEProjects/test$ telnet mail.cibolo.us 9418
Trying 76.191.252.85...
Connected to mail.cibolo.us.
Escape character is '^]'.
fatal: cannot handle daemon internally
Connection closed by foreign host.


What does "cannot handle daemon internally" signify to you all?
The part where telnet connects is saying the firewall is open at 9418, so that's good.

What do you think about debian's package of gitosis?  It is working to push,
and clone with this command:
git clone gitosis@mail.cibolo.us:gitosis-admin.git
but not these:

john@toolbench:~/EEProjects/test$ git clone git://mail.cibolo.us/gitosis-admin.git
Cloning into gitosis-admin...
fatal: protocol error: bad line length character: fata
john@toolbench:~/EEProjects/test$ git clone git://mail.cibolo.us/srv/gitosis/repositories/gitosis-admin.git
Cloning into gitosis-admin...
fatal: protocol error: bad line length character: fata

it creates a gitosis user.
Should I install gitosis from source and have a git user only?

What can I simplify to debug this?

gitweb skips this by not using port 9418, so I will be setting that up in the meantime.

thanks,

John

-- 
Ecosensory   Austin TX

             reply	other threads:[~2011-01-04 16:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-04 16:50 John Griessen [this message]
2011-01-07 23:42 ` debugging git clone via git-daemon "cannot handle daemon internally" Jonathan Nieder
2011-01-08  2:37   ` John Griessen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D234FEF.2030501@ecosensory.com \
    --to=john@ecosensory.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).