BackupPC-users

Re: [BackupPC-users] any Ideas on how to fix "Call timed out: server did not respond after 20000 milliseconds listing "

2009-10-27 15:52:55
Subject: Re: [BackupPC-users] any Ideas on how to fix "Call timed out: server did not respond after 20000 milliseconds listing "
From: "Michael Stowe" <mstowe AT chicago.us.mensa DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 27 Oct 2009 14:49:40 -0500
> Hi all
> was backing up a windows machine with smb mounts and got the following
> error:
>
> tarExtract: Done: 0 errors, 18847 filesExist, 2890720903 sizeExist,
> 2361747219 sizeExistComp, 18956 filesTotal, 3065486599 sizeTotal
> Got fatal error during xfer (Call timed out: server did not respond
> after 20000 milliseconds listing \Documents and Settings\price\Local
> Settings\Temp\*)
> Backup aborted (Call timed out: server did not respond after 20000
> milliseconds listing \Documents and Settings\price\Local
> Settings\Temp\*)
> Not saving this as a partial backup since it has fewer files than the
> prior one (got 18956 and 18956 files versus 19087)

So, this times out in 20 seconds, which is too short for a large file,
which is the crux of the problem.

> After a bit of research i am seeing the follwoing
> http://lists.samba.org/archive/samba-technical/2009-January/062964.html
>
> Which is a patch for fixing the time out in window, so tried to apply
> the patch and failed with <snip 1> So it looks like i can't get around
> this problem, any ideas on how to do it,as I want to use samba, as I
> can really role out rsync across 40 plus machines in the real world.

Well, yes.  What the patch does is update the hardcoded timeout, which is
literally set in the code (in two places as I recall.) So if you have a
smb build that works, search for "20000" and update the number to
something more palatable.

I'll also challenge you a little on your statement on rsync -- deploying
it here is scarcely more complicated than dropping a directory on each
machine.

> Thanks
> Pat
>
> <snip 1>
> Compiling client/client.c
> client/client.c: In function âdo_mgetâ:
> client/client.c:1229: warning: ignoring return value of âchdirâ,
> declared with attribute warn_unused_result
> client/client.c: In function âcmd_moreâ:
> client/client.c:1292: warning: ignoring return value of âsystemâ,
> declared with attribute warn_unused_result
> client/client.c: In function âcmd_lcdâ:
> client/client.c:3504: warning: ignoring return value of âchdirâ,
> declared with attribute warn_unused_result
> client/client.c: In function âprocess_command_stringâ:
> client/client.c:4065: error: âlineâ undeclared (first use in this
> function)
> client/client.c:4065: error: (Each undeclared identifier is reported only
> once
> client/client.c:4065: error: for each function it appears in.)
> client/client.c:4066: error: âpâ undeclared (first use in this function)
> client/client.c:4071: error: âtokâ undeclared (first use in this function)
> client/client.c:4072: error: continue statement not within a loop
> client/client.c:4075: error: âiâ undeclared (first use in this function)
> client/client.c: At top level:
> client/client.c:4084: error: expected identifier or â(â before âreturnâ
> client/client.c:4085: error: expected identifier or â(â before â}â token
> client/client.c: In function âprocess_stdinâ:
> client/client.c:4470: warning: ignoring return value of âsystemâ,
> declared with attribute warn_unused_result
> client/client.c: In function âprocessâ:
> client/client.c:4535: error: invalid storage class for function
> âdo_host_queryâ
> client/client.c: In function âdo_host_queryâ:
> client/client.c:4552: error: expected â;â before â)â token
> client/client.c:4552: error: expected statement before â)â token
> client/client.c: In function âprocessâ:
> client/client.c:4595: error: âretâ undeclared (first use in this function)
> client/client.c:4600: error: expected â;â before â)â token
> client/client.c:4600: error: expected statement before â)â token
> client/client.c:4615: error: invalid storage class for function
> âdo_message_opâ
> client/client.c: In function âmainâ:
> client/client.c:4706: error: expected â;â before â}â token
> client/client.c:4706: error: expected expression before â,â token
> client/client.c: In function âprocessâ:
> client/client.c:4997: error: expected declaration or statement at end of
> input
> The following command failed:
> gcc -I. -I/home/pat/samba-3.2.15/source  -O -O -D_SAMBA_BUILD_=3
> -I/home/pat/samba-3.2.15/source/popt
> -I/home/pat/samba-3.2.15/source/iniparser/src -Iinclude -I./include
> -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include
> -I./libaddns -I./librpc -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I.
> -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns
> -I./librpc -I./popt   -I/include -I/home/pat/samba-3.2.15/source/lib
> -D_SAMBA_BUILD_=3 -fPIC -c client/client.c -o client/client.o


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>