Bug in autoconf 2.57 (was: file locking on HPUX11.00 andamanda 2.4.4p1)

2003-08-14 Thread Henk Martijn
Hi,

for the Archive:
I found out that the problem was with autoconf 2.57 
(see http://mail.gnu.org/archive/html/autoconf/2003-06/msg9.html)

It goes wrong already when it looks for the function gettimeofday.

I regenerated "configure" with autoconf 2.56, configure and make run without problem.
amanda 2.4.4p1 is up and running now

/Henk

Henk Martijn
ACREO AB   
Electrum 236 Tel:+46 8 632 7795
S-164 40 KistaFax:+46 8 750 5430
Sweden   e-mail: [EMAIL PROTECTED]


>>> [EMAIL PROTECTED] 00:25:37 2003-08-03 >>>
On Fri, Aug 01, 2003 at 04:40:01PM +0200, Henk Martijn wrote:
> Hi,
> 
> I found the following problem when trying to configure amanda 2.4.4p1:
> 
> ./configure --prefix=/opt/local --with-user=amanda -with-group=sys 
> --with-config=daily --with-tape-devoce=/dev/rmt/0mn
> 
> checking whether posix fcntl locking works... no
> checking whether flock locking works... no
> checking whether lockf locking works... no
> checking whether lnlock locking works... no
> configure: WARNING: *** No working file locking capability found!
> configure: WARNING: *** Be VERY VERY careful.
> configure: creating ./config.status
> 
> 
> with amanda 2.4.3 it finds fcntl.
> 
> what is wrong?

Wish I could tell you.  I had same thing happen on Solaris
several years ago.  And it had all the locking techniques 
configure was supposed to be testing for.

I went into the config/config.h file and found the #define
for the style locking I wanted it to use and changed it from
no to yes (or whatever boolean it was using).

For me, in later builds it did not happen.

-- 
Jon H. LaBadie  [EMAIL PROTECTED] 
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)

BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Henk Martijn
TEL;WORK:08-632 77 95
ORG:;Bildgenerering / EIT
EMAIL;WORK;PREF:[EMAIL PROTECTED]
N:Martijn;Henk
X-GWUSERID:henmar
END:VCARD



Re: file locking on HPUX11.00 and amanda 2.4.4p1

2003-08-01 Thread Henk Martijn


Henk Martijn
ACREO AB   
Electrum 236 Tel:+46 8 632 7795
S-164 40 KistaFax:+46 8 750 5430
Sweden   e-mail: [EMAIL PROTECTED]


>>> Gene Heskett <[EMAIL PROTECTED]> 16:52:39 2003-08-01 >>>
On Friday 01 August 2003 10:40, Henk Martijn wrote:
>Hi,
>
>I found the following problem when trying to configure amanda
> 2.4.4p1:
>
>./configure --prefix=/opt/local --with-user=amanda -with-group=sys
> --with-config=daily --with-tape-devoce=/dev/rmt/0mn 
>checking whether posix fcntl locking works... no
>checking whether flock locking works... no
>checking whether lockf locking works... no
>checking whether lnlock locking works... no
>configure: WARNING: *** No working file locking capability found!
>configure: WARNING: *** Be VERY VERY careful.
>configure: creating ./config.status
>
>
>with amanda 2.4.3 it finds fcntl.
>
>what is wrong?
>
Thats not something I've run into here, but is that a cut-paste or a 
typo where you have "--with-tape-devoce"? above

That's a typo

>
>Henk Martijn
>ACREO AB
>Electrum 236 Tel:+46 8 632 7795
>S-164 40 KistaFax:+46 8 750 5430
>Sweden   e-mail: [EMAIL PROTECTED] 

-- 
Cheers, Gene
AMD [EMAIL PROTECTED] 320M
[EMAIL PROTECTED]  512M
99.27% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.


BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Henk Martijn
TEL;WORK:08-632 77 95
ORG:;Bildgenerering / EIT
EMAIL;WORK;PREF:[EMAIL PROTECTED]
N:Martijn;Henk
X-GWUSERID:henmar
END:VCARD



file locking on HPUX11.00 and amanda 2.4.4p1

2003-08-01 Thread Henk Martijn
Hi,

I found the following problem when trying to configure amanda 2.4.4p1:

./configure --prefix=/opt/local --with-user=amanda -with-group=sys --with-config=daily 
--with-tape-devoce=/dev/rmt/0mn

checking whether posix fcntl locking works... no
checking whether flock locking works... no
checking whether lockf locking works... no
checking whether lnlock locking works... no
configure: WARNING: *** No working file locking capability found!
configure: WARNING: *** Be VERY VERY careful.
configure: creating ./config.status


with amanda 2.4.3 it finds fcntl.

what is wrong?


Henk Martijn
ACREO AB   
Electrum 236 Tel:+46 8 632 7795
S-164 40 KistaFax:+46 8 750 5430
Sweden   e-mail: [EMAIL PROTECTED]


BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Henk Martijn
TEL;WORK:08-632 77 95
ORG:;Bildgenerering / EIT
EMAIL;WORK;PREF:[EMAIL PROTECTED]
N:Martijn;Henk
X-GWUSERID:henmar
END:VCARD



Compile error 2.4.3 on hp10.20

2003-01-17 Thread Henk Martijn
Hi, 

I found a problem with compiling the changer-src:

I run configure with the following parameters:

./configure --prefix=/opt/local/amanda --program-suffix=2.4.3 --with-user=amanda 
--with-group=sys --with-config=daily --with-tape-device=/dev/rmt/0n
chg-scsi-chio.c: In function `main':chg-scsi-chio.c:644: `conffile' undeclared (first 
use in this function)chg-scsi-chio.c:644: (Each undeclared identifier is reported only 
oncechg-scsi-chio.c:644: for each function it appears in.)

