LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-11-2008, 01:48 PM   #1
braclayrab
LQ Newbie
 
Registered: May 2008
Posts: 14

Rep: Reputation: 0
Cannot push with git. Error Message: "fatal: The remote end hung up unexpectedly"


A similar thread was already posted in the servers forum but I'm hoping it might get some attention here instead.
http://www.linuxquestions.org/questi...ssages-654630/

I'm able to clone using git but I cannot push my changes up. My client is on my macbook. Here's a sample session:

Quote:
macbook2:/ Al$ git clone git://mydomain.com/cs.git test
Initialized empty Git repository in /test/.git/
remote: Counting objects: 3, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (3/3), done.
macbook2:/ Al$ cd test/
macbook2:testss Al$ git push origin master
fatal: The remote end hung up unexpectedly
I don't know how to debug this. I suspect it may be a permissions issue on the server. git-daemon's log doesn't show anything.

Thanks in advance!
 
Old 07-11-2008, 02:02 PM   #2
braclayrab
LQ Newbie
 
Registered: May 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Additional info:
I'm running git-daemon thru xinet.

Code:
service git
{
	disable		= no
	port		= 9418
        socket_type     = stream
        wait            = no
        user            = clay 
        server          = /usr/bin/git-daemon
        server_args     = --base-path=/www --export-all --syslog --verbose --inetd
        log_on_failure  += USERID
# xinetd doesn't do this by default. bug #195265
}
The repository has read/write/execute granted to everybody.
 
Old 07-11-2008, 02:41 PM   #3
braclayrab
LQ Newbie
 
Registered: May 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Apparently I needed to enable the services...
Code:
service git
{
		disable			= no
		port			= 9418
        socket_type     = stream
        wait            = no
        user            = clay 
        server          = /usr/bin/git-daemon
        server_args     = --base-path=/www --export-all --syslog --verbose --inetd --enable=upload-pack --enable=upload-archive --enable=receive-pack
        log_on_failure  += USERID
# xinetd doesn't do this by default. bug #195265
}
Hope this helps someone!

Last edited by braclayrab; 07-11-2008 at 02:49 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDesktop Error - "procewss for file protocol died unexpectedly..." Optiker Linux - Desktop 3 12-26-2006 11:39 AM
FATAL error: "Thermal" and "Fan" ibex Linux - Hardware 1 06-22-2006 07:31 AM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 01:49 PM
Postgresql error FATAL: user "root" does not exist" cgetty Ubuntu 4 06-21-2005 03:11 PM
Error: "pppd daemon died unexpectedly" taz.devil Linux - General 3 11-25-2001 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration