public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-server] Local portage mirror - rsyncd via xinetd?
@ 2007-09-13 21:01 A. Khattri
  2007-09-13 21:14 ` [gentoo-server] Local portage mirror - rsyncd via xinetd? [SOLVED] A. Khattri
  0 siblings, 1 reply; 2+ messages in thread
From: A. Khattri @ 2007-09-13 21:01 UTC (permalink / raw
  To: gentoo-server


If I run rsyncd standalone I can sync just fine.

If I try and run it via xinetd it doesn't work, so this must be an 
xinetd problem. But all the logs say is:

Sep 13 16:49:57 eskimo xinetd[20188]: FAIL: rsync address from=XX.XX.XX.XX
Sep 13 16:49:57 eskimo xinetd[18703]: START: rsync pid=20188 from=XX.XX.XX.XX
Sep 13 16:49:57 eskimo xinetd[18703]: EXIT: rsync status=0 pid=20188 duration=0(sec)

(Ive X'ed out the IP addresses)

My /etc/xinet.d/rsyncd file looks like this:

service rsync
{
         socket_type = stream
         protocol    = tcp
         wait        = no
         user        = root
         server      = /usr/bin/rsync
         server_args = --verbose --daemon
         disable     = no
}


Any ideas how I can troubleshoot xinetd?


-- 
A
-- 
gentoo-server@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-server] Local portage mirror - rsyncd via xinetd? [SOLVED]
  2007-09-13 21:01 [gentoo-server] Local portage mirror - rsyncd via xinetd? A. Khattri
@ 2007-09-13 21:14 ` A. Khattri
  0 siblings, 0 replies; 2+ messages in thread
From: A. Khattri @ 2007-09-13 21:14 UTC (permalink / raw
  To: gentoo-server

On Thu, 13 Sep 2007, A. Khattri wrote:

> If I try and run it via xinetd it doesn't work, so this must be an xinetd 
> problem.

Problem solved - I looked at /etc/xinetd.conf and saw this:

        only_from       = localhost

Commenting that out fixed it of course :-)


-- 
A
-- 
gentoo-server@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-13 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-13 21:01 [gentoo-server] Local portage mirror - rsyncd via xinetd? A. Khattri
2007-09-13 21:14 ` [gentoo-server] Local portage mirror - rsyncd via xinetd? [SOLVED] A. Khattri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox