apt - AIDE --into return code 18 - Ask Ubuntu
i've been trying absolutely fix issue "aide" did apt-get update && apt autoclean
before installing apt-get install aide
, thing every time want run aide --init
or aideinit
returns error
couldn't open file var/lib/aide/ please don't call aid without parameters/aide.db.new writing
i did apt-get install --reinstall aide
i've tried
sudo touch/var/lib/aide.db sudo chmod 600 /var/lib/aide/aide.db sudo aide --config=/use/share/aide/config/aide/aide.conf --check
because missing .db
file
i can not find solution anywhere, uninstalled aide, cleaned system , reinstalled , there no aide.conf
file , no aide.db
file.
is program corrupt or missing on whole sudo apt-get install aide
syntax?
i did install these packages
sudo apt-get install gcc byacc sudo apt-get install flex sudo apt-get install bison sudo apt-get install libmhash2 libmhash-dev sudo apt-get install postgresql-server-dev-8.3 sudo apt-get install libpcre3 libpcre3-dev sudo apt-get install libpng-dev zlib1g-dev
then able take aide-0.16 file , ran these commands
tar xvzf aide-0.16.tar.gz ./configure make make install cp /etc/aide/aide.conf/ /usr/share/etc/aide.conf/ mv /var/lib/aide/aide.db.new/ /var/lib/aide/aide.db/ sudo aide sudo aide --init sudo aide --check reboot
Comments
Post a Comment