Displaying 20 results from an estimated 175 matches for "clientserver".
2004 Jun 25
4
A question about connection refused
...run it as a daemon successfully, but when I
run rsync command on another end to connect it. There is a error.
The output is :
opening tcp connection to 192.168.0.43 port 873
rsync: failed to connect to 192.168.0.43: Connection refused
_exit_cleanup(code=10, file=clientserver.c, line=93): entered
rsync error: error in socket IO (code 10) at clientserver.c(93)
_exit_cleanup(code=10, file=clientserver.c, line=93): about to
call exit(10)
I use "netstat -an|grep 873" and "ps -aux|grep rsync" and I am sure that
the rsyncd has run...
2008 Feb 20
1
[PATCH] build fix without iconv support
diff --git a/clientserver.c b/clientserver.c
index 2d7c28f..694a72d 100644
--- a/clientserver.c
+++ b/clientserver.c
@@ -806,6 +806,7 @@ static int rsync_module(int f_in, int f_out, int i, char *addr, char *host)
exit_cleanup(RERR_UNSUPPORTED);
}
+#ifdef ICONV_OPTION
if (!iconv_opt) {
if (ic_send != (iconv_t)...
2002 Apr 03
4
Patch to avoid 'Connection reset by peer' error for rsync on cygwin
...e solution is to shutdown and close the fd.
This is a 5-minute hack I've done to fix the obvious occurrences of the problem.
It might be better to extend rsyncs cleanup functions for this, but here it is
anyway to alert people to the problem and its fix.
Max.
BEGIN PATCH
diff -mru rsync-2.5.5/clientserver.c rsync-2.5.5-tweaked/clientserver.c
--- rsync-2.5.5/clientserver.c Wed Mar 27 01:03:13 2002
+++ rsync-2.5.5-tweaked/clientserver.c Wed Apr 3 11:01:57 2002
@@ -486,39 +486,44 @@
}
if (!read_line(fd, line, sizeof(line)-1)) {
- return -1;
+ goto exitwithnomodule;
}
if (sscanf(line,"...
2008 Oct 13
2
rsync error: Error in socket IO(code 10) at clientserver.c(122)
...sourceforge.net (216.34.181.109)'
can't be established.
RSA key fingerprint is dc:a3:df:84:00:c6:65:b4:93:a6:2e:22:b1:d1:91:b8.
Are you sure you want to continue connecting (yes/no)? rsync: failed to
connect
to localhost: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(122)
[sender=3.0.4]
Terminating secure channel ...
------------------------------------------------
Thanks,
Naveen S
-------------- next part --------------
HTML attachment scrubbed and removed
2004 Dec 06
1
port and double-colon
double-colon mode doesn't work in CVS version.
-vv says port number is 0.
% rsync -vv host.domain::any
opening tcp connection to host.domain port 0
rsync: failed to connect to host.domain: Can't assign requested address (49)
rsync error: error in socket IO (code 10) at clientserver.c(94)
And --port=873 cannot be used in client mode now.
I made a small sample patch.
(Sorry, I didn't make a patch to the manual.)
--
Yes, I'm in panic.
Shinichi Maruyama (marya@st.jip.co.jp)
-------------- next part --------------
Index: clientserver.c
===========================...
2008 Jun 05
1
rsync to mirror
...g rsync but when i
run
rsync -avvvvvvzC --timeout=600 --delete --delete-after
rsync.voip-info.org::voipmirror voip-info/
I get this error
opening tcp connection to rsync.voip-info.org port 873
rsync: failed to connect to rsync.voip-info.org: Connection timed out (110)
_exit_cleanup(code=10, file=clientserver.c, line=94): entered
rsync error: error in socket IO (code 10) at clientserver.c(94)
_exit_cleanup(code=10, file=clientserver.c, line=94): about to call exit(10)
I increased v's to get more details ...
my system has no firewall enable remote site is also working and running i
am having this t...
2004 Jan 26
1
patch for linux capabilities
...ities
cannot be passed across an exec. And it doesn't look like that's
going to change anytime soon either:
http://www.ussg.iu.edu/hypermail/linux/kernel/0310.2/index.html#1119
--
Michael Glasgow <glasgow@beer.net>
-------------- next part --------------
diff -urN rsync-2.6.0.orig/clientserver.c rsync-2.6.0/clientserver.c
--- rsync-2.6.0.orig/clientserver.c 2003-09-10 23:00:19.000000000 -0500
+++ rsync-2.6.0/clientserver.c 2004-01-26 11:27:53.000000000 -0600
@@ -25,6 +25,18 @@
* rsyncd.
**/
+#ifdef HAVE_LINUX_CAPS
+#ifdef _POSIX_SOURCE
+#undef _POSIX_SOURCE
+#include <sys/p...
2017 Oct 31
2
[Bug 13112] New: receive_xattr heap overread with non null terminated name and xattr filter
...e_entry /home/raj/rsync/rsync/flist.c:1108
#6 0x415bee in recv_file_list /home/raj/rsync/rsync/flist.c:2476
#7 0x454eaa in do_server_recv /home/raj/rsync/rsync/main.c:1036
#8 0x4556f4 in start_server /home/raj/rsync/rsync/main.c:1115
#9 0x4b20f2 in rsync_module /home/raj/rsync/rsync/clientserver.c:1007
#10 0x4b2b11 in start_daemon /home/raj/rsync/rsync/clientserver.c:1135
#11 0x48f636 in start_accept_loop /home/raj/rsync/rsync/socket.c:618
#12 0x4b32d2 in daemon_main /home/raj/rsync/rsync/clientserver.c:1237
#13 0x458318 in main /home/raj/rsync/rsync/main.c:1630
#14 0x7...
2002 Nov 13
4
getaddrinfo: Host not found problem
...sync client on an AIX 4.3.3 pwr3 platform, I get the
following error message. We are in a real bind to get this
protocol going; any help/insight/suggestions would be
"greatly" appreciated.
rsync: getaddrinfo: grp4c 873: Host not found
rsync error: error in socket IO (code 10) at
../clientserver.c(97)
_exit_cleanup(code=10, file=../clientserver.c, line=97):
about to call exit(10)
I can rsh/ping/telnet to grp4c (the server machine - linux)
from the AIX client machine with no problems. It looks like
the rsync client never actually contacts the server at all
(when I stop the server on grp...
2009 Apr 22
2
[Code study] lp_motd_file defination? Help
Dear List,
Currently, I read this in clientserver.c, line 148.
motd = lp_motd_file();
I have googled, but didn't the definition of char *lp_motd_file(void).
Can anyone help to explain the following code segment. Many thanks.
#line 147 ~ 160, in clientserver.c, version 3.0.5
> if (!am_client) {
> motd = lp_motd_file();
> if (motd &...
2004 Jan 28
1
rsync error using ssh : @ERROR: access denied to server.domain.com from unknown (0.0.0.0) {Scanned By MailScanner}
I use rsync to mirror several servers.
I run RH7.3
My rsyncd.conf file is:
motd file = /etc/rsync.d/rsync.motd
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
hosts allow = 10.1.2.200 10.1.2.201
hosts deny = 0.0.0.0/0.0.0.0
use chroot = yes
max connections = 3
#syslog facility =
[website]
path = /var/www/website
comment = Connex Live WWW
2017 Oct 27
1
[Bug 13105] New: 1byte heap overflow in sanitize_path
...n sanitize_path /home/raj/rsync/rsync/util.c:1077
#1 0x449484 in glob_expand /home/raj/rsync/rsync/util.c:717
#2 0x449af8 in glob_expand_module /home/raj/rsync/rsync/util.c:783
#3 0x478b61 in read_args /home/raj/rsync/rsync/io.c:1266
#4 0x4b12b6 in rsync_module /home/raj/rsync/rsync/clientserver.c:869
#5 0x4b2a49 in start_daemon /home/raj/rsync/rsync/clientserver.c:1135
#6 0x48f56e in start_accept_loop /home/raj/rsync/rsync/socket.c:618
#7 0x4b320a in daemon_main /home/raj/rsync/rsync/clientserver.c:1237
#8 0x4582da in main /home/raj/rsync/rsync/main.c:1627
#9 0x7ffff64...
2015 Oct 14
4
Incoming rsync connection attempts
...xinetd[2232]: START: rsync pid=16548
from=114.119.37.86
/var/log/messages
Oct 13 00:14:08 Bison rsyncd[15306]: rsync: unable to open configuration
file "/etc/rsyncd.conf": No such file or directory (2)
Oct 13 00:14:08 Bison rsyncd[15306]: rsync error: syntax or usage error
(code 1) at clientserver.c(923) [receiver=3.0.5]
Oct 13 01:55:51 Bison rsyncd[15343]: rsync: unable to open configuration
file "/etc/rsyncd.conf": No such file or directory (2)
Oct 13 01:55:51 Bison rsyncd[15343]: rsync error: syntax or usage error
(code 1) at clientserver.c(923) [receiver=3.0.5]
Oct 13 23:25:3...
2017 Oct 31
0
[Bug 13113] New: receive_xattr heap overflow when prepending RSYNC_PREFIX
...e_entry /home/raj/rsync/rsync/flist.c:1108
#3 0x415bee in recv_file_list /home/raj/rsync/rsync/flist.c:2476
#4 0x454eaa in do_server_recv /home/raj/rsync/rsync/main.c:1036
#5 0x4556f4 in start_server /home/raj/rsync/rsync/main.c:1115
#6 0x4b20f9 in rsync_module /home/raj/rsync/rsync/clientserver.c:1007
#7 0x4b2b18 in start_daemon /home/raj/rsync/rsync/clientserver.c:1135
#8 0x48f636 in start_accept_loop /home/raj/rsync/rsync/socket.c:618
#9 0x4b32d9 in daemon_main /home/raj/rsync/rsync/clientserver.c:1237
#10 0x458318 in main /home/raj/rsync/rsync/main.c:1630
#11 0x7fff...
2002 May 09
0
[PATCH] (Resubmission) 'Connection reset by peer' with rsync server on cygwin
...own() on Unices - I replied
with evidence suggesting that this would not be a problem. I have not heard
anything since. If this has to be held over to 2.6.0, fair enough - but please
tell me whether itjust needs time, or me to go and fix something???
Thanks
Max.
BEGIN PATCH
diff -mru rsync-2.5.5/clientserver.c rsync-2.5.5-tweaked/clientserver.c
--- rsync-2.5.5/clientserver.c Wed Mar 27 01:03:13 2002
+++ rsync-2.5.5-tweaked/clientserver.c Wed Apr 3 11:01:57 2002
@@ -486,39 +486,44 @@
}
if (!read_line(fd, line, sizeof(line)-1)) {
- return -1;
+ goto exitwithnomodule;
}
if (sscanf(line,"...
2005 Aug 25
1
unable to open configuration file rsyncd.conf
...(12)
this is what is produced on the server /var/adm/messages:
rsyncd[19422]: [ID 702911 daemon.warning] rsync: rsync: unable to open
configuration file "rsyncd.conf": No such file or directory (2)
rsyncd[19422]: [ID 702911 daemon.warning] rsync error: syntax or usage
error (code 1) at clientserver.c(512)
rsyncd[19436]: [ID 702911 daemon.warning] rsync: rsync: unable to open
configuration file "rsyncd.conf": No such file or directory (2)
rsyncd[19436]: [ID 702911 daemon.warning] rsync error: syntax or usage
error (code 1) at clientserver.c(512)
On the server I am running rsync in...
2016 Jan 21
1
[Bug 11683] New: hang on select when send many files
...optimized out>) at main.c:1070
#9 start_server (f_in=3, f_out=3, argc=<value optimized out>, argv=<value
optimized out>) at main.c:1104
#10 0x000000000043c5b8 in rsync_module (f_in=3, f_out=3, i=3, addr=<value
optimized out>, host=0x67d2a0 "tjtx-100-201.58os.org") at clientserver.c:1003
#11 0x000000000043d58d in start_daemon (f_in=3, f_out=3) at clientserver.c:1094
#12 0x0000000000433b20 in start_accept_loop (port=873, fn=0x43d3b0
<start_daemon>) at socket.c:618
#13 0x000000000043d77b in daemon_main () at clientserver.c:1196
#14 0x000000000041ee25 in main (argc=0, arg...
2017 Oct 27
1
[Bug 13104] New: NULL deref do_server_sender when argc=0
...ddressSanitizer: SEGV on unknown address 0x000000000000 (pc
0x000000453662 bp 0x7fffffffae90 sp 0x7fffffffae50 T0)
#0 0x453661 in do_server_sender /home/raj/rsync/rsync/main.c:786
#1 0x4556a0 in start_server /home/j/rsync/rsync/main.c:1110
#2 0x4b202a in rsync_module /home/j/rsync/rsync/clientserver.c:1007
#3 0x4b2a49 in start_daemon /home/j/rsync/rsync/clientserver.c:1135
#4 0x48f56e in start_accept_loop /home/j/rsync/rsync/socket.c:618
#5 0x4b320a in daemon_main /home/j/rsync/rsync/clientserver.c:1237
#6 0x4582da in main /home/j/rsync/rsync/main.c:1627
#7 0x7ffff64d866f i...
2003 Jan 28
2
rsync 2.5.6 fails on Tru64 v5.0 with rsync://<hostname>/
...gure detects
alphaev67-dec-osf5.0, gcc release is a 3.1.1).
rsync fails using rsync://<hostname>/ syntax.
> lct@goliath(32) [rsync-2.5.6]$ ./rsync rsync://stitch/
> rsync: getaddrinfo: stitch 873: servname not supported for ai_socktype
> rsync error: error in socket IO (code 10) at clientserver.c(83)
Is there anyone else that has the same problem ?
Laurent.
--
Laurent CREPET -- laurent.crepet@free.fr
http://megrapet.free.fr/
2007 Oct 23
3
Script work fine on sheel, but no on a cron job
...hich make some call of rsync to connect to a rsync
daemon.
When I run on a shell, the script work fine.
When I run this scripts from a cron-job, the script fail with theses
messages :
rsync: failed to connect to remote-node: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(94)
What's happen ?
thanks
St?phane
-----------------------------------
St?phane PURNELLE stephane.purnelle@corman.be
Service Informatique Corman S.A. Tel : 00 32 087/342467
-------------- next part --------------
HTML attachment scrubbed and...