Cuckoo: No handlers could be found for logger "cuckoo"

Created on 26 Jun 2018  路  4Comments  路  Source: cuckoosandbox/cuckoo

Hi,
when i m trying to execute cuckoo command to generate the cuckoo work path i get this error

Oops! Cuckoo failed in an unhandled exception!
Sometimes bugs are already fixed in the development release, it is therefore recommended to retry with the latest development release available https://github.com/cuckoosandbox/cuckoo
If the error persists please open a new issue at https://github.com/cuckoosandbox/cuckoo/issues

=== Exception details ===
Cuckoo version: 2.0.6
OS version: posix
OS release: Ubuntu 16.04 xenial
Python version: 2.7.12
Python implementation: CPython
Machine arch: x86_64
Modules: adium-theme-ubuntu:0.3.4 alembic:0.8.8 androguard:3.0.1 asn1crypto:0.24.0 beautifulsoup4:4.5.3 bottle:0.12.7 capstone:3.0.5rc2 cffi:1.11.5 chardet:2.3.0 click:6.6 colorama:0.3.7 cryptography:2.2.2 cuckoo:2.0.6.2 distorm3:3.3.4 django-extensions:1.6.7 django:1.8.4 dpkt:1.8.7 ecdsa:0.13 egghatch:0.2.3 elasticsearch:5.3.0 enum34:1.1.6 et-xmlfile:1.0.1 flask-sqlalchemy:2.1 flask:0.12.2 functools32:3.2.3.post2 future:0.16.0 httpreplay:0.2.3 idna:2.7 ipaddress:1.0.22 itsdangerous:0.24 jdcal:1.4 jinja2:2.9.6 jsbeautifier:1.6.2 jsonschema:2.6.0 libvirt-python:1.3.1 m2crypto:0.24.0 magic-file-extensions:0.2 mako:1.0.7 markupsafe:1.0 olefile:0.43 oletools:0.51 openpyxl:2.5.4 peepdf:0.4.2 pefile2:1.2.11 pefile:1.2.10.post139 pillow:3.2.0 pip:10.0.1 pycparser:2.18 pycrypto:2.6.1 pydeep:0.2 pyelftools:0.24 pyguacamole:0.6 pymisp:2.4.54 pymongo:3.0.3 pyopenssl:18.0.0 python-apt:1.1.0b1+ubuntu0.16.4.1 python-dateutil:2.4.2 python-editor:1.0.3 python-magic:0.4.12 pythonaes:1.0 pytz:2018.4 requests:2.13.0 roach:0.1.2 scapy:2.3.2 setuptools:39.2.0 sflock:0.3.5 six:1.11.0 sqlalchemy:1.0.8 sqlparse:0.1.18 tlslite-ng:0.6.0 ujson:1.35 unicorn:1.0.1 unity-lens-photos:1.0 urllib3:1.23 volatility:2.6 wakeonlan:0.2.2 werkzeug:0.14.1 wheel:0.29.0 yara-python:3.6.3

No handlers could be found for logger "cuckoo"

Most helpful comment

Hi I also encountered the same issue, but managed to resolve it. This error was due to insufficient privileges for the logger to write to the new cuckoo work path. In another words, the path pointing to the "CWD" path (by default, .cuckoo folder for current user). I have changed "CWD" path to another folder, and incorrectly assigned owner to be cuckoo, but my current user which installed cuckoo was user1 and not cuckoo account, so the errors was shown. After changing the owner to user1, the cuckoo command executed without this error.

All 4 comments

Hi rayenmessaoudi,

Thanks for posting an issue.

Can you post the full output from the starting command to the end of what you already posted? I want to make sure nothing is missing. :smile:

The "No handlers found.." here is not the issue itself, but rather Cuckoo trying to log something before loggers were initialized, which causes that error.

The problem fixed after installed cuckoo with the root user

Hi, I am also facing the exact same issue
"No handlers could be found for logger "cuckoo" "
Also I have tried installing with root user. Any help in this matter will be appreciated.
Thank you

Hi I also encountered the same issue, but managed to resolve it. This error was due to insufficient privileges for the logger to write to the new cuckoo work path. In another words, the path pointing to the "CWD" path (by default, .cuckoo folder for current user). I have changed "CWD" path to another folder, and incorrectly assigned owner to be cuckoo, but my current user which installed cuckoo was user1 and not cuckoo account, so the errors was shown. After changing the owner to user1, the cuckoo command executed without this error.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

capnspacehook picture capnspacehook  路  3Comments

adricnet picture adricnet  路  7Comments

ahroobe picture ahroobe  路  5Comments

ness993 picture ness993  路  7Comments

myhsu picture myhsu  路  5Comments