cuckoosandbox / cuckoo

Cuckoo Sandbox is an automated dynamic malware analysis system
http://www.cuckoosandbox.org
Other
5.54k stars 1.7k forks source link

Pip install cuckoo[distributed] failing #2564

Open thereallogani opened 5 years ago

thereallogani commented 5 years ago

I'm running Cuckoo 2.0.6 on 3 separate Ubuntu 18.04 nodes trying to set up cuckoo distributed. I've gotten Cuckoo up and running on all of them with the uwsgi/nginx deploy. I'm using a mysql database for the setup.

When I try to deploy cuckoo distributed, the REST API service starts but no work is sent to any of the nodes. That issue I found here: #1861 , but when I try to pip install cuckoo[distributed] I get the following error: Collecting psycopg2==2.6.2; extra == "distributed" (from cuckoo[distributed]) Using cached https://files.pythonhosted.org/packages/7b/a8/dc2d50a6f37c157459cd18bab381c8e6134b9381b50fbe969997b2ae7dbc/psycopg2-2.6.2.tar.gz Complete output from command python setup.py egg_info: running egg_info creating pip-egg-info/psycopg2.egg-info writing pip-egg-info/psycopg2.egg-info/PKG-INFO writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt' Error: could not determine PostgreSQL version from '10.6'

That obviously isn't a problem with cuckoo itself but based on this: https://github.com/psycopg/psycopg2/issues/594 it seems that package and version may not be fixable.

Does cuckoo depend on features from that specific version or would updating the dependency in cuckoo get past this problem?

noobiecoding8 commented 5 years ago

use ubuntu 16.04 it will solve all issues