Re: inted problems when upgrading to 1.6.0.4
- From
- Brian Foster <brian.foster@innova-card.com>
- Date
- Nov 25, 2008, 10:36 UTC
- Message-ID
- <200811251136.03546.brian.foster@innova-card.com>
- In-Reply-To
- <492BC56A.6040506@xmos.com>
On Tuesday 25 November 2008 10:29:14 Luis Gutierrez wrote:
Show 15 quoted lines
>[ ... ]
> This is my current xinetd config:
> service git
> {
> disable = yes
> socket_type = stream
> wait = no
> user = git
> type = UNLISTED
> protocol = tcp
> log_on_failure += USERID
> port = 9418
> server = /usr/local/bin/git
> server_args = daemon --inetd --syslog --verbose --export-all --base-path=/vol0/git/projects --allow-override=uploadpack
> }In the past I also had a problem when git was installed in /usr/local/bin and git-daemon was launched from xinetd. I don't recall the details now, but believe all the obvious suspects (conflicting git installation, /usr/local/bin not in PATH, mis-installed/mis-configured git, et al.) seemed Ok. In any case, I debugged the problem by adding:
env += GIT_TRACE=/tmp/LOG-git-daemon
to the xinetd config. I suggest trying that and seeing what the logfile contains.
cheers! -blf-
p.s. In my case, *using the information in the logfile*,
I eventually worked-around it by adding
‘--exec-path=/usr/local/bin’ to the ‘server_args’.
I never did work out exactly what was going wrong (this
was with a self-built git v1.5.5 on CentOS release 5).-- “How many surrealists does it take to | Brian Foster change a lightbulb? Three. One calms | somewhere in south of France the warthog, and two fill the bathtub | Stop E$$o (ExxonMobil)! with brightly-coloured machine tools.” | http://www.stopesso.com