Re: tapelist format

2017-02-27 Thread Jean-Louis Martineau
Jon, Can you try the attached patch? On 25/02/17 01:58 PM, Jon LaBadie wrote: > I'm getting a lot of these messages in my nightly report > >planner: Last full dump of cyber.jgcomp.com:Home on tape DS1-084 > overwritten in 1 run. >planner: Last full dump of cyber.jgcomp.com:Vault on tape

Re: amanda-3.4.1: first tests with vtapes

2016-11-25 Thread Jean-Louis Martineau
What is the result of 'amtape vtape show'? Any error in the debug files? On 25/11/16 09:03 AM, Stefan G. Weichinger wrote: Am 2016-11-25 um 14:29 schrieb Jean-Louis Martineau: Stefan, Try the attached aggregate-slots.diff patch. applied, does not change behavior: ERROR: No acceptable

Re: amanda-3.4.1: first tests with vtapes

2016-11-26 Thread Jean-Louis Martineau
On 26/11/16 05:54 AM, Stefan G. Weichinger wrote: Am 2016-11-25 um 15:23 schrieb Jean-Louis Martineau: What is the result of 'amtape vtape show'? Any error in the debug files? $ amtape vtape show mount: UUID=5a5a9927-995f-4f0f-98ff-d222561f84ff kann nicht gefunden werden scanning all 20 slots

Release of Amanda-3.4.1

2016-11-24 Thread Jean-Louis Martineau
-Louis Martineau

Re: amanda-3.4.1: first tests with vtapes

2016-11-25 Thread Jean-Louis Martineau
Stefan, Try the attached aggregate-slots.diff patch. Jean-Louis On 25/11/16 03:29 AM, Stefan G. Weichinger wrote: Am 2016-11-24 um 17:52 schrieb Jean-Louis Martineau: But amcheck fails: $ amcheck vtape -t Amanda Tape Server Host Check - mount: can't find UUID

Re: amanda-3.4.1: first tests with vtapes

2016-11-28 Thread Jean-Louis Martineau
On 26/11/16 10:25 AM, Stefan G. Weichinger wrote: Am 2016-11-26 um 14:08 schrieb Jean-Louis Martineau: Are you sure amanda can reuse one of those tapes? The 'amtape vtape inventory' command should list the retention of each tape. $ amtape vtape inventory slot 1:1: label vtape-002-001 (vtape

Re: amanda-3.4.1: first tests with vtapes

2016-11-28 Thread Jean-Louis Martineau
On 28/11/16 08:46 AM, Stefan G. Weichinger wrote: Am 2016-11-28 um 14:28 schrieb Jean-Louis Martineau: On 26/11/16 10:25 AM, Stefan G. Weichinger wrote: $ amtape vtape inventory slot 1:1: label vtape-002-001 (vtape-004) [retention-no] It is strange that the meta label is vtape-004

Re: amanda-3.4.1: first tests with vtapes

2016-11-24 Thread Jean-Louis Martineau
On 24/11/16 05:19 AM, s...@amanda.org wrote: compiled 3.4.1 on three machines today, works fine on 2 of them, on the third I have an issue with my vtapes on the external disks. I run an aggregated changer combining 2 external disks with 20 vtapes each. define changer disk1 {

Release of Amanda-3.4

2016-11-21 Thread Jean-Louis Martineau
works even if the client is behind a NAT Jean-Louis Martineau

Release of Amanda-3.4.1

2016-11-26 Thread Jean-Louis Martineau
-Louis Martineau

Re: Client triggered backup

2016-12-08 Thread Jean-Louis Martineau
On 08/12/16 03:56 AM, Heiko Schlittermann wrote: Jon LaBadie (Do 08 Dez 2016 06:05:17 CET): I'm thinking of systems, like laptops, that are booted irregularly and are unlikely to be running during the normal backup time period. … You're looking for amdump_client, aren't you?

Re: amservice

2016-12-09 Thread Jean-Louis Martineau
On 08/12/16 01:36 PM, Jon LaBadie wrote: Is amservice a client-side program or server-side? In Fedora packages it does not come in with the client package. Playing with amanda_client I get this error: amdump_client: open3: exec of /usr/sbin/amservice -f /dev/null \ -s

Re: amdump_client

2016-12-16 Thread Jean-Louis Martineau
Can you run 'amcheck -c DS1 cyber' on the server (mums.jgcomp.com)? Jean-Louis On 15/12/16 10:23 PM, Jon LaBadie wrote: I have finally gotten amdump_client "trying" to work. Had to modify the systemd amanda@.service unit file. Of the three amdump_client commands, list works, check fails

Re: amtoc doesn't properly generate tape content in amanda 3.4.1

2016-12-16 Thread Jean-Louis Martineau
Jean-Francois, amtoc was not fixed for the new log file format in 3.4 Try the attached patch. Jean-Louis On 15/12/16 02:46 PM, Jean-Francois Malouin wrote: Hi, Still getting acquainted with amanda-3.4.1 new feature but for the moment I'm having problems correctly generating table-of-content

Re: amtoc doesn't properly generate tape content in amanda 3.4.1

2016-12-16 Thread Jean-Louis Martineau
On 16/12/16 10:33 AM, Jean-Francois Malouin wrote: This config has 'taper-parallel-write' set to 2 and during the amdump run both tape drives were in use at the same time at some point. Could this explain the discrepancy between both outputs? yes, amtoc print the dump in the order they are

Re: amservice

2016-12-09 Thread Jean-Louis Martineau
On 09/12/16 12:24 PM, Jon LaBadie wrote: On Fri, Dec 09, 2016 at 09:48:17AM +0100, Heiko Schlittermann wrote: Hello, Jon LaBadie (Do 08 Dez 2016 19:36:07 CET): Is amservice a client-side program or server-side? In Fedora packages it does not come in with the client package.

Re: Amanda::Config::getconf($CNF_LABELSTR) now returns a ref to a hash in 3.4.1

2017-01-10 Thread Jean-Louis Martineau
The labelstr setting changed in 3.4 $ man amanda.conf labelstr string | MATCH-AUTOLABEL Default: MATCH-AUTOLABEL. The tape label constraint regular expression. All tape labels generated (see amlabel(8)) and used by this configuration must match the

Re: Amanda::Config::getconf($CNF_LABELSTR) now returns a ref to a hash in 3.4.1

2017-01-10 Thread Jean-Louis Martineau
On 10/01/17 11:55 AM, Jean-Francois Malouin wrote: > * Jean-Louis Martineau <jmartin...@carbonite.com> [20170110 09:31]: >> The labelstr setting changed in 3.4 >> $ man amanda.conf >> labelstr string | MATCH-AUTOLABEL >> Default: MATCH-AUT

Re: Issues backing up very old (2.5 era) clients with 3.4

2017-01-13 Thread Jean-Louis Martineau
Removing the leading semicolon was a mistake. Your patch looks good. let me know if it works so I can commit it. I have no setup to test older version and they don't compile on newer distribution. I try to never break compatibility. Jean-Louis On 13/01/17 03:40 PM, Jason L Tibbitts III wrote:

Re: Patches used by Debian on amanda -- "backup" user under Debian

2017-01-09 Thread Jean-Louis Martineau
Steve, The amanda-client can be run with any user. The user is compiled in, but it doesn't need to be the same on the amanda server and amanda-client. What was the problem? Jean-Louis On 09/01/17 02:41 PM, Steve Wray wrote: For what its worth, this creates problems with inter-operability

Re: amanda-3.4.1: first tests with vtapes

2016-11-29 Thread Jean-Louis Martineau
On 29/11/16 03:33 AM, Stefan G. Weichinger wrote: Am 2016-11-28 um 15:16 schrieb Jean-Louis Martineau: Are you running with the aggregate-slots.diff patch I already sent? Can you send me your amanda.conf and the changer state files? ah, I seem to have found it, although I don't know how

Re: amanda-security.conf

2016-12-05 Thread Jean-Louis Martineau
On 04/12/16 02:27 AM, Jon LaBadie wrote: My first contact with this config file. If I properly understand its purpose I think the comment section has an error. # If a program and symbolic name is not listed, then the # # configured binary is allowed to be run as root. #

Re: Backing up the backup server

2017-01-05 Thread Jean-Louis Martineau
Automatically dumping the amanda configuration is complicated * output of 'amgetconf build.config_dir' # default to /etc/amanda * /etc/amanda/security.conf # in 3.4.2: output of 'amgetconf build.security_file' * Must check all includefile directive from $config_dir/amanda-client.conf

Re: need to have samba-4.2.11 on amanda server

2017-01-06 Thread Jean-Louis Martineau
On 06/01/17 12:29 PM, Stefan G. Weichinger wrote: Am 2017-01-06 um 15:08 schrieb Jean-Louis Martineau: If setting an environment variable is required, try setting it in the amsamba script before all exec call $ENV{'LANG'} = 'en_US.UTF-8' I edited amsamba accordingly, test failed again

Re: need to have samba-4.2.11 on amanda server

2017-01-06 Thread Jean-Louis Martineau
On 06/01/17 01:47 PM, Stefan G. Weichinger wrote: Am 2017-01-06 um 19:42 schrieb Jean-Louis Martineau: 3.3.9 will not work with newer samba, you must use 3.4.1 The amsamba patch is in the 3_3 branch, you can get it from svn or git. This server runs amanda-3.4.1 samba-3.4.5 You point me

Re: need to have samba-4.2.11 on amanda server

2017-01-06 Thread Jean-Louis Martineau
On 06/01/17 12:29 PM, Stefan G. Weichinger wrote: Am 2017-01-06 um 15:08 schrieb Jean-Louis Martineau: If setting an environment variable is required, try setting it in the amsamba script before all exec call $ENV{'LANG'} = 'en_US.UTF-8' I edited amsamba accordingly, test failed again.

Re: Patches used by Debian on amanda

2017-01-09 Thread Jean-Louis Martineau
On 08/01/17 04:56 PM, Jon LaBadie wrote: > On Sun, Jan 08, 2017 at 06:35:39PM +, Jose M Calhariz wrote: >> I am reviewing the patches used by Debian to build amanda 3.3.9 and >> updating them for amanda 3.4.1. I think some of them are not specific >> to Debian. My plan is to present the

Re: Patches used by Debian on amanda

2017-01-09 Thread Jean-Louis Martineau
Jose, Thanks for the patch. I committed the attached patch. Jean-Louis On 08/01/17 01:35 PM, Jose M Calhariz wrote: > I am reviewing the patches used by Debian to build amanda 3.3.9 and > updating them for amanda 3.4.1. I think some of them are not specific > to Debian. My plan is to present

Re: Possible fix for 3.3.8 that maybe relevant for 3.4.1

2017-01-03 Thread Jean-Louis Martineau
Jose, The patch is good and I committed it. Thanks for reporting the issue. Jean-Louis On 03/01/17 02:51 PM, Jose M Calhariz wrote: > A user of amanda on Debian have sent me a patch to fix a problem in > amanda 3.3.8. I do not know enough perl to validate the patch. But a > quick look to the

Re: need to have samba-4.2.11 on amanda server

2017-01-06 Thread Jean-Louis Martineau
On 06/01/17 07:18 AM, Mike Höhn wrote: > Am Freitag, 6. Januar 2017, 11:40:44 schrieb Stefan G. Weichinger: >> Anyone using smbclient for backups with late amanda? >> If yes, which version of samba? > Stefan, > > I've had the same problems with samba 4.4.5 and amanda 3.3.9 on Slackware. > I had

Re: need to have samba-4.2.11 on amanda server

2017-01-10 Thread Jean-Louis Martineau
Hi All, The attached patch fix amsamba in 3.4.1 to works with newer version of samba. In 3.3.9 you also need the patch from https://github.com/zmanda/amanda/commit/585b2139153f8d4a93ccc796983eedfa5a38e6ce Jean-Louis On 06/01/17 09:08 AM, Jean-Louis Martineau wrote: On 06/01/17 07:18 AM

Re: amtoc doesn't properly generate tape content in amanda 3.4.1

2016-12-19 Thread Jean-Louis Martineau
On 17/12/16 12:27 PM, Jean-Francois Malouin wrote: * Jean-Louis Martineau <jmartin...@carbonite.com> [20161216 12:10]: On 16/12/16 10:33 AM, Jean-Francois Malouin wrote: This config has 'taper-parallel-write' set to 2 and during the amdump run both tape drives were in use at the sam

Re: how to change the amandad server (3.4.3) listening service port?

2017-03-29 Thread Jean-Louis Martineau
On 29/03/17 02:34 PM, Jean-Francois Malouin wrote: > Hi, > > For whatever reasons I'm stuck for a little while with an amanda server > with 2 different installations (one is community version 3.4.3 and the > other is a zmanda enterprise edition running 3.3.9). I'd like to have > them running

Re: change hostname of pre-existing backups?

2017-03-27 Thread Jean-Louis Martineau
Nothing can be done. The backup are done with the 'localhost' hostname You must use it when restoring. Jean-Louis On 23/03/17 09:50 AM, hy...@lactose.homelinux.net wrote: > Greetings. > > For the past couple of years, I've been using amanda to back up the > server amanda was running on, and I

Re: amlabel (v3.4.3) doesn't write tape line when first creating tapelist file

2017-03-16 Thread Jean-Louis Martineau
Nathan, Thanks for reporting the issue. I committed the attached patch. Jean-LouisOn 15/03/17 06:27 PM, Nathan Stratton Treadway wrote: > Summary: if the "tapelist" file doesn't exist, amlabel creates the file > but doesn't populate it. (Again, this is using Amanda 3.4.3.) > > (In the following

Re: labelstr check missing in amlabel (v3.4.3)?

2017-03-16 Thread Jean-Louis Martineau
Nathan, Thanks for reporting the issue. I committed the attached patch. Jean-Louis On 15/03/17 05:45 PM, Nathan Stratton Treadway wrote: > I'm running Amanda 3.4.3 (built under Ubuntu from Jose's Debian > "experimental" source package, v3.4.3-1). > > The man page for "amlabel" includes the

Re: amflush

2017-04-11 Thread Jean-Louis Martineau
It looks like the taper process is hang. Can you post the taper debug file? Can you get a gdb stacktrace of all threads? Jean-Louis On 11/04/17 10:12 AM, Ochressandro Rettinger wrote: > In fact, I am now sure that it's not doing anything. I ran amstatus > this morning and it looks

Re: amflush

2017-04-11 Thread Jean-Louis Martineau
/CORE/libperl.so #7 0x7fcbe843c9a5 in perl_run () from /usr/lib64/perl5/CORE/libperl.so #8 0x00400d99 in main () -Sandro *From:*Jean-Louis Martineau [mailto:jmartin...@carbonite.com] *Sent:* Tuesday, April 11, 2017 9:00 AM *To:* Ochressandro Rettinger <orettin...@salud.unm.edu>;

Re: amflush

2017-04-11 Thread Jean-Louis Martineau
I want the stack trace of all threads,not only the main thread. in gdb for the taper process, do: thread apply all bt Jean-Louis 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

Re: lots of level-0 backups

2017-04-11 Thread Jean-Louis Martineau
On 11/04/17 11:41 AM, hy...@lactose.homelinux.net wrote: > Jon LaBadie writes: >> On Mon, Apr 10, 2017 at 10:45:52PM -0400, hymie! wrote: >>> On Mon, Apr 10, 2017 at 04:14:25PM -0400, Jon LaBadie wrote: Do you mean you do not understand the mechanics of splitting a DLE or that you do not

Re: force an estimate?

2017-04-10 Thread Jean-Louis Martineau
man amadmin: estimate [ hostname [ disks ]* ]* Print the server estimate for the dles ... The answer is NO, since 'amadmin estimate' only print the server estimate (based on history). The best tool is du. Jean-Louis On 10/04/17 07:06 AM, hy...@lactose.homelinux.net wrote: >

Re: Ubuntu 16.04 amanda-client package

2017-04-14 Thread Jean-Louis Martineau
On 13/04/17 07:38 PM, Charles Curley wrote: > On Thu, 13 Apr 2017 22:42:06 + > Debra S Baddorf wrote: > >> Q to others: does the client have to have the same username and >> locations as the server? No, they do not need to be the same. Jean-Louis This message is the

Re: Ubuntu 16.04 amanda-client package

2017-04-14 Thread Jean-Louis Martineau
Chris, We could help if you tell us what doesn't work. Jean-Louis On 13/04/17 03:53 PM, Chris Hoogendyk wrote: I have a group of amanda servers and clients that are all Ubuntu 14.04 with amanda 3.3.6 installed from source with ssh config and user amanda. Now I'm trying to set up a new

Re: Ubuntu 16.04 amanda-client package

2017-04-14 Thread Jean-Louis Martineau
ackup"? I'd prefer to do it as intended rather than hacking. One would presume that should be smoother, assuming the intended setup is known (documented). On 4/14/17 8:29 AM, Jean-Louis Martineau wrote: Chris, We could help if you tell us what doesn't work. Jean-Louis On 13/04/17 03:53

Re: Errors when try to do backup.

2017-03-09 Thread Jean-Louis Martineau
Tiyi, Can youpost the complete chunker debug file? Jean-Louis On 09/03/17 04:27 AM, Yiyi Hu wrote: Hi, After I upgraded to3.4.3 on my gentoo system, I get errors when I try to do the backup. The errors are FAILURE DUMP SUMMARY: chunker: FATAL Can't use an undefined value as a subroutine

Re: Amanda Busy [revisited]

2017-03-09 Thread Jean-Louis Martineau
Jon, You can remove the faullty 4 lines. 3.4 can do multiple backup in parallel. Instead of using amdump_client/amdumpd, you should use ambackup/ambackupd. amdump_client/amdumpd is the old protocol and is kept only for compatibility with 3.3 Jean-Louis On 08/03/17 02:19 PM, Jon LaBadie wrote:

Re: Errors when try to do backup.

2017-03-09 Thread Jean-Louis Martineau
Yiyi, Try the attached patch Jean-Louis On 09/03/17 04:27 AM, Yiyi Hu wrote: Hi, After I upgraded to3.4.3 on my gentoo system, I get errors when I try to do the backup. The errors are FAILURE DUMP SUMMARY: chunker: FATAL Can't use an undefined value as a subroutine reference at

Re: ambackup level 0 only

2017-03-14 Thread Jean-Louis Martineau
On 12/03/17 02:09 PM, Jon LaBadie wrote: > I've gotten a couple of DLEs to do a "backup on > demand" using ambackup. Two things I've noted: > > - each DLE is considered a separate backup and > thus generates a separate report for each yes, there is no fix yet. > > - so far (4 dumps of 3

Re: Amanda Busy [revisited] -- now ambackupd

2017-03-10 Thread Jean-Louis Martineau
Jon, Another bogus check, it must be removed. Apply the attached patch. Jean-Louis On 09/03/17 02:35 PM, Jon LaBadie wrote: > On Thu, Mar 09, 2017 at 09:10:49AM -0500, Jean-Louis Martineau wrote: >> Jon, >> >> You can remove the faullty 4 lines. >> 3.4 can do

Re: Errors when try to do backup.

2017-03-10 Thread Jean-Louis Martineau
2:00, Jean-Louis Martineau wrote: Yiyi, Try the attached patch Jean-Louis On 09/03/17 04:27 AM, Yiyi Hu wrote: > Hi, > > After I upgraded to3.4.3 on my gentoo system, > > I get errors when I try to do the backup. > > The errors are > > FAILURE DUMP SUMMARY: > chu

Re: Errors when try to do backup.

2017-03-10 Thread Jean-Louis Martineau
for it to finish. Thanks! On 2017/3/10 21:03, Jean-Louis Martineau wrote: The patch fixed the dumper crash (fater the data timeout), but you must find why you get the data timeout. You must check the client debug file: amandad ,sendbackup, ... Jean-Louis On 09/03/17 11:10 PM, Yiyi Hu wrote

Re: AW: Released in Debian, on experimental, amanda-3.4.3

2017-03-14 Thread Jean-Louis Martineau
Why do you ran amcleanup? There is nothing to clean if the /var/lib/amanda/a2g-1/log/log symlink doesn't exists. Jean-Louis On 13/03/17 08:58 AM, Tobias Köck wrote: > Hi Jose, > > I get a while trying to cleanup > > backup@chronos:/u1/bin$ amcleanup -k a2g-1 > amcleanup: Can't open trace_log

Re: Release of Amanda-3.4.3

2017-03-06 Thread Jean-Louis Martineau
On 03/03/17 11:30 AM, Gene Heskett wrote: > On Friday 03 March 2017 08:50:00 Jean-Louis Martineau wrote: > >> Hello, >> >> The Amanda core team is pleased to announce the release of Amanda >> 3.4.3 >> >> There is a major issue in 3.4, 3.4.1 and 3.4.2, al

Release of Amanda-3.4.3

2017-03-03 Thread Jean-Louis Martineau
-Louis Martineau

Re: Ubuntu 16.04 amanda-client package

2017-04-14 Thread Jean-Louis Martineau
in the dumptype. At the moment, I'm getting "Permission denied (publickey,password)." during amcheck. Something is not correctly set for ssh, check ssh and sshd logs files. Run the ssh command from the command line Jean-Louis On 4/14/17 12:07 PM, Jean-Louis Martineau wrote: Chris,

Re: tcpm_recv_token: invalid size

2017-07-31 Thread Jean-Louis Martineau
): CRITICAL **: GLib version too old (micro mismatch): Amanda was compiled with glib-2.32.4, but linking with 2.32.3 Connection closed by foreign host. root@PCILNX01:~# I am using amanda version 3.4.1 on both client and server, what could be the reason? Regards, Dinesh *From:*Jean-Louis Martineau

Re: tcpm_recv_token: invalid size

2017-07-31 Thread Jean-Louis Martineau
Dinesh, It is often because amanda receive garbage from the socket. Do amandad was executed on pcilnx01? Check system log on pcilnx01? You can also try a 'telnet pcilnx01 10080' to see if a connection is successful. Jean-Louis On 31/07/17 09:41 AM, Dinesh Vashisht wrote: > > Hi Team, > >

Re: Compiling 3.4.5 on OpenBSD 6.1

2017-08-01 Thread Jean-Louis Martineau
How getservbyname_r is defined on OpenBSD 6.1 Jean-Louis On 01/08/17 04:28 PM, Eric Lovelace wrote: > Hello, > > I would like to run Amanda on OpenBSD (Ideally with current versions of > each). From what I have found online, this was possible in previous > versions of both softwares but I can¹t

Re: Compiling 3.4.5 on OpenBSD 6.1

2017-08-03 Thread Jean-Louis Martineau
/amanda' gmake: *** [Makefile:1637: all] Error 2 From: Jean-Louis Martineau <jmartin...@carbonite.com <mailto:jmartin...@carbonite.com>> Date: Thursday, August 3, 2017 at 9:03 AM To: Eric Lovelace <elovel...@msddecatur.k12.in.us <mailto:elovel...@msddecatur.k12.in.us>>,

Re: Compiling 3.4.5 on OpenBSD 6.1

2017-08-03 Thread Jean-Louis Martineau
cros -I config/gnulib -I config/amanda -I config/macro-archive -I /usr/share/aclocal if WANT_CLIENT CLIENT_SUBDIRS = client-src application-src From: <owner-amanda-us...@amanda.org <mailto:owner-amanda-us...@amanda.org>> on behalf of Jean-Louis Martineau <jmartin...@carbonite.com

Re: Amcheck fails for several clients if one of them is not reachable

2017-07-17 Thread Jean-Louis Martineau
This is a long standing bug and is not easy to fix. It is fixed in the not yet release 3.5 branch. All connect system call are done in different thread. All bind system call are done in separate processes. planner, dumper, amcheck, amservice do not require to be setuid root. Only the new ambind

Re: two tape libraries with one configuration

2017-07-17 Thread Jean-Louis Martineau
It can only be done with amanda 3.4, where you can define 2 storage and put on the dumptype on which storage you want the dump to go. Jean-Louis On 14/07/17 05:38 PM, Chris Hoogendyk wrote: I've just acquired and set up a new Overland T48 with two LTO7 tape drives. I already have an

Re: strange initial backup - crc difference

2017-04-25 Thread Jean-Louis Martineau
On 24/04/17 06:29 PM, Jon LaBadie wrote: > I just added a new DLE to my disklist and ran a > "no-taper" dump of just the new DLE. The amdump > report listed it as "STRANGE" and showed an > error I do not recall seeing before: > >sendbackup: native-CRC 3faac26a:42524590080 >sendbackup:

Re: Compiling 3.4.5 on OpenBSD 6.1

2017-08-02 Thread Jean-Louis Martineau
parameter call; I guess when I sit back down in > front of the system in question I will see if I can get enough of a > handle on the code to write the 4 parameter call. > ____ > From: Jean-Louis Martineau [jmartin...@carbonite.com] > Sent: Tuesda

Re: Compiling 3.4.5 on OpenBSD 6.1

2017-08-04 Thread Jean-Louis Martineau
akes, I am new to git) > > ________ > From: Jean-Louis Martineau [jmartin...@carbonite.com] > Sent: Thursday, August 03, 2017 5:29 PM > To: Eric Lovelace; amanda-users@amanda.org > Subject: Re: Compiling 3.4.5 on OpenBSD 6.1 > > Use the attached patch instead of doing the include in

Re: Can't flush older dumps to a tape

2017-08-16 Thread Jean-Louis Martineau
Victor, Thanks for your good bug report!!! Try the attached patch, you can manually apply it to the amflush script. Jean-Louis On 16/08/17 09:56 AM, Victor Souza wrote: *Hi everyone!* I've upgraded my amanda version from 3.3.4 to 3.4.4 and I noticed that when I tried to flush older dumps

Release of Amanda-3.4.4

2017-05-03 Thread Jean-Louis Martineau
(Juno and newer) * labelstr o fix matching a labelstr Jean-Louis Martineau 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

Re: Out of memory: Killed process 707, UID 0, (amrecover). / Amanda-3.4.4

2017-06-05 Thread Jean-Louis Martineau
Bernhard, Thanks for reporting this new issue. I committed the attached patch Jean-Louis On 04/06/17 07:45 AM, Bernhard Erdmann wrote: Hello, after an upgrade to Amanda-3.4.4, I discovered that amrecover eats too much memory. Trying to recover a single directory from a huge GNU tar image

Re: Planner in loop, amanda-3.4.4

2017-06-07 Thread Jean-Louis Martineau
On 07/06/17 10:53 AM, Stefan G. Weichinger wrote: Am 2017-06-07 um 16:46 schrieb Jean-Louis Martineau: > On 07/06/17 10:43 AM, Stefan G. Weichinger wrote: >> Am 2017-06-07 um 14:08 schrieb Jean-Louis Martineau: >> >> > And please, learn to send good bug report, just

Re: security.conf and FreeBSD jails

2017-06-07 Thread Jean-Louis Martineau
The complete path to security.conf must be owned and writable only by the root user $ man amanda-security.conf That's why it is by default in /etc and not in /etc/amanda which must be writable by the amanda user. Jean-Louis On 07/06/17 11:37 AM, Ekkehard 'Ekki' Gehm wrote: Ahoi! I ran

Re: security.conf and FreeBSD jails

2017-06-07 Thread Jean-Louis Martineau
look for it? Because moving the file to /etc/ gives the following: ERROR: hostname: [Can't get realpath of the security file '/usr/local/etc/amanda/security.conf': No such file or directory] Ekki Am 07.06.2017 um 17:47 schrieb Jean-Louis Martineau: The complete path to security.conf must

Re: Planner in loop, amanda-3.4.4

2017-06-07 Thread Jean-Louis Martineau
On 07/06/17 02:59 AM, Stefan G. Weichinger wrote: > Am 2017-05-29 um 12:23 schrieb Jose M Calhariz: >> Hi, >> >> I have a private server of amanda. It is the second time that the >> planner enter in loop and I have to kill for the amdump to finish. >> >> What logs are relevant to help fix the

Release of Amanda-3.4.5

2017-06-08 Thread Jean-Louis Martineau
* fix config parser when -o option * fix compilation on FreeBSD * fix planner looping Jean-Louis Martineau 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

Re: Planner in loop, amanda-3.4.4

2017-06-07 Thread Jean-Louis Martineau
On 07/06/17 10:43 AM, Stefan G. Weichinger wrote: Am 2017-06-07 um 14:08 schrieb Jean-Louis Martineau: > And please, learn to send good bug report, just telling a process loop > is not enough.It <http://enough.It> is always better to send more information that nothing. su

Re: lots of level-0 backups

2017-06-15 Thread Jean-Louis Martineau
Amanda promote some dle to level-0 backup to try to balance the size of full done every days. The smaller dles sometime get over promoted. You can set the maxpromoteday to a smaller value for the dle that get over promoted. Jean-Louis On 15/06/17 06:06 AM, hy...@lactose.homelinux.net wrote: >

Re: amrecover isn't

2017-05-01 Thread Jean-Louis Martineau
Gene, Which version of tar are you using? Read the thread at https://www.mail-archive.com/amanda-users@amanda.org/msg48929.html Jean-Louis On 30/04/17 10:52 PM, Gene Heskett wrote: > Greetings all; > > The last time I used amrecover I had to make a tempdir on the same disk > as the stuff I

Re: amrecover isn't

2017-05-02 Thread Jean-Louis Martineau
:37:11 Jean-Louis Martineau wrote: Gene, Which version of tar are you using? 1.27.1 Read the thread at https://www.mail-archive.com/amanda-users@amanda.org/msg48929.html Jean-Louis Says 1.29 fixes this. I'll have to build it from the tarball, 1.27.1 is the newest in the wheezy repo's.

Re: Labelstr issues with 3.4.3

2017-05-02 Thread Jean-Louis Martineau
Bonjour Luc, You found a bug, In 3.4, amanda automatically prepend a '^' and append a '$' to the labelstr, It should be done only when using the autolabel template. I applied the attached patch to fix the issue. The work around is to set labelstr to "000[0-9][0-9][0-9].*" Jean-Louis On

Re: Dump failed with data read: recv error: Resource temporarily unavailable after migration of some clients

2017-09-23 Thread Jean-Louis Martineau
The debug files are in the debug directory: amgetconf build.amanda_dbgdir Jean-Louis On 23/09/17 07:31 AM, Matthias Teege wrote: > On Fri, Sep 22, 2017 at 01:16:27PM -0400, Jean-Louis Martineau wrote: > > Hi, > > I have again looked more closely. Perhaps the (recv

Re: client-crc in header (01591e60:14438416) and client-crc in log (38e41ca3:40960) differ

2017-09-13 Thread Jean-Louis Martineau
On 12/09/17 01:32 PM, Charles Curley wrote: > On Fri, 8 Sep 2017 09:42:36 -0400 > Jean-Louis Martineau <jmartin...@carbonite.com> wrote: > > > Which version of amanda are you using? > > > > On 09/08/17 05:03 PM, Charles Curley wrote: > > > Does anyone k

Re: dump failed: [request failed: No route to host](too)

2017-09-13 Thread Jean-Louis Martineau
Tom, It is the system that return the "No route to host" error. You should check your system log (on server, client, router, firewall, nat, ...) for network error. Jean-Louis On 12/09/17 06:01 PM, Tom Robinson wrote: bump On 11/09/17 12:45, Tom Robinson wrote: > Hi, > > I've recently

Re: amvault - using vault-storage section

2017-09-20 Thread Jean-Louis Martineau
Gunnar, amanda can do automatic vault to the defined 'vault-storage' (during the amdump run), for that, you need to put a 'vault' in the source storage. Remove the vault-storage setting if you do not want this feature, and you run to run amvault manually. Jean-Louis On 19/09/17 04:02 PM,

Re: PARTIAL dump on my Fedora 26

2017-10-08 Thread Jean-Louis Martineau
On 08/10/17 04:53 AM, Henrik Johansson wrote: Hi again, I checked this list once again and a similar problem (attached). Mathias reported that the patch I posted fixed the issue. Have you tried the patch that was posted on that thread? Jean-Louis My server has CentOS-7 and the problem

Re: FAILED [shm_ring cancelled]

2017-10-10 Thread Jean-Louis Martineau
On 06/10/17 02:28 AM, Tom Robinson wrote: On 06/10/17 08:58, Jean-Louis Martineau wrote: On 05/10/17 05:48 PM, Tom Robinson wrote: Hi, Splitting this out of the other thread for clarity. What does this error mean? FAILED [shm_ring cancelled] There is already a patch posted to fix

Re: What are the correct permissions for lib binaries for amanda 3.5

2017-10-14 Thread Jean-Louis Martineau
On 14/10/17 11:14 AM, Jose M Calhariz wrote: > -rwsr-xr-- 1 root backup 10232 Oct 13 17:23 ambind ambind must not be readable by all -rwsr-x--- 1 root backup 10232 Oct 13 17:23 ambind Jean-Louis This message is the property of CARBONITE, INC. and may contain confidential or privileged

Re: approaches to Amanda vaulting?

2017-10-16 Thread Jean-Louis Martineau
Amanda 3.5 can do everything you want only by running the amdump command. Using an holding disk: * You configure two storages * All dumps go to the holding disk * All dumps are copied to each storages, not necessarily at the same time or in the same run. * The dumps stay in holding

Re: approaches to Amanda vaulting?

2017-10-16 Thread Jean-Louis Martineau
On 14/10/17 12:19 PM, Jose M Calhariz wrote: > > Hi, > > I am too interested in examples of vaulting. > > In my case is to duplicate the locals vtapes into a remote S3 > endpoint, for purposes of reliability in case of disaster. If I have > 50 locals vtapes, I want to have the same 50 vtapes on

Re: What are the correct permissions for lib binaries for amanda 3.5

2017-10-16 Thread Jean-Louis Martineau
On 14/10/17 12:12 PM, Jose M Calhariz wrote: > On Sat, Oct 14, 2017 at 11:36:09AM -0400, Jean-Louis Martineau wrote: >> On 14/10/17 11:14 AM, Jose M Calhariz wrote: >>> -rwsr-xr-- 1 root backup 10232 Oct 13 17:23 ambind >> ambind must not be readable by all >> >>

Re: FAILED [shm_ring cancelled]

2017-10-05 Thread Jean-Louis Martineau
ve Croydon South 3136 Victoria Australia T: +61 3 9761 5050 F: +61 3 9761 5051 E:tom.robin...@motec.com.au On 13/09/17 23:09, Jean-Louis Martineau wrote: Tom, It is the system that return the "No route to host" error. You should check your system log (on server, client, router, firewa

Re: 3.5 amcheck issue

2017-10-05 Thread Jean-Louis Martineau
Dennis, What OS is your server? Can you do the following command in the compilation directory? grep GETSERVBYNAME config/config.h grep GETSERVBYPORT config/config.h Can you try the attached patch? Jean-Louis On 05/10/17 05:30 AM, Dennis Benndorf wrote: Hi, we are really excited using

Re: 3.5 amcheck issue

2017-10-05 Thread Jean-Louis Martineau
HAVE_FUNC_GETSERVBYNAME_R_4 */ /* #undef HAVE_FUNC_GETSERVBYNAME_R_5 */ #define HAVE_FUNC_GETSERVBYNAME_R_6 1 #define HAVE_GETSERVBYNAME 1 I will try the patch. Regards Dennis Am 05.10.2017 um 14:49 schrieb Jean-Louis Martineau: Dennis, What OS is your server? Can you do the following command

Re: Restore with a different dumptype

2017-10-05 Thread Jean-Louis Martineau
Matthias, There is no dumptype at restore time. The information is written in the dump image. The only solution is to do a manual restore. amfetchdump -p ... | amgtar ... Jean-Louis On 05/10/17 06:15 AM, Matthias Teege wrote: > On Wed, Oct 04, 2017 at 04:19:19PM +0200, Stefan G. Weichinger

Re: 3.5 amcheck issue

2017-10-05 Thread Jean-Louis Martineau
the zipped debug log. Dennis Am 05.10.2017 um 15:18 schrieb Jean-Louis Martineau: Add debug-auth 9 debug-protocol 9 In amanda.conf. Retry a new amcheck and the post the amcheck debug file Jean-Louis On 05/10/17 09:07 AM, Dennis Benndorf wrote: Hi Jean-Louis, after applying the patch

Re: 3.5 amcheck issue

2017-10-05 Thread Jean-Louis Martineau
Dennis, Can you also post the amandad debug file from the client esx-201.gbv.de Jean-Louis On 05/10/17 11:17 AM, Jean-Louis Martineau wrote: Dennis, The debug file is big and hard to follow. Can you reproduce the issue with just a few host? eg. amcheck -c mirror esx-201.gbv.de esx-237

Re: What are the correct permissions for lib binaries for amanda 3.5

2017-10-16 Thread Jean-Louis Martineau
On 16/10/17 01:48 PM, Jon LaBadie wrote: > On Mon, Oct 16, 2017 at 08:12:43AM -0400, Jean-Louis Martineau wrote: >> On 14/10/17 12:12 PM, Jose M Calhariz wrote: >>> On Sat, Oct 14, 2017 at 11:36:09AM -0400, Jean-Louis Martineau wrote: >>>> On 14/10/17 11:14 AM, Jose

Re: What are the correct permissions for lib binaries for amanda 3.5

2017-10-17 Thread Jean-Louis Martineau
amcheck check the 'r' all permission, but it is executed even if the permission are not correct. I removed the check for 'r' all . Jean-Louis On 17/10/17 03:18 AM, Jon LaBadie wrote: > On Tue, Oct 17, 2017 at 07:21:02AM +0200, Uwe Menges wrote: >> On 10/16/17 21:32, Austin S. Hemmelgarn

Re: PARTIAL dump on my Fedora 26

2017-10-17 Thread Jean-Louis Martineau
On 10/10/17 03:27 AM, Henrik Johansson wrote: Hi, JT> If amanda-3.4.5 are OK I wait for Fedora 27, plan to upgrade Fedora in dec-jan. Are there any known release-plans for amanda on CentOS-7? Thanks, Henrik On 2017-10-10 00:11, Jason L Tibbitts III wrote: "HJ" == Henrik Johansson

Re: client-crc in header (01591e60:14438416) and client-crc in log (38e41ca3:40960) differ

2017-09-08 Thread Jean-Louis Martineau
Which version of amanda are you using? On 09/08/17 05:03 PM, Charles Curley wrote: > Does anyone know what this message from amrecover means? Is it a > problem? > > client-crc in header (01591e60:14438416) and client-crc in log > (38e41ca3:40960) differ They should be identical. Can you post

Re: working with storage definitions

2017-08-30 Thread Jean-Louis Martineau
uld add it in a dumptype inherited from all dles. Jean-Louis On 8/29/17 4:21 PM, Jean-Louis Martineau wrote: On 29/08/17 02:37 PM, Chris Hoogendyk wrote: Thank you! I've got that set up now. I tried labeling tapes. I thought it was working. e.g.: You should never use the '-o tpchanger

Re: Amanda 3.4.5 – failure dump summary – "shm_ring cancelled"

2017-09-07 Thread Jean-Louis Martineau
Are there any other error messages? There is nothing to say without more information. Post the amdump.TIMESTAMP and log.TIMESTAMP.0 files and the dumper, chunker and taper debug files. amanda use shared memory between dumper and chunker/taper, and one process cancelled it. Jean-Louis On

<    11   12   13   14   15   16   17   >