Discussion:
[Aide] help with aide..
Abel
2016-09-24 15:55:30 UTC
Permalink
I compiled aide from source with mhash and hmac options and installed
and everything went ok until I ran aide --init ;I get this error msg:

21:Error in expression:sha256
Configuration error


TIA for any help you can give. :)
Hannes von Haugwitz
2016-09-24 17:12:53 UTC
Permalink
Hi,
I compiled aide from source with mhash and hmac options and installed and
21:Error in expression:sha256
Configuration error
Please provide more information about your setup (eg your OS, the output
of 'aide --version' and at least line 21 of your config ;-) ).

Best regards

Hannes
Abel
2016-09-24 17:30:44 UTC
Permalink
ok sorry I'm using Ubuntu 16.04 LTS, AIDE version 0.16a2-19-g16ed855
compiled with:
WITH_MMAP
WITH_LSTAT64
WITH_READDIR64
WITH_ZLIB
CONFIG_FILE = "/usr/local/etc/aide.conf"

line 21:
Checksums = sha256+sha512+rmd160+haval+gost+crc32+tiger

and this how I configured it:

./configure --withmhash --with-confighmactype=sha512
--with-confighmackey=rzZSsdgba4MZCn3i09p6in2890b9aCx
--with-dbhmactype=sha1 --with-dbhmackey=GOhgD4wnJfgwJIY4tD8/i6EmLbd1NBb


TIA

On Sat, Sep 24, 2016 at 12:12 PM, Hannes von Haugwitz
Post by Hannes von Haugwitz
Hi,
Post by Abel
I compiled aide from source with mhash and hmac options and
installed and
21:Error in expression:sha256
Configuration error
Please provide more information about your setup (eg your OS, the output
of 'aide --version' and at least line 21 of your config ;-) ).
Best regards
Hannes
_______________________________________________
Aide mailing list
https://www.ipi.fi/mailman/listinfo/aide
Hannes von Haugwitz
2016-09-24 17:52:04 UTC
Permalink
Hi,
Post by Abel
ok sorry I'm using Ubuntu 16.04 LTS, AIDE version 0.16a2-19-g16ed855
You might consider to use the latest upstream release (AIDE 0.16), if
you compile it yourself anyway. I would give the sources from yakkety a
try.
Post by Abel
WITH_MMAP
WITH_LSTAT64
WITH_READDIR64
WITH_ZLIB
CONFIG_FILE = "/usr/local/etc/aide.conf"
WITH_MHASH is missing here.
Post by Abel
./configure --withmhash --with-confighmactype=sha512
--with-confighmackey=rzZSsdgba4MZCn3i09p6in2890b9aCx --with-dbhmactype=sha1
--with-dbhmackey=GOhgD4wnJfgwJIY4tD8/i6EmLbd1NBb
Install libmhash-dev and try to replace '--withmhash' by '--with-mhash'.

Best regards

Hannes
Abel
2016-09-24 18:20:53 UTC
Permalink
thanks very much Hannes that did the trick. :)

On Sat, Sep 24, 2016 at 12:52 PM, Hannes von Haugwitz
Post by Hannes von Haugwitz
Hi,
Post by Abel
ok sorry I'm using Ubuntu 16.04 LTS, AIDE version 0.16a2-19-g16ed855
You might consider to use the latest upstream release (AIDE 0.16), if
you compile it yourself anyway. I would give the sources from yakkety a
try.
Post by Abel
WITH_MMAP
WITH_LSTAT64
WITH_READDIR64
WITH_ZLIB
CONFIG_FILE = "/usr/local/etc/aide.conf"
WITH_MHASH is missing here.
Post by Abel
./configure --withmhash --with-confighmactype=sha512
--with-confighmackey=rzZSsdgba4MZCn3i09p6in2890b9aCx
--with-dbhmactype=sha1
--with-dbhmackey=GOhgD4wnJfgwJIY4tD8/i6EmLbd1NBb
Install libmhash-dev and try to replace '--withmhash' by
'--with-mhash'.
Best regards
Hannes
_______________________________________________
Aide mailing list
https://www.ipi.fi/mailman/listinfo/aide
Andrew Huffman
2016-09-26 15:16:04 UTC
Permalink
If I recall, the 21: may indicate the line in your aide.conf where the
error is in syntax. Start there.
I compiled aide from source with mhash and hmac options and installed and
21:Error in expression:sha256
Configuration error
TIA for any help you can give. :)
_______________________________________________
Aide mailing list
https://www.ipi.fi/mailman/listinfo/aide
Continue reading on narkive:
Loading...