Re: planner: could not lock log file

2008-09-16 Thread Taalaibek Ashirov
On Fri, 2008-09-12 at 09:40 -0400, Dustin J. Mitchell wrote: > On Fri, Sep 12, 2008 at 7:58 AM, Taalaibek Ashirov > <[EMAIL PROTECTED]> 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 > >

Re: planner: could not lock log file

2008-09-12 Thread Dustin J. Mitchell
On Fri, Sep 12, 2008 at 11:28 AM, John Hein <[EMAIL PROTECTED]> wrote: > I think amanda has required gmake for quite a while, hasn't it? Quietly, yes -- some GNU extensions snuck in/around 2.5.0 or 2.5.1, and nobody complained, so when I rewrote the autoconf/automake stuff, I just went whole-hog t

Re: planner: could not lock log file

2008-09-12 Thread John Hein
Dustin J. Mitchell wrote at 09:40 -0400 on Sep 12, 2008: > > 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 ma

Re: planner: could not lock log file

2008-09-12 Thread John Hein
Taalaibek Ashirov wrote at 14:58 +0300 on Sep 12, 2008: > > Let me recant, it may be amanda at fault or a combination. If you add > > the following to the initialization of 'lock' in the test, does your > > problem go away? > > > > lock.l_start = 0; > > lock.l_len = 0; > > > > If

Re: planner: could not lock log file

2008-09-12 Thread Dustin J. Mitchell
On Fri, Sep 12, 2008 at 7:58 AM, Taalaibek Ashirov <[EMAIL PROTECTED]> 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 gav

Re: planner: could not lock log file

2008-09-12 Thread Taalaibek Ashirov
On Thu, 2008-09-11 at 09:27 -0600, John Hein wrote: > John Hein wrote at 07:19 -0600 on Sep 11, 2008: > > Taalaibek Ashirov wrote at 10:31 +0300 on Sep 11, 2008: > > > On Wed, 2008-09-10 at 09:56 -0600, John Hein wrote: > > > > What happens when you compile and run this (as the backup user)? >

Re: planner: could not lock log file

2008-09-11 Thread John Hein
John Hein wrote at 07:19 -0600 on Sep 11, 2008: > Taalaibek Ashirov wrote at 10:31 +0300 on Sep 11, 2008: > > On Wed, 2008-09-10 at 09:56 -0600, John Hein wrote: > > > What happens when you compile and run this (as the backup user)? > > > > > > #include > > > #include > > > #include

Re: planner: could not lock log file

2008-09-11 Thread John Hein
Taalaibek Ashirov wrote at 10:31 +0300 on Sep 11, 2008: > On Wed, 2008-09-10 at 09:56 -0600, John Hein wrote: > > What happens when you compile and run this (as the backup user)? > > > > #include > > #include > > #include > > int > > main() > > { > > struct flock lock; > > in

Re: planner: could not lock log file

2008-09-11 Thread Taalaibek Ashirov
On Wed, 2008-09-10 at 09:56 -0600, John Hein wrote: > Taalaibek Ashirov wrote at 18:40 +0300 on Sep 10, 2008: > > On Wed, 2008-09-10 at 09:20 -0600, John Hein wrote: > > > John Hein wrote at 08:23 -0600 on Sep 10, 2008: > > > > Out of curiosity, what is the output of 'df > /var/log/amanda/dotP

Re: planner: could not lock log file

2008-09-10 Thread John Hein
Taalaibek Ashirov wrote at 18:40 +0300 on Sep 10, 2008: > On Wed, 2008-09-10 at 09:20 -0600, John Hein wrote: > > John Hein wrote at 08:23 -0600 on Sep 10, 2008: > > > Out of curiosity, what is the output of 'df /var/log/amanda/dotProject'? > > > > And the output of mount. > > web# df -h

Re: planner: could not lock log file

2008-09-10 Thread Taalaibek Ashirov
On Wed, 2008-09-10 at 09:20 -0600, John Hein wrote: > John Hein wrote at 08:23 -0600 on Sep 10, 2008: > > Out of curiosity, what is the output of 'df /var/log/amanda/dotProject'? > > And the output of mount. web# df -h /var/log/amanda/dotProject/ Filesystem SizeUsed Avail Capacity Mou

Re: planner: could not lock log file

2008-09-10 Thread John Hein
FILES... > driver: pid 67085 executable /usr/local/libexec/amanda/driver version > 2.5.1p3 > planner: could not lock log file /var/log/amanda/dotProject/log: Invalid > argument > driver: could not lock

Re: planner: could not lock log file

2008-09-10 Thread Dustin J. Mitchell
On Wed, Sep 10, 2008 at 8:16 AM, Taalaibek Ashirov <[EMAIL PROTECTED]> wrote: > planner: could not lock log file /var/log/amanda/dotProject/log: Invalid > argument ... > $amadmin x version | grep LOCKING > LOCKING=POSIX_FCNTL DEBUG_CODE AMANDA_DEBUG_DAYS=4 Is there some reaso