ggc version 2.8.1 (old I know)

I've compiled amanda versions before with this version of gcc without problems

I don't need changer support so how do I prevent it from compiling?

What am I missing?

Henk Martijn
ACREO AB   
Electrum 236 Tel:+46 8 632 7795
S-164 40 KistaFax:+46 8 750 5430
Sweden   e-mail: [EMAIL PROTECTED]



BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Henk Martijn
TEL;WORK:08-632 77 95
ORG:;Bildgenerering / EIT
EMAIL;WORK;PREF:[EMAIL PROTECTED]
N:Martijn;Henk
X-GWUSERID:henmar
END:VCARD




Re: Amanda client for HPUX 11?

2001-04-24 Thread Henk Martijn

The following happens when you want to use the HPUX bundled compiler on both 10.20 and 
11:

configure runs OK,
 
but first use of cc gives following:

-DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -D_FILE_OFFSET_BITS=64 - 
D_FILE_OFFSET_BITS=64 -Ae -c alloc.c (Bundled) cc: warning 480: The -A option is 
available only with the C/ANSI C pro duct; ignored. (Bundled) cc: "amanda.h", line 
506: error 1000: Unexpected symbol: "*". (Bundled) cc: "amanda.h", line 709: error 
1000: Unexpected symbol: "uid_t". (Bundled) cc: "amanda.h", line 709: error 1000: 
Unexpected symbol: "gid". (Bundled) cc: "amanda.h", line 359: error 1705: Function 
prototypes are an ANSI feature...

The bundled HPUX C compiler is not even ANSI C compatible!
/Henk

Henk Martijn
ACREO AB   
Electrum 236 Tel:+46 8 632 7795
S-164 40 KistaFax:+46 8 750 5430
Sweden   e-mail: [EMAIL PROTECTED]


>>> Alexandre Oliva <[EMAIL PROTECTED]> 09:47:37 2001-04-24 >>>
On Apr 24, 2001, "Henk Martijn" <[EMAIL PROTECTED]> wrote:

> The compiler that comes with HPUX is very limited

Amanda should be buildable with a K&R C compiler, which the compiler
that comes with HP-UX is.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ 
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Henk Martijn
TEL;WORK:08-632 77 95
ORG:;Bildgenerering / EIT
EMAIL;WORK;PREF:[EMAIL PROTECTED]
N:Martijn;Henk
X-GWUSERID:henmar
END:VCARD




unclear (wrong?) amanda report

2000-11-15 Thread Henk Martijn

Hi,

Today I found in amanda's report among others the following lines


NOTES:
  planner: Incremental of ursus:c0t3d0 bumped to level 2.
  taper: tape VOL6 kb 5810080 fm 23 [OK]

DUMP SUMMARY:
  DUMPER STATS  TAPER STATS
HOSTNAME  DISK   L  ORIG-KB   OUT-KB COMP%  MMM:SS   KB/s  MMM:SS   KB/s
-- -- --

ursus c0t3d0 0  5769600  5769600   --   121:10  793.6  121:11  793.5

(brought to you by Amanda version 2.4.1p1)


Planner says it will do a level 2 incremental, but it does a level 0 
Why?

Henk Martijn
ACREO AB   
Electrum 236 Tel:+46 8 632 7795
S-164 40 KistaFax:+46 8 750 5430
Sweden   e-mail: [EMAIL PROTECTED]




BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Henk Martijn
TEL;WORK:08-632 77 95
ORG:;Bildgenerering / EIT
EMAIL;WORK;PREF:[EMAIL PROTECTED]
N:Martijn;Henk
X-GWUSERID:henmar
END:VCARD




Re: Two quick questions.

2000-11-10 Thread Henk Martijn

Instead of running amdump directly from cron you can run a script like:

#!/bin/sh
/opt/local/amanda/sbin/amdump daily && /opt/local/bin/mt -f /dev/rmt/0mn rewoffl



/Henk

Henk Martijn
ACREO AB   
Electrum 236 Tel:+46 8 632 7795
S-164 40 KistaFax:+46 8 750 5430
Sweden   e-mail: [EMAIL PROTECTED]




BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Henk Martijn
TEL;WORK:08-632 77 95
ORG:;Bildgenerering / EIT
EMAIL;WORK;PREF:[EMAIL PROTECTED]
N:Martijn;Henk
X-GWUSERID:henmar
END:VCARD




Re: Change Tape Cycle?

2000-11-10 Thread Henk Martijn

I think you can just go ahead and give it tape 17, because it expetcs tape 1 or a new 
tape.

/Henk

Henk Martijn
ACREO AB   
Electrum 236 Tel:+46 8 632 7795
S-164 40 KistaFax:+46 8 750 5430
Sweden   e-mail: [EMAIL PROTECTED]


>>> "Robert L. Harris" <[EMAIL PROTECTED]> 11/10/00 04:22PM >>>

I originally set up my system with 16 tapes.  I got some more in and
want to
use 25.  My job last night was on tape 16, and according to the report,
expects
tape 1 tonight.  My amanda.conf says there are 25 tapes in cycle.  How
do I get
it to plan on more tapes?  Do I need to manualy edit the TapeList file?

--

:wq!
---
Robert L. Harris|  Micros~1 :
Unix System Administrator   |For when quality, reliability
  at Agency.com |  and security just aren't
\_   that important!
DISCLAIMER:
  These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'






BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Henk Martijn
TEL;WORK:08-632 77 95
ORG:;Bildgenerering / EIT
EMAIL;WORK;PREF:[EMAIL PROTECTED]
N:Martijn;Henk
X-GWUSERID:henmar
END:VCARD