LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 12: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, 01: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, 01: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 01:49 PM.
 
  


Reply



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 10:39 AM
FATAL error: "Thermal" and "Fan" ibex Linux - Hardware 1 06-22-2006 06:31 AM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
Postgresql error FATAL: user "root" does not exist" cgetty Ubuntu 4 06-21-2005 02:11 PM
Error: "pppd daemon died unexpectedly" taz.devil Linux - General 3 11-24-2001 11:07 PM

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

All times are GMT -5. The time now is 11:55 PM.

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
Open Source Consulting | Domain Registration