Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

two questions: blacktop/elasticsearch exits automatically && the uploaded files' status are in pending all the time #19

Open
a1t3r570 opened this issue Jun 29, 2017 · 8 comments

Comments

@a1t3r570
Copy link

Under Linux Environment:

  1. after execute cmd: docker-compose up -d , the service blacktop/elasticsearch will exit automatically after a few seconds. In order to run successfully, had to replace blacktop/elsaticsearch with elasticsearch in yml. Then it worked. but brings the next problem. What impact does this bring? Or Which step did I wrong?

  2. when I start all the services, then upload a file to the cuckoo. the status of the file will always be in pending. Did not switch to running,did not produce analysis results. I can not get what I want.
    Can you solve my problem? Very Thanks~

@blacktop
Copy link
Owner

I will look into elasticsearch later today.

It might be pending because you aren't using one of the hypervisors currently supported by this docker image as mentioned in the beginning of the README?

@blacktop
Copy link
Owner

blacktop commented Jul 3, 2017

this might be related to #18

@blacktop
Copy link
Owner

what do you see when you run docker-compose logs ?

@pooki3bear
Copy link

Hi wuliqilin I think your issue may be related to something simlar that I brought up in isssue #30

I used a similar workaround of updating the elasticsearch image, and I believe this has no impact.

@amnorcross
Copy link

I am having a similar problem as described here. I am using macOS High Sierra with the docker-cuckoo 2.0. I run with docker-compose up -d and elasticsearch_1 and cuckoo_1 images keep exiting.
When I enter a URL to analyze...it just stays pending.

$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3cc77a24df16 blacktop/cuckoo:2.0 "/entrypoint.sh web" About an hour ago Up About an hour 1337/tcp, 0.0.0.0:80->31337/tcp docker-cuckoo_web_1
d8c5fe8057c9 blacktop/cuckoo:2.0 "/entrypoint.sh api" About an hour ago Up About an hour 31337/tcp, 0.0.0.0:8000->1337/tcp docker-cuckoo_api_1
787d6220614a blacktop/cuckoo:2.0 "/entrypoint.sh daem…" About an hour ago Exited (1) About an hour ago docker-cuckoo_cuckoo_1
cc614c59acc8 blacktop/elasticsearch:5.6 "/elastic-entrypoint…" About an hour ago Exited (137) About an hour ago docker-cuckoo_elasticsearch_1
85db2b1009c0 mongo "docker-entrypoint.s…" About an hour ago Up About an hour 0.0.0.0:32769->27017/tcp docker-cuckoo_mongo_1
284f88103698 postgres "docker-entrypoint.s…" About an hour ago Up About an hour 0.0.0.0:32768->5432/tcp docker-cuckoo_postgres_1

And looking at the logs:

$ docker-compose logs
Attaching to docker-cuckoo_web_1, docker-cuckoo_api_1, docker-cuckoo_cuckoo_1, docker-cuckoo_elasticsearch_1, docker-cuckoo_mongo_1, docker-cuckoo_postgres_1
cuckoo_1 | ===> Use default ports and hosts if not specified...
cuckoo_1 | ES_HOST=elasticsearch
cuckoo_1 | ES_PORT=9200
cuckoo_1 | MONGO_HOST=mongo
cuckoo_1 | MONGO_TCP_PORT=27017
cuckoo_1 | POSTGRES_HOST=postgres
cuckoo_1 | POSTGRES_TCP_PORT=5432
cuckoo_1 | RESULTSERVER=0.0.0.0
cuckoo_1 | RESULTSERVER_HOST=0.0.0.0
cuckoo_1 | RESULTSERVER_PORT=2042
cuckoo_1 |
cuckoo_1 | ===> Update /cuckoo/conf/reporting.conf if needed...
cuckoo_1 |
cuckoo_1 | ===> Waiting on elasticsearch(http://elasticsearch:9200) to start.................
cuckoo_1 | Elasticsearch is ready!
cuckoo_1 |
cuckoo_1 | ===> Waiting for MongoDB(mongo:27017) to start...MongoDB is ready!
cuckoo_1 |
cuckoo_1 | ===> Waiting for Postgres(postgres:5432) to start...Postgres is ready!
cuckoo_1 |
cuckoo_1 | //_
cuckoo_1 | ////_//_//_
////_
//_
//_
///_///_
cuckoo_1 | //_//_//_//_////_//_//_//_//_
cuckoo_1 | //_
//_//_//_////_//_//_//_//_
cuckoo_1 | ////_////_
////_//_//_///_///_
cuckoo_1 | ________________________________________________________________________
cuckoo_1 |
cuckoo_1 | Cuckoo Sandbox 2.0.5
cuckoo_1 | www.cuckoosandbox.org
cuckoo_1 | Copyright (c) 2010-2017
cuckoo_1 |
cuckoo_1 | 2018-10-29 17:48:20,279 [cuckoo.core.startup] DEBUG: Imported modules...
cuckoo_1 | 2018-10-29 17:48:20,292 [elasticsearch] WARNING: HEAD http://elasticsearch:9200/_template/cuckoo_template [status:N/A request:0.012s]
cuckoo_1 | Traceback (most recent call last):
cuckoo_1 | File "/usr/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 114, in perform_request
cuckoo_1 | response = self.pool.urlopen(method, url, body, retries=False, headers=self.headers, **kw)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
cuckoo_1 | _stacktrace=sys.exc_info()[2])
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/util/retry.py", line 343, in increment
cuckoo_1 | raise six.reraise(type(error), error, _stacktrace)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
cuckoo_1 | chunked=chunked)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 354, in _make_request
cuckoo_1 | conn.request(method, url, **httplib_request_kw)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 1042, in request
cuckoo_1 | self._send_request(method, url, body, headers)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 1082, in _send_request
cuckoo_1 | self.endheaders(body)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders
cuckoo_1 | self._send_output(message_body)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 882, in _send_output
cuckoo_1 | self.send(msg)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 844, in send
cuckoo_1 | self.connect()
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connection.py", line 196, in connect
cuckoo_1 | conn = self._new_conn()
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connection.py", line 180, in _new_conn
cuckoo_1 | self, "Failed to establish a new connection: %s" % e)
cuckoo_1 | NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fd874067310>: Failed to establish a new connection: [Errno -2] Name does not resolve
cuckoo_1 | 2018-10-29 17:48:20,299 [elasticsearch] WARNING: HEAD http://elasticsearch:9200/_template/cuckoo_template [status:N/A request:0.002s]
cuckoo_1 | Traceback (most recent call last):
cuckoo_1 | File "/usr/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 114, in perform_request
cuckoo_1 | response = self.pool.urlopen(method, url, body, retries=False, headers=self.headers, **kw)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
cuckoo_1 | _stacktrace=sys.exc_info()[2])
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/util/retry.py", line 343, in increment
cuckoo_1 | raise six.reraise(type(error), error, _stacktrace)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
cuckoo_1 | chunked=chunked)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 354, in _make_request
cuckoo_1 | conn.request(method, url, **httplib_request_kw)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 1042, in request
cuckoo_1 | self._send_request(method, url, body, headers)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 1082, in _send_request
cuckoo_1 | self.endheaders(body)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders
cuckoo_1 | self._send_output(message_body)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 882, in _send_output
cuckoo_1 | self.send(msg)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 844, in send
cuckoo_1 | self.connect()
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connection.py", line 196, in connect
cuckoo_1 | conn = self._new_conn()
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connection.py", line 180, in _new_conn
cuckoo_1 | self, "Failed to establish a new connection: %s" % e)
cuckoo_1 | NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fd874067750>: Failed to establish a new connection: [Errno -2] Name does not resolve
cuckoo_1 | 2018-10-29 17:48:20,301 [elasticsearch] WARNING: HEAD http://elasticsearch:9200/_template/cuckoo_template [status:N/A request:0.001s]
cuckoo_1 | Traceback (most recent call last):
cuckoo_1 | File "/usr/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 114, in perform_request
cuckoo_1 | response = self.pool.urlopen(method, url, body, retries=False, headers=self.headers, **kw)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
cuckoo_1 | _stacktrace=sys.exc_info()[2])
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/util/retry.py", line 343, in increment
cuckoo_1 | raise six.reraise(type(error), error, _stacktrace)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
cuckoo_1 | chunked=chunked)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 354, in _make_request
cuckoo_1 | conn.request(method, url, **httplib_request_kw)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 1042, in request
cuckoo_1 | self._send_request(method, url, body, headers)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 1082, in _send_request
cuckoo_1 | self.endheaders(body)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders
cuckoo_1 | self._send_output(message_body)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 882, in _send_output
cuckoo_1 | self.send(msg)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 844, in send
cuckoo_1 | self.connect()
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connection.py", line 196, in connect
cuckoo_1 | conn = self._new_conn()
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connection.py", line 180, in _new_conn
cuckoo_1 | self, "Failed to establish a new connection: %s" % e)
cuckoo_1 | NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fd874067810>: Failed to establish a new connection: [Errno -2] Name does not resolve
cuckoo_1 | 2018-10-29 17:48:20,303 [elasticsearch] WARNING: HEAD http://elasticsearch:9200/_template/cuckoo_template [status:N/A request:0.001s]
cuckoo_1 | Traceback (most recent call last):
cuckoo_1 | File "/usr/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 114, in perform_request
cuckoo_1 | response = self.pool.urlopen(method, url, body, retries=False, headers=self.headers, **kw)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
cuckoo_1 | _stacktrace=sys.exc_info()[2])
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/util/retry.py", line 343, in increment
cuckoo_1 | raise six.reraise(type(error), error, _stacktrace)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
cuckoo_1 | chunked=chunked)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 354, in _make_request
cuckoo_1 | conn.request(method, url, **httplib_request_kw)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 1042, in request
cuckoo_1 | self._send_request(method, url, body, headers)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 1082, in _send_request
cuckoo_1 | self.endheaders(body)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders
cuckoo_1 | self._send_output(message_body)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 882, in _send_output
cuckoo_1 | self.send(msg)
cuckoo_1 | File "/usr/lib/python2.7/httplib.py", line 844, in send
cuckoo_1 | self.connect()
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connection.py", line 196, in connect
cuckoo_1 | conn = self._new_conn()
cuckoo_1 | File "/usr/lib/python2.7/site-packages/urllib3/connection.py", line 180, in _new_conn
cuckoo_1 | self, "Failed to establish a new connection: %s" % e)
cuckoo_1 | NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fd874067310>: Failed to establish a new connection: [Errno -2] Name does not resolve
cuckoo_1 | Traceback (most recent call last):
cuckoo_1 | File "/usr/bin/cuckoo", line 11, in
cuckoo_1 | load_entry_point('Cuckoo==2.0.5.3', 'console_scripts', 'cuckoo')()
cuckoo_1 | File "/usr/lib/python2.7/site-packages/click/core.py", line 716, in call
cuckoo_1 | return self.main(*args, **kwargs)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/click/core.py", line 696, in main
cuckoo_1 | rv = self.invoke(ctx)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/click/core.py", line 1037, in invoke
cuckoo_1 | return Command.invoke(self, ctx)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/click/core.py", line 889, in invoke
cuckoo_1 | return ctx.invoke(self.callback, **ctx.params)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/click/core.py", line 534, in invoke
cuckoo_1 | return callback(*args, **kwargs)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
cuckoo_1 | return f(get_current_context(), *args, **kwargs)
cuckoo_1 | File "/usr/lib/python2.7/site-packages/cuckoo/main.py", line 240, in main
cuckoo_1 | sys.stderr.write(exception_message())
cuckoo_1 | File "/usr/lib/python2.7/site-packages/cuckoo/common/utils.py", line 260, in exception_message
cuckoo_1 | for package in pip.get_installed_distributions()
cuckoo_1 | AttributeError: 'module' object has no attribute 'get_installed_distributions'
elasticsearch_1 | [2018-10-29T17:46:08,905][INFO ][o.e.n.Node ] [] initializing ...
elasticsearch_1 | [2018-10-29T17:46:09,132][INFO ][o.e.e.NodeEnvironment ] [T_77Vaj] using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/sda1)]], net usable_space [49.6gb], net total_space [58.4gb], spins? [possibly], types [ext4]
elasticsearch_1 | [2018-10-29T17:46:09,133][INFO ][o.e.e.NodeEnvironment ] [T_77Vaj] heap size [1.9gb], compressed ordinary object pointers [true]
elasticsearch_1 | [2018-10-29T17:46:09,135][INFO ][o.e.n.Node ] node name [T_77Vaj] derived from node ID [T_77VajSSsCNwZbBhhoWpQ]; set [node.name] to override
elasticsearch_1 | [2018-10-29T17:46:09,135][INFO ][o.e.n.Node ] version[5.6.12], pid[1], build[cfe3d9f/2018-09-10T20:12:43.732Z], OS[Linux/4.9.93-linuxkit-aufs/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_171/25.171-b11]
elasticsearch_1 | [2018-10-29T17:46:09,135][INFO ][o.e.n.Node ] JVM arguments [-Xms2g, -Xmx2g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -Djdk.io.permissionsUseCanonicalPath=true, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j.skipJansi=true, -XX:+HeapDumpOnOutOfMemoryError, -Des.cgroups.hierarchy.override=/, -Des.path.home=/usr/share/elasticsearch]
elasticsearch_1 | [2018-10-29T17:46:12,096][INFO ][o.e.p.PluginsService ] [T_77Vaj] loaded module [aggs-matrix-stats]
elasticsearch_1 | [2018-10-29T17:46:12,096][INFO ][o.e.p.PluginsService ] [T_77Vaj] loaded module [ingest-common]
elasticsearch_1 | [2018-10-29T17:46:12,096][INFO ][o.e.p.PluginsService ] [T_77Vaj] loaded module [lang-expression]
elasticsearch_1 | [2018-10-29T17:46:12,096][INFO ][o.e.p.PluginsService ] [T_77Vaj] loaded module [lang-groovy]
elasticsearch_1 | [2018-10-29T17:46:12,096][INFO ][o.e.p.PluginsService ] [T_77Vaj] loaded module [lang-mustache]
elasticsearch_1 | [2018-10-29T17:46:12,097][INFO ][o.e.p.PluginsService ] [T_77Vaj] loaded module [lang-painless]
elasticsearch_1 | [2018-10-29T17:46:12,097][INFO ][o.e.p.PluginsService ] [T_77Vaj] loaded module [parent-join]
elasticsearch_1 | [2018-10-29T17:46:12,097][INFO ][o.e.p.PluginsService ] [T_77Vaj] loaded module [percolator]
elasticsearch_1 | [2018-10-29T17:46:12,097][INFO ][o.e.p.PluginsService ] [T_77Vaj] loaded module [reindex]
elasticsearch_1 | [2018-10-29T17:46:12,097][INFO ][o.e.p.PluginsService ] [T_77Vaj] loaded module [transport-netty3]
elasticsearch_1 | [2018-10-29T17:46:12,097][INFO ][o.e.p.PluginsService ] [T_77Vaj] loaded module [transport-netty4]
elasticsearch_1 | [2018-10-29T17:46:12,098][INFO ][o.e.p.PluginsService ] [T_77Vaj] no plugins loaded
elasticsearch_1 | [2018-10-29T17:46:13,952][INFO ][o.e.d.DiscoveryModule ] [T_77Vaj] using discovery type [zen]
elasticsearch_1 | [2018-10-29T17:46:14,786][INFO ][o.e.n.Node ] initialized
elasticsearch_1 | [2018-10-29T17:46:14,786][INFO ][o.e.n.Node ] [T_77Vaj] starting ...
elasticsearch_1 | [2018-10-29T17:46:14,985][INFO ][o.e.t.TransportService ] [T_77Vaj] publish_address {172.18.0.4:9300}, bound_addresses {0.0.0.0:9300}
elasticsearch_1 | [2018-10-29T17:46:14,995][INFO ][o.e.b.BootstrapChecks ] [T_77Vaj] bound or publishing to a non-loopback address, enforcing bootstrap checks
elasticsearch_1 | [2018-10-29T17:46:18,096][INFO ][o.e.c.s.ClusterService ] [T_77Vaj] new_master {T_77Vaj}{T_77VajSSsCNwZbBhhoWpQ}{tm7cklU9TKa8Ny7_2krUQg}{172.18.0.4}{172.18.0.4:9300}, reason: zen-disco-elected-as-master ([0] nodes joined)[, ]
elasticsearch_1 | [2018-10-29T17:46:18,153][INFO ][o.e.h.n.Netty4HttpServerTransport] [T_77Vaj] publish_address {172.18.0.4:9200}, bound_addresses {0.0.0.0:9200}
elasticsearch_1 | [2018-10-29T17:46:18,153][INFO ][o.e.n.Node ] [T_77Vaj] started
elasticsearch_1 | [2018-10-29T17:46:18,161][INFO ][o.e.g.GatewayService ] [T_77Vaj] recovered [0] indices into cluster_state
api_1 | ===> Use default ports and hosts if not specified...
api_1 | ES_HOST=elasticsearch
api_1 | ES_PORT=9200
api_1 | MONGO_HOST=mongo
api_1 | MONGO_TCP_PORT=27017
api_1 | POSTGRES_HOST=postgres
api_1 | POSTGRES_TCP_PORT=5432
api_1 | RESULTSERVER_HOST=0.0.0.0
api_1 | RESULTSERVER_PORT=2042
api_1 |
api_1 | ===> Update /cuckoo/conf/reporting.conf if needed...
api_1 |
api_1 | ===> Waiting on elasticsearch(http://elasticsearch:9200) to start.................
api_1 | Elasticsearch is ready!
api_1 |
api_1 | ===> Waiting for MongoDB(mongo:27017) to start...MongoDB is ready!
api_1 |
api_1 | ===> Waiting for Postgres(postgres:5432) to start...Postgres is ready!
api_1 | 2018-10-29 17:48:20,027 [werkzeug] INFO: * Running on http://0.0.0.0:1337/ (Press CTRL+C to quit)
api_1 | 2018-10-29 18:03:28,332 [werkzeug] INFO: 172.18.0.1 - - [29/Oct/2018 18:03:28] "GET /cuckoo/status HTTP/1.1" 200 -
web_1 | ===> Use default ports and hosts if not specified...
web_1 | ES_HOST=elasticsearch
web_1 | ES_PORT=9200
web_1 | MONGO_HOST=mongo
web_1 | MONGO_TCP_PORT=27017
web_1 | POSTGRES_HOST=postgres
web_1 | POSTGRES_TCP_PORT=5432
web_1 | RESULTSERVER_HOST=0.0.0.0
web_1 | RESULTSERVER_PORT=2042
web_1 |
web_1 | ===> Update /cuckoo/conf/reporting.conf if needed...
web_1 |
web_1 | ===> Waiting on elasticsearch(http://elasticsearch:9200) to start.................
web_1 | Elasticsearch is ready!
web_1 |
web_1 | ===> Waiting for MongoDB(mongo:27017) to start...MongoDB is ready!
web_1 |
web_1 | ===> Waiting for Postgres(postgres:5432) to start...Postgres is ready!
web_1 | Performing system checks...
web_1 |
web_1 | [29/Oct/2018 17:49:45] "GET / HTTP/1.1" 200 27529
web_1 | [29/Oct/2018 17:49:45] "GET /static/js/hexdump.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/js/vendor.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/css/main.css HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/js/handlebars-templates.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/css/vendor.css HTTP/1.1" 200 152014
web_1 | [29/Oct/2018 17:49:45] "GET /static/js/cuckoo/sticky.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/js/cuckoo/analysis_sidebar.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/js/cuckoo/analysis_export.js HTTP/1.1" 200 952
web_1 | [29/Oct/2018 17:49:45] "GET /static/js/cuckoo/loader.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/js/cuckoo/submission.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/js/cuckoo/process_tree.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/js/cuckoo/recent.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/js/cuckoo/analysis_network.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/js/cuckoo/app.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/js/cuckoo/analysis_feedback.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/graphic/cuckoo_inverse.png HTTP/1.1" 200 8158
web_1 | [29/Oct/2018 17:49:45] "GET /static/graphic/cuckoo-coffee-cup.png HTTP/1.1" 200 35356
web_1 | [29/Oct/2018 17:49:45] "GET /static/fonts/Roboto_normal_500_default.woff HTTP/1.1" 200 13248
web_1 | [29/Oct/2018 17:49:45] "GET /static/fonts/Roboto_normal_700_default.woff HTTP/1.1" 200 13348
web_1 | [29/Oct/2018 17:49:45] "GET /static/fonts/Roboto_normal_400_default.woff HTTP/1.1" 200 13308
web_1 | [29/Oct/2018 17:49:45] "GET /static/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 77160
web_1 | [29/Oct/2018 17:49:45] "GET /static/fonts/Roboto_normal_400_default.woff HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/images/prev.png HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/images/next.png HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/images/loading.gif HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "POST /analysis/api/tasks/recent/ HTTP/1.1" 200 13
web_1 | [29/Oct/2018 17:49:45] "GET /static/images/close.png HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/favicon-32x32.png HTTP/1.1" 304 0
web_1 | [29/Oct/2018 17:49:45] "GET /static/favicon-32x32.png HTTP/1.1" 200 1153
web_1 | [29/Oct/2018 17:49:45] "GET /cuckoo/api/status HTTP/1.1" 200 483
web_1 | [29/Oct/2018 17:49:45] "GET /static/fonts/Roboto_italic_400_default.woff HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:56] "GET / HTTP/1.1" 200 27529
web_1 | [29/Oct/2018 18:03:57] "GET /static/css/vendor.css HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/css/main.css HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/js/vendor.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/js/handlebars-templates.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/js/cuckoo/loader.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/js/hexdump.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/js/cuckoo/sticky.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/js/cuckoo/analysis_sidebar.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/js/cuckoo/submission.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/js/cuckoo/analysis_network.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/js/cuckoo/process_tree.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/js/cuckoo/app.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/js/cuckoo/analysis_feedback.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/js/cuckoo/recent.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/js/cuckoo/analysis_export.js HTTP/1.1" 200 952
web_1 | [29/Oct/2018 18:03:57] "GET /static/graphic/cuckoo_inverse.png HTTP/1.1" 200 8158
web_1 | [29/Oct/2018 18:03:57] "GET /static/graphic/cuckoo-coffee-cup.png HTTP/1.1" 200 35356
web_1 | [29/Oct/2018 18:03:57] "GET /static/fonts/Roboto_normal_500_default.woff HTTP/1.1" 200 13248
web_1 | [29/Oct/2018 18:03:57] "GET /static/fonts/Roboto_normal_400_default.woff HTTP/1.1" 200 13308
web_1 | [29/Oct/2018 18:03:57] "GET /static/fonts/Roboto_normal_700_default.woff HTTP/1.1" 200 13348
web_1 | [29/Oct/2018 18:03:57] "GET /static/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 77160
web_1 | [29/Oct/2018 18:03:57] "GET /static/fonts/Roboto_normal_400_default.woff HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/favicon-32x32.png HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/images/next.png HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/images/close.png HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/images/loading.gif HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "GET /static/images/prev.png HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:03:57] "POST /analysis/api/tasks/recent/ HTTP/1.1" 200 13
web_1 | [29/Oct/2018 18:03:57] "GET /cuckoo/api/status HTTP/1.1" 200 477
web_1 | [29/Oct/2018 18:03:57] "GET /static/fonts/Roboto_italic_400_default.woff HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /analysis/pending/ HTTP/1.1" 200 20726
web_1 | [29/Oct/2018 18:04:01] "GET /static/css/main.css HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/css/vendor.css HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/js/handlebars-templates.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/js/hexdump.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/js/vendor.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/js/cuckoo/loader.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/js/cuckoo/sticky.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/js/cuckoo/analysis_sidebar.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/js/cuckoo/submission.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/js/cuckoo/process_tree.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/js/cuckoo/analysis_network.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/js/cuckoo/recent.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/js/cuckoo/app.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/js/cuckoo/analysis_feedback.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/js/cuckoo/analysis_export.js HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/graphic/cuckoo-coffee-cup.png HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/graphic/cuckoo_inverse.png HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/images/prev.png HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/images/next.png HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/images/loading.gif HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/images/close.png HTTP/1.1" 304 0
web_1 | [29/Oct/2018 18:04:01] "GET /static/favicon-32x32.png HTTP/1.1" 304 0
mongo_1 | 2018-10-29T17:46:03.361+0000 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
mongo_1 | 2018-10-29T17:46:03.395+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=85db2b1009c0
mongo_1 | 2018-10-29T17:46:03.395+0000 I CONTROL [initandlisten] db version v4.0.3
mongo_1 | 2018-10-29T17:46:03.395+0000 I CONTROL [initandlisten] git version: 7ea530946fa7880364d88c8d8b6026bbc9ffa48c
mongo_1 | 2018-10-29T17:46:03.395+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
mongo_1 | 2018-10-29T17:46:03.395+0000 I CONTROL [initandlisten] allocator: tcmalloc
mongo_1 | 2018-10-29T17:46:03.395+0000 I CONTROL [initandlisten] modules: none
mongo_1 | 2018-10-29T17:46:03.395+0000 I CONTROL [initandlisten] build environment:
mongo_1 | 2018-10-29T17:46:03.395+0000 I CONTROL [initandlisten] distmod: ubuntu1604
mongo_1 | 2018-10-29T17:46:03.395+0000 I CONTROL [initandlisten] distarch: x86_64
mongo_1 | 2018-10-29T17:46:03.395+0000 I CONTROL [initandlisten] target_arch: x86_64
mongo_1 | 2018-10-29T17:46:03.395+0000 I CONTROL [initandlisten] options: { net: { bindIpAll: true } }
mongo_1 | 2018-10-29T17:46:03.397+0000 W STORAGE [initandlisten] Detected unclean shutdown - /data/db/mongod.lock is not empty.
mongo_1 | 2018-10-29T17:46:03.398+0000 I STORAGE [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
mongo_1 | 2018-10-29T17:46:03.398+0000 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
mongo_1 | 2018-10-29T17:46:03.398+0000 I STORAGE [initandlisten]
mongo_1 | 2018-10-29T17:46:03.398+0000 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
mongo_1 | 2018-10-29T17:46:03.398+0000 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
mongo_1 | 2018-10-29T17:46:03.398+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=487M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
mongo_1 | 2018-10-29T17:46:05.063+0000 I STORAGE [initandlisten] WiredTiger message [1540835165:55290][1:0x7fe1e30fea00], txn-recover: Main recovery loop: starting at 5/5632
mongo_1 | 2018-10-29T17:46:05.096+0000 I STORAGE [initandlisten] WiredTiger message [1540835165:96746][1:0x7fe1e30fea00], txn-recover: Recovering log 5 through 6
mongo_1 | 2018-10-29T17:46:06.209+0000 I STORAGE [initandlisten] WiredTiger message [1540835166:209330][1:0x7fe1e30fea00], txn-recover: Recovering log 6 through 6
mongo_1 | 2018-10-29T17:46:06.686+0000 I STORAGE [initandlisten] WiredTiger message [1540835166:686469][1:0x7fe1e30fea00], txn-recover: Set global recovery timestamp: 0
mongo_1 | 2018-10-29T17:46:06.865+0000 I RECOVERY [initandlisten] WiredTiger recoveryTimestamp. Ts: Timestamp(0, 0)
mongo_1 | 2018-10-29T17:46:06.890+0000 I CONTROL [initandlisten]
mongo_1 | 2018-10-29T17:46:06.890+0000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
mongo_1 | 2018-10-29T17:46:06.890+0000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
mongo_1 | 2018-10-29T17:46:06.890+0000 I CONTROL [initandlisten]
mongo_1 | 2018-10-29T17:46:06.891+0000 W CONTROL [initandlisten]
mongo_1 | 2018-10-29T17:46:06.891+0000 W CONTROL [initandlisten]
mongo_1 | 2018-10-29T17:46:06.891+0000 I CONTROL [initandlisten]
mongo_1 | 2018-10-29T17:46:06.930+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data'
mongo_1 | 2018-10-29T17:46:06.948+0000 I NETWORK [initandlisten] waiting for connections on port 27017
mongo_1 | 2018-10-29T17:46:18.475+0000 I NETWORK [listener] connection accepted from 172.18.0.6:47470 #1 (1 connection now open)
mongo_1 | 2018-10-29T17:46:18.481+0000 I NETWORK [listener] connection accepted from 172.18.0.5:32998 #2 (2 connections now open)
mongo_1 | 2018-10-29T17:46:18.508+0000 I NETWORK [conn1] end connection 172.18.0.6:47470 (1 connection now open)
mongo_1 | 2018-10-29T17:46:18.508+0000 I NETWORK [conn2] end connection 172.18.0.5:32998 (0 connections now open)
mongo_1 | 2018-10-29T17:46:19.032+0000 I NETWORK [listener] connection accepted from 172.18.0.7:58220 #3 (1 connection now open)
mongo_1 | 2018-10-29T17:46:19.032+0000 I NETWORK [conn3] end connection 172.18.0.7:58220 (0 connections now open)
mongo_1 | 2018-10-29T17:48:18.190+0000 I COMMAND [PeriodicTaskRunner] task: UnusedLockCleaner took: 29965ms
mongo_1 | 2018-10-29T17:48:18.304+0000 I COMMAND [ftdc] serverStatus was very slow: { after basic: 0, after asserts: 8807, after backgroundFlushing: 8807, after connections: 8807, after dur: 8817, after extra_info: 8817, after freeMonitoring: 8827, after globalLock: 8860, after locks: 11114, after logicalSessionRecordCache: 13394, after network: 19193, after opLatencies: 104474, after opcounters: 104491, after opcountersRepl: 104491, after repl: 104501, after security: 104511, after storageEngine: 104526, after tcmalloc: 104526, after transactions: 104536, after transportSecurity: 104536, after wiredTiger: 104588, at end: 104653 }
mongo_1 | 2018-10-29T17:48:20.031+0000 I NETWORK [listener] connection accepted from 172.18.0.7:58250 #4 (1 connection now open)
mongo_1 | 2018-10-29T17:48:20.032+0000 I NETWORK [conn4] end connection 172.18.0.7:58250 (0 connections now open)
mongo_1 | 2018-10-29T17:48:20.034+0000 I NETWORK [listener] connection accepted from 172.18.0.7:58252 #5 (1 connection now open)
mongo_1 | 2018-10-29T17:48:20.037+0000 I NETWORK [listener] connection accepted from 172.18.0.7:58254 #6 (2 connections now open)
mongo_1 | 2018-10-29T17:48:22.027+0000 I NETWORK [listener] connection accepted from 172.18.0.7:58258 #7 (3 connections now open)
mongo_1 | 2018-10-29T17:48:22.028+0000 I NETWORK [conn7] end connection 172.18.0.7:58258 (2 connections now open)
mongo_1 | 2018-10-29T17:48:22.029+0000 I NETWORK [listener] connection accepted from 172.18.0.7:58260 #8 (3 connections now open)
mongo_1 | 2018-10-29T17:48:22.030+0000 I NETWORK [listener] connection accepted from 172.18.0.7:58262 #9 (4 connections now open)
postgres_1 | 2018-10-29 17:46:02.542 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2018-10-29 17:46:02.542 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2018-10-29 17:46:02.546 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2018-10-29 17:46:02.560 UTC [25] LOG: database system was interrupted; last known up at 2018-10-29 17:34:26 UTC
postgres_1 | 2018-10-29 17:46:02.944 UTC [25] LOG: database system was not properly shut down; automatic recovery in progress
postgres_1 | 2018-10-29 17:46:02.952 UTC [25] LOG: redo starts at 0/16B1078
postgres_1 | 2018-10-29 17:46:02.952 UTC [25] LOG: invalid record length at 0/16B1158: wanted 24, got 0
postgres_1 | 2018-10-29 17:46:02.952 UTC [25] LOG: redo done at 0/16B1120
postgres_1 | 2018-10-29 17:46:03.031 UTC [1] LOG: database system is ready to accept connections
postgres_1 | 2018-10-29 17:46:18.530 UTC [32] LOG: incomplete startup packet
postgres_1 | 2018-10-29 17:46:18.530 UTC [33] LOG: incomplete startup packet
postgres_1 | 2018-10-29 17:46:19.035 UTC [34] LOG: incomplete startup packet

@pasket
Copy link

pasket commented Dec 6, 2018

I tried with image blacktop/elasticsearch:6.5 and also with some environments like "ES_JAVA_OPTS=-Xms4g -Xmx4 g". However, the behaviour is the same, elasticsearch exits without any error.
Has somebody solved this issue?

@blahtimus
Copy link

Any updates on how to resolve? I am having the same issue as @amnorcross.

docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6850f19f534c blacktop/elasticsearch:5.6 "/elastic-entrypoint…" 3 months ago Exited (137) 26 minutes ago docker-cuckoo_elasticsearch_1

Also docker-compose logs -f cuckoo shows
cuckoo_1 | AttributeError: 'module' object has no attribute 'get_installed_distributions'
docker-cuckoo_cuckoo_1 exited with code 1

The submitted samples show up as pending.

@ghost
Copy link

ghost commented Nov 19, 2019

I'm curious if anyone came around to resolving this? I'm currently having this issue and all my samples are showing up as pending.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants