SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
changing "strange" SAMBA message to error
Author Message
Post changing "strange" SAMBA message to error 
Hi,

I'm running Amanda on a heterogeneous network. Server is a Linux box.
Some of the clients are Windows machines, and we're running Samba.
Mostly works OK, except that sometimes the Windows machines have errors
that look like the following:

? Call timed out: server did not respond after 20000 milliseconds listing \Program Files\Microsoft Office\*


Currently, this "call timed out" message is being labeled as "strange",
but I really need to change that to an error, since data is being lost
when this happens. How do I reconfigure (or recompile?) Amanda so that
this sort of error is categorized as an error, rather than strange? Thanks,

-Harlan

Post changing "strange" SAMBA message to error 
Harlan Harris wrote:

I'm running Amanda on a heterogeneous network. Server is a Linux box.
Some of the clients are Windows machines, and we're running Samba.
Mostly works OK, except that sometimes the Windows machines have errors
that look like the following:

? Call timed out: server did not respond after 20000 milliseconds
listing \Program Files\Microsoft Office\*


Currently, this "call timed out" message is being labeled as "strange",
but I really need to change that to an error, since data is being lost
when this happens. How do I reconfigure (or recompile?) Amanda so that
this sort of error is categorized as an error, rather than strange? Thanks,

You should add some regular expressions in
client-src/sendbackup-gnutar.c, around line 120:

118 #if SAMBA_VERSION >= 2
119 /* Backup attempt of nonexisting directory */
120 AM_ERROR_RE("ERRDOS - ERRbadpath (Directory invalid.)"),
121 #endif

Then recompile.

--
Paul Bijnens, Xplanation Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: Paul.Bijnens < at > xplanation.com
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, Very Happy:Very Happy, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB