[Aide] Could not open file

Hannes von Haugwitz hannes at vonhaugwitz.com
Tue Nov 23 14:54:59 EET 2010


On Thu, Oct 07, 2010 at 06:25:50AM -0700, Joel wrote:
> I recently installed Aide 0.15.1 on my Redhat linux server, version 5.  
> The  install produced no errors, but after editing the aide.conf and  
> initializing the database, I got an error when trying to check the  database.  
> It said it could not open /tmp/aide-0.15.1/etc/aide.db  I  don't have an "etc" 
> directory located in the aide-0.15.1 folder.  The  aide.db.new file writes to 
> the standard /etc/ directory. I cp  aide.db.new aide.db, but I can't get it to 
> read from the standard /etc/  location
> 
> How can I fix my configuration? 
> 
> This is what my aide.conf file looks like:
> 
[...]
> #The location of the database to be read.
> database=file:aide.db
> #database=file:@@{TOPDIR}/
> 
> #The location of the database to be written
> #database_out=sql:host:port:database:login_name:passwd:table
> #database_out=file:aide.db.new
> database_out=file:aide.db.new

Did you try absolute pathnames (e.g. database=file:/etc/aide/aide.db)?

Does your problem still exist? If so, please provide more information
about how you build your aide binary (for instance configure options).

Greetings

Hannes


More information about the Aide mailing list