Discussion:
[Aide] DataBase
James
2012-12-13 06:58:07 UTC
Permalink
I was wondering why I was not getting any reports until I discovered that
the database was missing. I never used a database unless it was a part of a
program and I never needed to access it directly. I have LibreOffice Base
and I am wondering if that will allow me to create the database necessary
to get AIDE to function? I have no idea how to set it up and any assistance
will be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.cs.tut.fi/pipermail/aide/attachments/20121212/ca265d34/attachment.html
Richard van den Berg
2012-12-13 07:18:25 UTC
Permalink
I have no idea how to set it up and any assistance will be appreciated.
Try this: aide --init

If you didn't read the documentation, aide will be of little use to you.

Regards,

Richard
James
2012-12-13 19:41:00 UTC
Permalink
Thank you for your reply. I do not know if it is appropriate, but I added
you as a blind courtesy copy (BCC).

I am a beginner in the use of Linux (Ubuntu 12.04 AMD64). I tried this
before and it does not work. I get the same results running the command
under root. I do not understand the error message other than the file does
not exist. The more I play with it, the more I think the problem goes
deeper than a missing database.

*:~$ aide --init*
*Couldn't open file
/var/lib/aide/please-dont-call-aide-without-parameters/aide.db.new for
writing*
*:~$ *


[/var/lib/aide is a directory, not a file.]

*:~$ ls /var/lib/aide*
*aide.conf.autogenerated*
*:~$ *


Reading the documentation is one thing, understanding the documentation is
more difficult especially for the beginner that must go to multiple sources
to collate fragmented data relevant to the documentation. Please understand
that I know how difficult it is for an expert to write documentation for
the beginner, but that is a discussion for another venue.

Please feel free to delete the non-technical portions before archiving our
correspondence.

*IN GOD WE TRUST*
James

On Thu, Dec 13, 2012 at 12:18 AM, Richard van den Berg
Post by Richard van den Berg
I have no idea how to set it up and any assistance will be appreciated.
Try this: aide --init
If you didn't read the documentation, aide will be of little use to you.
Regards,
Richard
_______________________________________________
Aide mailing list
Aide at cs.tut.fi
https://mailman.cs.tut.fi/mailman/listinfo/aide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.cs.tut.fi/pipermail/aide/attachments/20121213/3782b492/attachment.html
Richard van den Berg
2012-12-13 20:02:06 UTC
Permalink
Post by James
Thank you for your reply. I do not know if it is appropriate, but I
added you as a blind courtesy copy (BCC).
A Bcc or Cc is not needed since I am on this list. As a result I
received your message twice.
Post by James
*:~$ aide --init*
*Couldn't open file
/var/lib/aide/please-dont-call-aide-without-parameters/aide.db.new
for writing*
*:~$
*
The problem is that you are using the Ubuntu package of aide which is
meant to use with a wrapper around it. Try: dpkg-reconfigure aide
If that doesn't help read the documentation in /usr/share/doc/aide or
ask around on an Ubuntu forum.

Or if you do not want to use the Ubuntu wrapper edit /etc/aide/aide.conf
to your liking.

Kind regards,

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.cs.tut.fi/pipermail/aide/attachments/20121213/a112569a/attachment-0001.html
Loading...