You are not logged in.

#1 2018-08-21 00:08:19

luciferHasa
Member
Registered: 2018-08-20
Posts: 29

aide first run [error: cannot acess files for writing]

hello world! big_smile
so i installed aide, both with pacman and yay, thought there might be a difference in the two versions but I'm kinda outta luck here,
i tried many aide commands that were listed in the wiki and tried many things from google, but i couldn't come up with a solution

what i did broken down to points;

1. installed aide
2. tried

aide -D, -i, --init etc

3. all gave the same out put, pasting it below

Couldn't open file /var/log/aide/aide.log for writing
Cannot open /var/log/aide/aide.log for writing
Warning: group 'ALLXTRAHASHES' is redefined
Couldn't open file /var/lib/aide/aide.db.new.gz for writing

4. tried the following

sudo touch /var/lib/aide/aide.db
sudo chmod 600 /var/lib/aide/aide.

[tried this

sudo mv /var/lib/aide/aide.dc.new.gz /var/lib/aide.db.gz

but it didnt work as that website said

so gave above two comands for the "aide.log" and "aide.db.new.gz" files as well

didn't solve

Cannot open /var/log/aide/aide.log for writing
Warning: group 'ALLXTRAHASHES' is redefined

yet,

5. so opened /etc/aide.conf
6. just thought for a while and commented out both ALLXTRAHASHES = and created an empty

ALLXTRAHASHES =

7. that gave the following out put

Couldn't open file /var/log/aide/aide.log for writing
Cannot open /var/log/aide/aide.log for writing
63:syntax error:

63:Error while reading configuration:

Configuration error

8. so i thought it must be the log file so i deleted it lol but no change.
any ideas? i dont know where to post this even because im new to this forum smile
thanks in advance..

Last edited by luciferHasa (2018-08-21 01:28:01)

Offline

#2 2018-08-21 00:11:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: aide first run [error: cannot acess files for writing]

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-08-21 00:14:26

luciferHasa
Member
Registered: 2018-08-20
Posts: 29

Re: aide first run [error: cannot acess files for writing]

oh okay didnt know that, but the console is a mess thats why i just pasted the few lines that were necessary hmm smile

Offline

Board footer

Powered by FluxBB