Discussion:
[Aide] install using centos rpm
Yunker, James M CIV NUWC NWPT
2014-03-11 20:40:30 UTC
Permalink
While running AIDE the program crashes or terminates after a few minutes with the message shown below:


Code:
Caught SIGBUS/SEGV while mmapping. File was truncated while aide was running?
Caught SIGBUS/SEGV. Exiting What is wrong here?

One website on the internet said to configure AIDE without mmaping - except it did not say how to do that or why one should do that?

What does this error mean and how do I fix it?

Thanks.

R,

James M. Yunker

I am using Centos 6.5, 64 bit Linux. I installed and then received this error when it crashed. It has never crated a complete database of my computer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5621 bytes
Desc: not available
URL: <http://mailman.cs.tut.fi/pipermail/aide/attachments/20140311/2f8c20f6/attachment.bin>
Richard van den Berg
2014-03-11 22:43:40 UTC
Permalink
Post by Yunker, James M CIV NUWC NWPT
One website on the internet said to configure AIDE without mmaping - except it did not say how to do that or why one should do that?
How: ./configure --without-mmap
Why: to get rid of your errors

Kind regards,

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.tut.fi/pipermail/aide/attachments/20140311/57182ce2/attachment.html>
Yunker, James M CIV NUWC NWPT
2014-03-13 16:26:37 UTC
Permalink
I re-ran configure using what you said:

./configure --without-mmap

and the following output was seen:

Checking for deflate in : lz ... no
Configure: error: You don't have zlib properly installed. Install it or try --with-out-zlib.

I am using Centos 6.5, 64 bit. I have zlib installed for both 32 and 64 bits. I am not sure what
They are saying.

I reinstalled zlib using :

sudo yum install zlib

so it should be okay.

It still gave me the same error when I re-installed zlib, and reran:

./configure --without-mmap


Then I tried :

./configure --without-mmap --without-zlib

The following output was seen:

checking for mhash get_block_size in -lmhash... no
configure: WARNING : No mhash means no hmac.
checking for gpg_sterror in-lgpg-error ... no
configure error: You need to have libgpg-error.a install to use libcrypt.


Now I am not sure what else to do.

It seems that I should configure with zlib,

It says it is not installed improperly.

I am assuming it is looking for the 64 bit zlib, since my native operating system is Centos 6.5, 64 bit.

I am guessing it is not find zlib and I must direct configure it to find zlib.

I am just not sure if I am even on the correct track or not. It is just not finding zlib.

How do I direct it to find it?

What else can I do?

Any help appreciated.

Thanks in advance.

Respectfully,

James M. Yunker








-----Original Message-----
From: Yunker, James M CIV NUWC NWPT
Sent: Tuesday, March 11, 2014 4:41 PM
To: 'aide at cs.tut.fi'
Subject: install using centos rpm

While running AIDE the program crashes or terminates after a few minutes with the message shown below:


Code:
Caught SIGBUS/SEGV while mmapping. File was truncated while aide was running?
Caught SIGBUS/SEGV. Exiting What is wrong here?

One website on the internet said to configure AIDE without mmaping - except it did not say how to do that or why one should do that?

What does this error mean and how do I fix it?

Thanks.

R,

James M. Yunker

I am using Centos 6.5, 64 bit Linux. I installed and then received this error when it crashed. It has never crated a complete database of my computer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5621 bytes
Desc: not available
URL: <http://mailman.cs.tut.fi/pipermail/aide/attachments/20140313/6db75c8c/attachment.bin>
Keith Constable
2014-03-13 21:02:17 UTC
Permalink
James,

Generally speaking, when a package build system complains about a missing library, it is looking for the "-devel" version of it. You may want to check the CentOS packaging system for a zlib-devel and libcrypt-devel or something similar.

Regards,

