Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user-id] setting mirror server

1 view
Skip to first unread message

Indra Wahyudi

unread,
Jan 6, 2004, 8:10:09 AM1/6/04
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi..,

Barusan gw coba setting rsync box gw. Servicenya OK, anehnya semua file yg gw
ambil dari server ga masuk ke kompi gw. Celakanya lagi, klo gw remote box gw
dari server trus rsync dari server.. file ketransfer.

Masalahnya.. koq dia ga mo lasung dari box gw??? klo box gw di remote dari
server trus di rsync koq bisa yah????

Any suggest???

Regards,
- --
Indra Wahyudi
R & D Team

Group Information System & Administration
PT. Bakrie & Brothers Tbk
Web: http://www.bakrie-brothers.com/

Linuxer World ID: 339516
Key Fingerprint: 3000 A337 4F06 857B 5DA4 DBB7 142E D963 5A01 2246
ODP: http://kaliurang.dhs.org/~pingu/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/+rsJFC7ZY1oBIkYRAjVOAJ9O/IXzze+LhjD33CiiCBcv9FKtQACdGULN
XnNem+C7OAIi951aP5J1pMI=
=Yxp8
-----END PGP SIGNATURE-----


--
gentoo-...@gentoo.org mailing list

Erwin

unread,
Jan 6, 2004, 7:50:19 PM1/6/04
to
On Tue, 2004-01-06 at 21:41, Indra Wahyudi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi..,
>
> Barusan gw coba setting rsync box gw. Servicenya OK, anehnya semua file yg gw
> ambil dari server ga masuk ke kompi gw. Celakanya lagi, klo gw remote box gw
> dari server trus rsync dari server.. file ketransfer.
>
> Masalahnya.. koq dia ga mo lasung dari box gw??? klo box gw di remote dari
> server trus di rsync koq bisa yah????
>
> Any suggest???
>
Hrm.. skenarionya begini bukan:
1. box --sync--> server rsync (gagal)
2. server --ssh--> box --sync--> server rsync (sukses)
?

Kalau betul, secara logika kalau kasus (2) sukses, harusnya kasus (1)
juga berhasil. Boleh tau perintah sync yang dipake gak?

salam,
--
Erwin
Gentoo Documentation Project
GPG: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xFC62B879
FP: BD5D EE9C 23DC 1AD5 9DA3 DCE1 FD83 212F FC62 B879

signature.asc

Indra Wahyudi

unread,
Jan 7, 2004, 2:00:08 AM1/7/04
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 07 January 2004 07:48, Erwin wrote:
> On Tue, 2004-01-06 at 21:41, Indra Wahyudi wrote:
> >
> > Hi..,
> >
> > Barusan gw coba setting rsync box gw. Servicenya OK, anehnya semua file
> > yg gw ambil dari server ga masuk ke kompi gw. Celakanya lagi, klo gw
> > remote box gw dari server trus rsync dari server.. file ketransfer.
> >
> > Masalahnya.. koq dia ga mo lasung dari box gw??? klo box gw di remote
> > dari server trus di rsync koq bisa yah????
> >
> > Any suggest???
>
> Hrm.. skenarionya begini bukan:
> 1. box --sync--> server rsync (gagal)
> 2. server --ssh--> box --sync--> server rsync (sukses)
> ?

Cocok banget :D

>
> Kalau betul, secara logika kalau kasus (2) sukses, harusnya kasus (1)
> juga berhasil. Boleh tau perintah sync yang dipake gak?
>

dari box client:
# rsync -anvz rsync://neodayax@rangkong/cvs-project /home/pingu/backup-cvs

file berhasil di list, ketika di cek.. nihil :(
trus coba:
# rsync -anv -e --rsh="ssh -l pingu" rsync://neodayax@rangkong/cvs-project /
home/pingu/backup-cvs

hasil sama dg di atas.
Perintah pertama klo di coba remote dari server ke box client berhasil.

Salam,
- --
Indra Wahyudi

Linuxer World ID: 339516
ODP: http://kaliurang.dhs.org/~pingu/
PGPKey ID: 5A012246
Key Server: http://wwwkeys.pgp.net/
Key Finger Print: 3000 A337 4F06 857B 5DA4 DBB7 142E D963 5A01 2246

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/+7VfFC7ZY1oBIkYRAmg3AJ9M3Zr7GNgHzImJcvLQOVXVBsjVxACeNFPw
bN2wdqHRskysVAiciMm0a6k=
=sl8Q

Erwin

unread,
Jan 7, 2004, 2:30:11 AM1/7/04
to

Yup.. dari rsync --help:
"-n, --dry-run show what would have been transferred"
flag -n hanya menampilkan file-file apa saja yang akan di download, tapi
gak benar-benar diambil. Seperti perintah `emerge -fp` mungkin :-)

Coba rsync lagi tanpa flag -n

signature.asc

Indra Wahyudi

unread,
Jan 7, 2004, 3:20:13 AM1/7/04
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Siip.. bisa mas.. thanks, sekarang malah trouble ma user-auth.
File rsyncd.secrets dah saya create + directive `secrets file`. Pi koq masih
error???

message:
@ERROR: auth failed on module pingu
rsync: connection unexpectedly closed (90 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)

log file:
2004/01/07 15:42:09 [1443] rsync: forward name lookup for
host-202-169-229-29.jmn.net.id failed: Name or service not known
2004/01/07 15:42:25 [1443] secrets file must not be other-accessible (see
strict modes option)
2004/01/07 15:42:25 [1443] continuing without secrets file
2004/01/07 15:42:25 [1443] auth failed on module pingu from UNKNOWN
(202.169.229.29)

Much Appreciated,
- --
Indra Wahyudi

Linuxer World ID: 339516
ODP: http://kaliurang.dhs.org/~pingu/
PGPKey ID: 5A012246
Key Server: http://wwwkeys.pgp.net/
Key Finger Print: 3000 A337 4F06 857B 5DA4 DBB7 142E D963 5A01 2246

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/+8kgFC7ZY1oBIkYRAqN+AJ9G5bNqstEiS8MPFdRvsnzwUvFafwCeJRq5
ROmFxChLYIDjYq9PvrFTomU=
=9WLG

Erwin

unread,
Jan 7, 2004, 4:50:16 AM1/7/04
to
On Wed, 2004-01-07 at 16:53, Indra Wahyudi wrote:
[...]

>
> Siip.. bisa mas.. thanks, sekarang malah trouble ma user-auth.
> File rsyncd.secrets dah saya create + directive `secrets file`. Pi koq masih
> error???
>
> message:
> @ERROR: auth failed on module pingu
> rsync: connection unexpectedly closed (90 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at io.c(165)
>
> log file:
> 2004/01/07 15:42:09 [1443] rsync: forward name lookup for
> host-202-169-229-29.jmn.net.id failed: Name or service not known
> 2004/01/07 15:42:25 [1443] secrets file must not be other-accessible (see
> strict modes option)
> 2004/01/07 15:42:25 [1443] continuing without secrets file
> 2004/01/07 15:42:25 [1443] auth failed on module pingu from UNKNOWN
> (202.169.229.29)

coba diperiksa, file rsyncd.secrets harus di set -rwx------(700). Lalu,
chown file itu jadi diown sama user id rsync server nya. Terus, yang
terakhir, file rsyncd.secrets harus pakai format 'username:password'.

signature.asc

Indra Wahyudi

unread,
Jan 7, 2004, 7:30:15 AM1/7/04
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 07 January 2004 16:45, Erwin wrote:
> On Wed, 2004-01-07 at 16:53, Indra Wahyudi wrote:
> [...]
>
> > Siip.. bisa mas.. thanks, sekarang malah trouble ma user-auth.
> > File rsyncd.secrets dah saya create + directive `secrets file`. Pi koq
> > masih error???
> >
> > message:
> > @ERROR: auth failed on module pingu
> > rsync: connection unexpectedly closed (90 bytes read so far)
> > rsync error: error in rsync protocol data stream (code 12) at io.c(165)
> >
> > log file:
> > 2004/01/07 15:42:09 [1443] rsync: forward name lookup for
> > host-202-169-229-29.jmn.net.id failed: Name or service not known
> > 2004/01/07 15:42:25 [1443] secrets file must not be other-accessible (see
> > strict modes option)
> > 2004/01/07 15:42:25 [1443] continuing without secrets file
> > 2004/01/07 15:42:25 [1443] auth failed on module pingu from UNKNOWN
> > (202.169.229.29)
>
> coba diperiksa, file rsyncd.secrets harus di set -rwx------(700). Lalu,
> chown file itu jadi diown sama user id rsync server nya. Terus, yang
> terakhir, file rsyncd.secrets harus pakai format 'username:password'.
>

Done! ... thanks :-) much apprecited.

Salam,


- --
Indra Wahyudi
R & D Team

Group Information System & Administration
PT. Bakrie & Brothers Tbk
Web: http://www.bakrie-brothers.com/

Linuxer World ID: 339516


ODP: http://kaliurang.dhs.org/~pingu/
PGPKey ID: 5A012246
Key Server: http://wwwkeys.pgp.net/
Key Finger Print: 3000 A337 4F06 857B 5DA4 DBB7 142E D963 5A01 2246

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE//AKdFC7ZY1oBIkYRApPvAJ90mrV0sH0YQVWvD8LSW1itdOgigwCeL6+w
qHAUJWtN6oPSp7zcpvAVhcU=
=67FX

0 new messages