无法从控制台启动locastack
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了无法从控制台启动locastack相关的知识,希望对你有一定的参考价值。
当我尝试运行时,我在虚拟机上安装了本地堆栈,它使我跟随以下错误。
guest@VirtualBox:~$ localstack start
正在启动本地开发环境。 CTRL-C退出。
ERROR: 'cd /usr/local/lib/python2.7/dist-packages/localstack/infra && cp /tmp/localstack.es.zip es.zip && unzip -q es.zip && mv elasticsearch* elasticsearch && rm es.zip': [es.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of es.zip or
es.zip.zip, and cannot find es.zip.ZIP, period.
Error starting infrastructure: Command 'cd /usr/local/lib/python2.7/dist-packages/localstack/infra && cp /tmp/localstack.es.zip es.zip && unzip -q es.zip && mv elasticsearch* elasticsearch && rm es.zip' returned non-zero exit status 9
Traceback (most recent call last):
File "/usr/local/bin/localstack", line 86, in <module>
infra.start_infra()
File "/usr/local/lib/python2.7/dist-packages/localstack/services/infra.py", line 366, in start_infra
raise e
subprocess32.CalledProcessError: Command 'cd /usr/local/lib/python2.7/dist-packages/localstack/infra && cp /tmp/localstack.es.zip es.zip && unzip -q es.zip && mv elasticsearch* elasticsearch && rm es.zip' returned non-zero exit status 9
任何帮助将不胜感激。
答案
@@ Shital应该在最新版本中修复。您可以尝试运行:
rm -f /tmp/localstack.es.zip
pip install --no-cache --upgrade localstack
localstack start
相关问题已在此处解决:https://github.com/localstack/localstack/issues/213
以上是关于无法从控制台启动locastack的主要内容,如果未能解决你的问题,请参考以下文章
如何从 Firebase 获取数据到 Recyclerview 中的片段?
全栈编程系列SpringBoot整合Shiro(含KickoutSessionControlFilter并发在线人数控制以及不生效问题配置启动异常No SecurityManager...)(代码片段