-
Notifications
You must be signed in to change notification settings - Fork 629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cowrie FATAL Exited too Quickly #867
Comments
I'm able to reproduce this on Ubuntu 18.04 running via Proxmox LXC (also verified the issue exists on my sensor VM). What OS are you running and how? |
VMware |
We're in dependency hell. So the The function that this line calls: https://docs.python.org/2.7/library/inspect.html https://docs.python.org/3.8/library/inspect.html Here is my full output from within the cowrie python virtual environment:
Here you can see that Python 2 support was partially, if not fully, dropped from the Automat library: I suppose we can attempt to pin the Automat module to 20.2.0 by adding a line here: Line 38 in be58cbf
That may introduce other dependency issues. Since the version of Cowrie that the project deploys is 4 years old, perhaps our time would be better spent getting a more up to date version of Cowrie running. |
When i try to run supervisorctl status i get as above: Cowrie FATAL Exited too quickly. Below are the error log.
--- ---
File "/opt/cowrie/cowrie-env/local/lib/python2.7/site-packages/twisted/plugin.py", line 171, in getCache
provider = pluginModule.load()
File "/opt/cowrie/cowrie-env/local/lib/python2.7/site-packages/twisted/python/modules.py", line 392, in load
return self.pathEntry.pythonPath.moduleLoader(self.name)
File "/opt/cowrie/cowrie-env/local/lib/python2.7/site-packages/twisted/python/reflect.py", line 308, in namedAny
topLevelPackage = _importAndCheckStack(trialname)
File "/opt/cowrie/cowrie-env/local/lib/python2.7/site-packages/twisted/python/reflect.py", line 255, in _importAndCheckStack
reraise(excValue, excTraceback)
File "/opt/cowrie/src/twisted/plugins/cowrie_plugin.py", line 51, in
from cowrie.core.utils import create_endpoint_services, get_endpoints_from_section
File "/opt/cowrie/src/cowrie/core/utils.py", line 9, in
from twisted.application import internet
File "/opt/cowrie/cowrie-env/local/lib/python2.7/site-packages/twisted/application/internet.py", line 54, in
from automat import MethodicalMachine
File "/opt/cowrie/cowrie-env/local/lib/python2.7/site-packages/automat/init.py", line 2, in
from ._methodical import MethodicalMachine
File "/opt/cowrie/cowrie-env/local/lib/python2.7/site-packages/automat/_methodical.py", line 7, in
from inspect import getfullargspec as getArgsSpec
exceptions.ImportError: cannot import name getfullargspec
The text was updated successfully, but these errors were encountered: