Re: Fwd: Re: Amanda 3.5.1 on MacOSX 10.11.6 problems...

Robert Heller <[email protected]> Tue, 27 Aug 2019 08:16:04 -0400 (EDT)
Newsgroups gmane.comp.archivers.amanda.devel
Organization Deepwoods Software
Message-ID <[email protected]>
At Tue, 27 Aug 2019 03:45:27 +0000 Chris Hassell <[email protected]> wrote:

> 
> I think I've seen that recently too.  If you can reproduce it
> specifically we may jump after it too .. now that I'm getting time.

Oh, it is reproducable.  I am now backing up the machine with a simple Tcl 
script that implements a Tower of Hanoi sequence.  If I had some way to debug 
it (or any advise on how to do that), I'd be willing to help.  Sendbackup, 
when run interactively (-t option) works just fine.  It seems that when run 
from amandad things go bad.

> 
> On 8/15/19 10:06 AM, Robert Heller wrote:
> > I am trying to get Amanda working on a MacMini running MacOSX 10.11.6, and I
> > am having troubles.  It compiles (I had to make a minor change to the code),
> > but fails to run properly.  I am not sure how to debug it and want to know if
> > there is any special magic needed to get Amanda to work under MacOSX 10.11.6.
> >
> >
> > Forwarded Message:
> >
> > From: Robert Heller <[email protected]>
> > Subject: Re: Amanda 3.5.1 on MacOSX 10.11.6 problems...
> > To: amanda users <[email protected]>
> > Message-Id: <[email protected]>
> > Date: Wed, 14 Aug 2019 15:32:33 -0400 (EDT)
> >
> >
> > At Tue, 13 Aug 2019 12:40:56 -0400 (EDT) Robert Heller <[email protected]> wrote:
> >
> >>
> >> OK, I got Amanda 3.5.1 to compile under MacOSX 10.11.6, using these configure
> >> options:
> >>
> >> '--without-server' '--with-ssh-security' '--prefix=/opt/local'  '--with-user=amanda' '--with-group=wheel'
> >>
> >> (I had to hack the location of aclocal's directory in autogen and Makefile.am,
> >> and had to change one line in ndmp-src/ndml_conn.c -- had to add a third
> >> argument to the xdr callback.)
> >>
> >> But there is a problem with sendbackup: "compress" is is crashing:
> >>
> >> Tue Aug 13 10:53:32 2019: pid 1284: thd-0x7faffb503400: sendbackup: critical (fatal): error [compress (1286) compress returned 1]
> >> 0   libamanda-3.5.1.dylib               0x0000000104d321f0 debug_logging_handler + 528
> >> 1   libglib-2.0.0.dylib                 0x0000000104e672ab g_logv + 874
> >> 2   libglib-2.0.0.dylib                 0x0000000104e66f2c g_log + 134
> >> 3   sendbackup                          0x0000000104ce69d7 parse_backup_messages + 983
> >> 4   sendbackup                          0x0000000104ce47ad main + 5389
> >> 5   libdyld.dylib                       0x00007fff876fd5ad start + 1
> >> 6   ???                                 0x0000000000000005 0x0 + 5
> >>
> >> I think I need to run sendbackup in interactive mode (-t option I believe).
> >> Where can I find documentation on how to get sendbackup cranking on a "dummy"
> >> backup so I can catch the crash with gdb?
> >>
> >> I suspect that something changed in glib between 2.56 (the version on
> >> Ubuntu 18.04 which has amanda 3.5.1), and 2.58 (what macports installed on my
> >> MacOSX machine), something needs to be updated somewhere in amanda to allow
> >> for that.
> > OK, I changed the DLEs to use server-side compression, and it is still
> > crashing.  I ran sendbackup in interactive mode, that seems to work OK, so it
> > looks like the problem is in the interprocess communication somewhere,
> > probably something screwy with glib (or how it was built under MacOSX 10.11).
> >
> > Is there any way to debug this?  Is anyone else having this problem?  What are
> > my options for backing up this machine?  (And no, don't tell me to use Time
> > Machine or something like that.)  I need to be able to somehow backup this
> > MacOSX machine and it really needs to be running MacOSX.
> >
> > Please, is there *anyone* out there in Amanda community doing anything with
> > MacOSX?  Or is MacOSX simply not really supported by Amanda (even though the
> > docs suggest that Amanda compiles and runs on MacOSX)?
> >
> >
> Confidentiality Notice | The information transmitted by this email is intended only for the person or entity to which it is addressed. This email may contain proprietary, business-confidential and/or privileged material. If you are not the intended recipient of this message, be aware that any use, review, re-transmission, distribution, reproduction or any action taken in reliance upon this message is strictly prohibited. If you received this in error, please contact the sender and delete the material from all computers.
> 
>                                                                   

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[email protected]       -- Webhosting Services