[Aide] Segmentation fault

Richard van den Berg richard at vdberg.org
Mon Mar 13 22:46:13 EET 2006


Morgan Walker wrote:
> I am using aide-0.11.  I am not sure how to use gdb to run aide, however
> I will attempt to figure that out,

I am not sure about the debian package, but you should be able to run 
something like: gdb /usr/bin/aide.real
and then inside gdb: run --check
When the seg fault occurs, type: bt

> database=file:/var/lib/aide/aide.db
> database_out=file:/var/lib/aide/aide.db.new
> 
> # Change this to "no" or remove it to not gzip output
> # (only useful on systems with few CPU cycles to spare)
> gzip_dbout=yes

It looks like your database at /var/lib/aide/aide.db is corrupted. It 
should be a gzipped file which starts out like this:

@@begin_db
# This file was generated by Aide, version 0.11
# Time of generation was 2006-03-05 01:15:26
@@db_spec

Still, aide should not seg fault when it encounters a corrupted aide.db. 
Please send the result from the gdb back trace.

Sincerely,

Richard van den Berg

PS: do not forget to Cc the list when replying


More information about the Aide mailing list