Keith Constable
Post by Yunker, James M CIV NUWC NWPT
./configure --without-mmap
Checking for deflate in : lz ... no
Configure: error: You don't have zlib properly installed. Install it or try --with-out-zlib.
I am using Centos 6.5, 64 bit. I have zlib installed for both 32 and 64 bits. I am not sure what
They are saying.
sudo yum install zlib
so it should be okay.
./configure --without-mmap
./configure --without-mmap --without-zlib
checking for mhash get_block_size in -lmhash... no
configure: WARNING : No mhash means no hmac.
checking for gpg_sterror in-lgpg-error ... no
configure error: You need to have libgpg-error.a install to use libcrypt.
Now I am not sure what else to do.
It seems that I should configure with zlib,
It says it is not installed improperly.
I am assuming it is looking for the 64 bit zlib, since my native operating system is Centos 6.5, 64 bit.
I am guessing it is not find zlib and I must direct configure it to find zlib.
I am just not sure if I am even on the correct track or not. It is just not finding zlib.
How do I direct it to find it?
What else can I do?
Any help appreciated.
Thanks in advance.
Respectfully,
James M. Yunker
-----Original Message-----
From: Yunker, James M CIV NUWC NWPT
Sent: Tuesday, March 11, 2014 4:41 PM
To: 'aide at cs.tut.fi'
Subject: install using centos rpm
Caught SIGBUS/SEGV while mmapping. File was truncated while aide was running?
Caught SIGBUS/SEGV. Exiting What is wrong here?
One website on the internet said to configure AIDE without mmaping - except it did not say how to do that or why one should do that?
What does this error mean and how do I fix it?
Thanks.
R,
James M. Yunker
I am using Centos 6.5, 64 bit Linux. I installed and then received this error when it crashed. It has never crated a complete database of my computer.
_______________________________________________
Aide mailing list
Aide at cs.tut.fi
https://mailman.cs.tut.fi/mailman/listinfo/aide
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2849 bytes
Desc: not available
URL: <http://mailman.cs.tut.fi/pipermail/aide/attachments/20140313/0fc6ce5e/attachment.bin>
Yunker, James M CIV NUWC NWPT
2014-03-14 14:05:13 UTC
Permalink
I think that I did not make something clear and that I should clear it up immediately.

I started by installing an rpm version of aide.

sudo yum install aide

when I ran aide --init

this is when I got

Caught SIGBUS/SEGV while mmaping. File was truncated while aide was running.
Caught SIGBUS/SEGV. Exiting.

This as I said was from an rpm install of aide.

Now when you said to configure without mmaping, I assumed that you meant to configure
Like this,

configure,

make,

make install.

Could you have meant the aide.conf file instead?

Once I received the initial error on my rpm install, I went to the

aide-0.15.1.tar.gz

method of installing aide. I then ran configure, make and make install.

So maybe when you said to use configure without mmaping, you meant the

Aide.conf file?

Is this possible?

Thanks in advance.


Respectfully,

James M. Yunker





-----Original Message-----
From: Yunker, James M CIV NUWC NWPT
Sent: Tuesday, March 11, 2014 4:41 PM
To: 'aide at cs.tut.fi'
Subject: install using centos rpm

While running AIDE the program crashes or terminates after a few minutes with the message shown below:


Code:
Caught SIGBUS/SEGV while mmapping. File was truncated while aide was running?
Caught SIGBUS/SEGV. Exiting What is wrong here?

One website on the internet said to configure AIDE without mmaping - except it did not say how to do that or why one should do that?

What does this error mean and how do I fix it?

Thanks.

R,

James M. Yunker

I am using Centos 6.5, 64 bit Linux. I installed and then received this error when it crashed. It has never crated a complete database of my computer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5621 bytes
Desc: not available
URL: <http://mailman.cs.tut.fi/pipermail/aide/attachments/20140314/fbaf484a/attachment.bin>
Ramon Long
2014-03-14 15:29:50 UTC
Permalink
James,

Good morning.
From a SysAdmin perspective you should choose whether to build from source or install from your OS' package management system. If you need to recompile for a particular feature, you should try removing the RPM that you installed.
Regards,

Ramon Long
Director of Information Systems
Evolve, Inc.
Advertising + Marketing + Public Relations
tel: 252.754.2957 ext. 111
ramon at evolveinc.com


-----Original Message-----
From: Aide [mailto:aide-bounces at cs.tut.fi] On Behalf Of Yunker, James M CIV NUWC NWPT
Sent: Friday, March 14, 2014 10:05 AM
To: aide at cs.tut.fi
Subject: Re: [Aide] install using centos rpm

I think that I did not make something clear and that I should clear it up immediately.

I started by installing an rpm version of aide.

