Add the same pattern near line 757: return if $line =~ /^Unable to initialize messaging context/; ________________________________________ From: owner-amanda-us...@amanda.org <owner-amanda-us...@amanda.org> on behalf of Stefan G. Weichinger <s...@amanda.org> Sent: July 17, 2019 12:52 PM To: Diego Zuccato; AMANDA users Subject: Re: amanda-client: HOST localhost ERROR: //192.168.0.250/ftp: Application 'amsamba': exited with status 1
Am 16.07.19 um 10:07 schrieb Stefan G. Weichinger: > Am 16.07.19 um 09:14 schrieb Diego Zuccato: >> Il 16/07/19 08:46, Stefan G. Weichinger ha scritto: >> >>> I never figured out the correct patch ;-) >>> Pls show your change, I want to give it another try. >> Here it is. >> -8<-- >> # diff -u amsamba.ori amsamba >> --- amsamba.ori 2019-07-16 09:09:28.430585521 +0200 >> +++ amsamba 2019-07-10 11:02:13.352987193 +0200 >> @@ -462,6 +462,7 @@ >> debug("stderr: " . $_); >> next if /^Domain=/; >> next if /^WARNING/g; >> + next if /^Unable to initialize messaging context/g; >> # message if samba server is configured with 'security = share' >> next if /Server not using user level security and no password >> supplied./; >> $self->print_to_server("smbclient: $_", >> @@ -554,6 +555,7 @@ >> next if /^Domain=/; >> next if /dumped \d+ files and directories/; >> next if /^WARNING/g; >> + next if /^Unable to initialize messaging context/g; >> # message if samba server is configured with 'security = share' >> next if /Server not using user level security and no password >> supplied./; >> debug("stderr: $_"); >> -8<-- > > thanks, applied, check tmrw (after amdump over night) I still get these messages (double-checked: yes, it's the server with the patch applied) /-- pre01svdeb02 ntcs-pgmdata lev 1 STRANGE sendbackup: info BACKUP=APPLICATION sendbackup: info APPLICATION=amsamba sendbackup: info RECOVER_CMD=/bin/gzip -dc |/usr/lib/amanda/application/amsamba restore [./file-to-restore]+ sendbackup: info COMPRESS_SUFFIX=.gz sendbackup: info end ? smbclient: Unable to initialize messaging context sendbackup: size 52576.4208984375 sendbackup: native-CRC eb374f92:55162880 sendbackup: client-CRC bb9be9c1:8157700 sendbackup: end \-------- This message is the property of CARBONITE, INC. and may contain confidential or privileged information. If this message has been delivered to you by mistake, then do not copy or deliver this message to anyone. Instead, destroy it and notify me by reply e-mail