juju 状态超时错误 111 连接被拒绝请帮忙

juju 状态超时错误 111 连接被拒绝请帮忙

我正在使用入门教程设置 juju 本地环境,一切顺利,直到我重新启动物理机后

当我尝试引导时,它说已经引导,但我看不到状态

查看我的状态

 $ juju -v status
2013-06-16 17:49:03,643 DEBUG Initializing juju status runtime
2013-06-16 17:49:03,659:4613(0x7fe71fce5740):ZOO_INFO@log_env@712: Client environment:zookeeper.version=zookeeper C client 3.4.5
2013-06-16 17:49:03,659:4613(0x7fe71fce5740):ZOO_INFO@log_env@716: Client environment:host.name=ubuntu
2013-06-16 17:49:03,659:4613(0x7fe71fce5740):ZOO_INFO@log_env@723: Client environment:os.name=Linux
2013-06-16 17:49:03,659:4613(0x7fe71fce5740):ZOO_INFO@log_env@724: Client environment:os.arch=3.8.0-25-generic
2013-06-16 17:49:03,659:4613(0x7fe71fce5740):ZOO_INFO@log_env@725: Client environment:os.version=#37-Ubuntu SMP Thu Jun 6 20:47:07 UTC 2013
2013-06-16 17:49:03,659:4613(0x7fe71fce5740):ZOO_INFO@log_env@733: Client environment:user.name=user
2013-06-16 17:49:03,659:4613(0x7fe71fce5740):ZOO_INFO@log_env@741: Client environment:user.home=/home/user
2013-06-16 17:49:03,659:4613(0x7fe71fce5740):ZOO_INFO@log_env@753: Client environment:user.dir=/home/user
2013-06-16 17:49:03,659:4613(0x7fe71fce5740):ZOO_INFO@zookeeper_init@786: Initiating client connection, host=10.0.3.1:48315 sessionTimeout=10000 watcher=0x7fe71e2ea850 sessionId=0 sessionPasswd=<null> context=0x2bcb640 flags=0
2013-06-16 17:49:03,659:4613(0x7fe71a60f700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [10.0.3.1:48315] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-06-16 17:49:06,996:4613(0x7fe71a60f700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [10.0.3.1:48315] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-06-16 17:49:10,332:4613(0x7fe71a60f700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [10.0.3.1:48315] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-06-16 17:49:13,669:4613(0x7fe71fce5740):ZOO_INFO@zookeeper_close@2522: Freeing zookeeper resources for sessionId=0

Traceback (most recent call last):
Failure: txzookeeper.client.ConnectionTimeoutException: could not connect before timeout
2013-06-16 17:49:13,669 ERROR Traceback (most recent call last):
Failure: txzookeeper.client.ConnectionTimeoutException: could not connect before timeout

2013-06-16 17:49:13,669 ERROR could not connect before timeout

原始日志

答案1

机器应该在引导程序之间保留,但有时情况并非如此。您需要使用 销毁环境juju destroy-environment,然后重新引导。

相关内容