sudo yum install aide

when I ran aide --init

this is when I got

Caught SIGBUS/SEGV while mmaping. File was truncated while aide was running.
Caught SIGBUS/SEGV. Exiting.

This as I said was from an rpm install of aide.

Now when you said to configure without mmaping, I assumed that you meant to configure Like this,

configure,

make,

make install.

Could you have meant the aide.conf file instead?

Once I received the initial error on my rpm install, I went to the

aide-0.15.1.tar.gz

method of installing aide. I then ran configure, make and make install.

So maybe when you said to use configure without mmaping, you meant the

Aide.conf file?

Is this possible?

Thanks in advance.


Respectfully,

James M. Yunker





-----Original Message-----
From: Yunker, James M CIV NUWC NWPT
Sent: Tuesday, March 11, 2014 4:41 PM
To: 'aide at cs.tut.fi'
Subject: install using centos rpm

While running AIDE the program crashes or terminates after a few minutes with the message shown below:


Code:
Caught SIGBUS/SEGV while mmapping. File was truncated while aide was running?
Caught SIGBUS/SEGV. Exiting What is wrong here?

One website on the internet said to configure AIDE without mmaping - except it did not say how to do that or why one should do that?

What does this error mean and how do I fix it?

Thanks.

R,

James M. Yunker

I am using Centos 6.5, 64 bit Linux. I installed and then received this error when it crashed. It has never crated a complete database of my computer.
Keith Constable
2014-03-14 14:49:27 UTC
Permalink
I believe you understood correctly. Allow me to explain more
explicitly. When you install a library package with Yum (for example
zlib), you generally only get the binary library .so files. This is
all you need to run an application linked to those libraries.

However, compiling a package from source requires the source headers
(.h files) of the required libraries. These are not packaged in the
main RPM for the library, since they are not usually needed. Instead,
they are packaged in a "devel" RPM. So I believe to correct your issue
with zlib, you can run "yum install zlib-devel". You will need to
install the -devel package for any other libraries the configure
script complains about.

Regards,

Keith Constable
Post by Yunker, James M CIV NUWC NWPT
I think that I did not make something clear and that I should clear it up immediately.
I started by installing an rpm version of aide.
sudo yum install aide
when I ran aide --init
this is when I got
Caught SIGBUS/SEGV while mmaping. File was truncated while aide was running.
Caught SIGBUS/SEGV. Exiting.
This as I said was from an rpm install of aide.
Now when you said to configure without mmaping, I assumed that you meant to configure
Like this,
configure,
make,
make install.
Could you have meant the aide.conf file instead?
Once I received the initial error on my rpm install, I went to the
aide-0.15.1.tar.gz
method of installing aide. I then ran configure, make and make install.
So maybe when you said to use configure without mmaping, you meant the
Aide.conf file?
Is this possible?
Thanks in advance.
Respectfully,
James M. Yunker
-----Original Message-----
From: Yunker, James M CIV NUWC NWPT
Sent: Tuesday, March 11, 2014 4:41 PM
To: 'aide at cs.tut.fi'
Subject: install using centos rpm
Caught SIGBUS/SEGV while mmapping. File was truncated while aide was running?
Caught SIGBUS/SEGV. Exiting What is wrong here?
One website on the internet said to configure AIDE without mmaping - except it did not say how to do that or why one should do that?
What does this error mean and how do I fix it?
Thanks.
R,
James M. Yunker
I am using Centos 6.5, 64 bit Linux. I installed and then received this error when it crashed. It has never crated a complete database of my computer.
_______________________________________________
Aide mailing list
Aide at cs.tut.fi
https://mailman.cs.tut.fi/mailman/listinfo/aide
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2760 bytes
Desc: not available
URL: <http://mailman.cs.tut.fi/pipermail/aide/attachments/20140314/21ceb3f8/attachment-0001.bin>
Richard van den Berg
2014-03-14 19:36:14 UTC
Permalink
Post by Yunker, James M CIV NUWC NWPT
So maybe when you said to use configure without mmaping, you meant the
Aide.conf file?
Is this possible?
No, that is not possible. I said to run ./configure which is the configure script from the aide tar.gz. I know nothing about the aide rpm file.

Kind regards,

Richard

Continue reading on narkive:
Loading...