Closed doasmike closed 4 years ago
The problem could also be that you are running out of inodes. What is the output of df -i
?
The problem could also be that you are running out of inodes. What is the output of
df -i
?
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 1012066 469 1011597 1% /dev
tmpfs 1019106 840 1018266 1% /run
/dev/sda5 1277952 363841 914111 29% /
tmpfs 1019106 58 1019048 1% /dev/shm
tmpfs 1019106 5 1019101 1% /run/lock
tmpfs 1019106 18 1019088 1% /sys/fs/cgroup
/dev/loop0 10765 10765 0 100% /snap/core18/1705
/dev/loop1 25913 25913 0 100% /snap/gnome-3-34-1804/24
/dev/loop3 24339 24339 0 100% /snap/gnome-3-34-1804/36
/dev/loop2 10756 10756 0 100% /snap/core18/1880
/dev/loop6 15827 15827 0 100% /snap/snap-store/433
/dev/loop4 62342 62342 0 100% /snap/gtk-common-themes/1506
/dev/loop7 463 463 0 100% /snap/snapd/8542
/dev/loop5 459 459 0 100% /snap/snapd/7264
/dev/loop8 15827 15827 0 100% /snap/snap-store/467
/dev/sda1 0 0 0 - /boot/efi
tmpfs 1019106 93 1019013 1% /run/user/1000
/dev/sr0 0 0 0 - /media/mike/VBox_GAs_6.0.20
I'm not really sure what causes this. Normally, 24 GB of disk space should be enough (assuming there isn't much else on the disk).
You could try enlarging the disk of the VM or moving the cwe_checker
out of the plugin folder temporarily (since it is by far the largest plugin and takes up ~5 GB alone) and then starting the installation again.
I'd say more than 5 GB actually since the docker container is like 7.5 GB alone. The FACT your df
shows 6.5 GB of free space might be misleading since the containers are probably stored in total or cleaned up. So it's fairly possible that docker pull found not enough space, deleted the temporary files and you're back to 6.5 GB of free space.
Anyway, deleting the CWE checker directory (i.e. src/plugins/analysis/cwe_checker
) is a safe option to test if everything else runs fine.
We should probably fix the hardware requirements in the README @jstucke
I'm not really sure what causes this. Normally, 24 GB of disk space should be enough (assuming there isn't much else on the disk). You could try enlarging the disk of the VM or moving the
cwe_checker
out of the plugin folder temporarily (since it is by far the largest plugin and takes up ~5 GB alone) and then starting the installation again.
After moving "cwe_checker":
mike@mike-VirtualBox:~/FACT_core$ ~/FACT_core/src/install.py
[2020-07-30 18:07:48][install][INFO]: FACT Installer 1.1
[2020-07-30 18:07:48][install][INFO]: Installing apt-transport-https
[sudo] hasło użytkownika mike:
[2020-07-30 18:07:55][common][INFO]: Updating system
[2020-07-30 18:08:01][install][INFO]: Installing python3 python3-dev build-essential automake autoconf libtool git unzip
[2020-07-30 18:08:03][install][INFO]: Installing testresources
[2020-07-30 18:08:07][install][INFO]: Removing python3-pip python3-setuptools python3-wheel
[2020-07-30 18:08:08][common][INFO]: Installing python3 pip
[2020-07-30 18:08:21][install][INFO]: Installing python python-dev
[2020-07-30 18:08:23][install][INFO]: Removing python-pip
[2020-07-30 18:08:24][common][INFO]: Installing python2 pip
[2020-07-30 18:08:34][install][INFO]: Installing libmagic-dev
[2020-07-30 18:08:36][install][INFO]: Installing libfuzzy-dev
[2020-07-30 18:08:37][install][INFO]: Installing python3-tlsh
[2020-07-30 18:08:39][install][INFO]: Installing ssdeep
[2020-07-30 18:08:42][install][INFO]: Installing git+https://github.com/fkie-cad/fact_helper_file.git
[2020-07-30 18:08:48][install][INFO]: Installing psutil
[2020-07-30 18:08:52][install][INFO]: Installing pytest==3.5.1 pytest-cov pytest-flake8 pylint python-magic xmltodict yara-python==3.7.0 appdirs
[2020-07-30 18:09:26][install][INFO]: Installing lief
[2020-07-30 18:09:29][install][INFO]: Installing requests
[2020-07-30 18:09:32][install][INFO]: Installing pymongo pyyaml
[2020-07-30 18:09:40][common][WARNING]: variety spec not overwritten
[2020-07-30 18:09:40][install][INFO]: Installing hurry.filesize
[2020-07-30 18:09:44][install][INFO]: Installing git+https://github.com/fkie-cad/common_helper_files.git
[2020-07-30 18:09:49][install][INFO]: Installing git+https://github.com/fkie-cad/common_helper_mongo.git
[2020-07-30 18:09:55][install][INFO]: Installing git+https://github.com/mass-project/common_helper_encoder.git
[2020-07-30 18:10:01][install][INFO]: Installing git+https://github.com/fkie-cad/common_helper_filter.git
[2020-07-30 18:10:07][install][INFO]: Installing git+https://github.com/fkie-cad/common_helper_process.git
[2020-07-30 18:10:13][install][INFO]: Installing werkzeug==0.16.1
[2020-07-30 18:10:16][install][INFO]: Installing flask flask_restful flask_security flask_sqlalchemy flask-paginate Flask-API uwsgi bcrypt python-dateutil si-prefix email-validator
[2020-07-30 18:10:49][frontend][INFO]: Install static jstree content
[2020-07-30 18:10:50][frontend][INFO]: Install static angularJS content
[2020-07-30 18:10:50][frontend][INFO]: Install static charts.js content
[2020-07-30 18:10:50][frontend][INFO]: Installing highlight js
[2020-07-30 18:10:54][frontend][INFO]: Install static https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css content
[2020-07-30 18:10:54][frontend][INFO]: Install static https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/css/bootstrap-datepicker.standalone.css content
[2020-07-30 18:10:54][frontend][INFO]: Install static https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.1/jquery.min.js content
[2020-07-30 18:10:54][frontend][INFO]: Install static https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js content
[2020-07-30 18:10:54][frontend][INFO]: Install static https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js content
[2020-07-30 18:10:54][frontend][INFO]: Install static https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.js content
[2020-07-30 18:10:54][frontend][INFO]: Install static https://raw.githubusercontent.com/moment/moment/develop/moment.js content
[2020-07-30 18:10:54][frontend][INFO]: Creating directory for authentication
[2020-07-30 18:10:54][frontend][INFO]: Initializing docker container for radare
[2020-07-30 18:11:00][frontend][INFO]: Pulling pdf report container
[2020-07-30 18:11:03][db][INFO]: Setting up mongo database
[2020-07-30 18:11:03][install][INFO]: Installing mongodb
[2020-07-30 18:11:04][db][INFO]: Initialize database
[2020-07-30 18:11:09][install][INFO]: Installing python-dev python-setuptools
[2020-07-30 18:11:11][install][INFO]: Installing libjpeg-dev
[2020-07-30 18:11:13][install][INFO]: Installing libssl-dev python3-tk
[2020-07-30 18:11:14][install][INFO]: Installing pluginbase Pillow cryptography pyopenssl matplotlib docker networkx
[2020-07-30 18:11:38][backend][INFO]: Installing yara
[2020-07-30 18:11:38][install][INFO]: Installing bison flex
[2020-07-30 18:11:40][backend][INFO]: skipping yara installation (already installed)
[2020-07-30 18:11:40][backend][INFO]: Building fact extraction container
[2020-07-30 18:11:42][install][INFO]: Installing git+https://github.com/fkie-cad/common_helper_yara.git
[2020-07-30 18:11:48][install][INFO]: Installing git+https://github.com/mass-project/common_analysis_base.git
[2020-07-30 18:11:53][backend][INFO]: Installing plugins
[2020-07-30 18:11:53][backend][INFO]: Running ../plugins/analysis/linter/install.sh
[2020-07-30 18:12:37][backend][INFO]: Running ../plugins/analysis/users_and_passwords/install.sh
[2020-07-30 18:12:57][backend][INFO]: Running ../plugins/analysis/oms/install.sh
Traceback (most recent call last):
File "/home/mike/FACT_core/src/install.py", line 181, in <module>
install()
File "/home/mike/FACT_core/src/install.py", line 169, in install
backend(distribution)
File "/home/mike/FACT_core/src/install/backend.py", line 45, in main
_install_plugins(distribution)
File "/home/mike/FACT_core/src/install/backend.py", line 109, in _install_plugins
raise InstallationError('Error in installation of {} plugin\n{}'.format(Path(install_script).parent.name, shell_output))
helperFunctions.install.InstallationError: Error in installation of oms plugin
------------------------------------
install oms dependencies
------------------------------------
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 6684 (apt-get)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 6684 (apt-get)
Sounds like you need to disable Unattended Upgrades
Problem solved
I've a problem with installing FACT. During installation I receive an "no space left on device" error but there is plenty of space on HD. Log:
My df -H:
I'm trying to run in on VM: