Amanda-Users

Re: planner: could not lock log file

2008-09-12 09:48:29
Subject: Re: planner: could not lock log file
From: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
To: tashirov AT unido-ichet DOT org
Date: Fri, 12 Sep 2008 09:40:31 -0400
On Fri, Sep 12, 2008 at 7:58 AM, Taalaibek Ashirov
<tashirov AT unido-ichet DOT org> wrote:
> Yes, in the test the problem goes away. Actually, I've installed amanda
> from ports. Now I deinstalled amanda and got latest source version from
> amandas website, added those lines to amflock(). When I did make it gave
> me error like "lock is not declared". I declared lock same as test
> (struct flock lock;). This time I got this:

The problem you encountered is, I think, already fixed in 2.6.0p2.  So
you shouldn't have to apply any patches to the source before
compiling.

> creating amflock-test
> make: don't know how to make amgpgcrypt. Stop
> *** Error code 2
> Stop in /root/amanda-2.6.0p2/common-src.
> *** Error code 1
> Stop in /root/amanda-2.6.0p2.
> web#

Amanda requires GNU make now (gmake).

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com