ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] Настройка rsync сервера через xinetd
@ 2010-02-09 19:13 Maksim Vasyuk
  2010-02-09 23:06 ` Alexey I. Froloff
  0 siblings, 1 reply; 3+ messages in thread
From: Maksim Vasyuk @ 2010-02-09 19:13 UTC (permalink / raw)
  To: sysadmins

Привет всем!
Установил rsync-server, подправил /etc/xinetd.d/rsync, подправил 
/etc/rsyncd.conf, перезапустил xinetd.

Пытаюсь глянуть чего у нас скажет клиент:
rsync 192.168.100.101::
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(759)
[receiver=3.0.6]

Если так:
rsync 192.168.100.101:
то спрашивает пароль, и по паролю пускает, показывает домашний каталог 
пользователя.

Останавливаю xinetd, запускаю руками демон rsyncd --daemon, и все сразу норм 
работает:
$ rsync 192.168.100.101::
Hi!!! Test!!!
test              Com test

Подскажите где чего нужно подкрутить чтобы последний вариант заработал через 
xinetd.

Заранне спасибо.

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

* Re: [Sysadmins] Настройка rsync сервера через xinetd
  2010-02-09 19:13 [Sysadmins] Настройка rsync сервера через xinetd Maksim Vasyuk
@ 2010-02-09 23:06 ` Alexey I. Froloff
  2010-02-10 11:00   ` vaksim
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey I. Froloff @ 2010-02-09 23:06 UTC (permalink / raw)
  To: sysadmins

[-- Attachment #1: Type: text/plain, Size: 431 bytes --]

On Wed, Feb 10, 2010 at 01:13:44AM +0600, Maksim Vasyuk wrote:
> Установил rsync-server, подправил /etc/xinetd.d/rsync,
Каким образом?

> Если так:
> rsync 192.168.100.101:
Это rsync over ssh.

> Подскажите где чего нужно подкрутить чтобы последний вариант заработал через 
> xinetd.
only_from в /etc/xinetd.d/rsync.  И перезапустить xinetd.

-- 
Regards,    --
Sir Raorn.   --- http://thousandsofhate.blogspot.com/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [Sysadmins] Настройка rsync сервера через xinetd
  2010-02-09 23:06 ` Alexey I. Froloff
@ 2010-02-10 11:00   ` vaksim
  0 siblings, 0 replies; 3+ messages in thread
From: vaksim @ 2010-02-10 11:00 UTC (permalink / raw)
  To: ALT Linux sysadmins' discussion

В сообщении от Среда 10 февраля 2010 05:06:20 автор Alexey I. Froloff написал:
> On Wed, Feb 10, 2010 at 01:13:44AM +0600, Maksim Vasyuk wrote:
> > Установил rsync-server, подправил /etc/xinetd.d/rsync,
> 
> Каким образом?
> 
> > Если так:
> > rsync 192.168.100.101:
> 
> Это rsync over ssh.
> 
> > Подскажите где чего нужно подкрутить чтобы последний вариант заработал
> > через xinetd.
> 
> only_from в /etc/xinetd.d/rsync.  И перезапустить xinetd.
Спасибо огроменное!!! 

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

end of thread, other threads:[~2010-02-10 11:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-09 19:13 [Sysadmins] Настройка rsync сервера через xinetd Maksim Vasyuk
2010-02-09 23:06 ` Alexey I. Froloff
2010-02-10 11:00   ` vaksim

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git