|
I ran the following: gdb
/usr/bin/aide.real Here is the output: GNU gdb 6.4-debian Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and
you are welcome to change it and/or distribute copies of it under certain
conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show
warranty" for details. This GDB was configured as "sparc-linux-gnu"...(no debugging
symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run --check Starting program: /usr/bin/aide.real --check warning: shared library handler failed to enable breakpoint File database must have one db_spec specification Program received signal SIGSEGV, Segmentation fault. 0x0002034c in ?? () (gdb) bt #0 0x0002034c in ?? () #1 0x0000000c in ?? () Previous frame identical to this frame (corrupt stack?) (gdb) Hope this helps, thanks again. Regards, Morgan Morgan Walker Systems Administrator/Engineer M•CAM, Inc. 434.979.7240 x311 http://www.m-cam.com ========================================================= This message, including any attachments, is intended solely for the use of the named recipient(s) and may contain confidential and/or privileged information. Any unauthorized review, use, disclosure
or distribution of this communication(s) is expressly prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy any and all copies of the original message. Thank you. ========================================================= -----Original Message----- 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 |
_______________________________________________ Aide mailing list [email protected] https://mailman.cs.tut.fi/mailman/listinfo/aide
