Exception: Could not bind to 0.0.0.0:8080 after trying for 30 seconds
swift@vincent-virtual-machine /etc/swift $ sudo swift-init main restart
Signal proxy-server pid: signal:
No proxy-server running
Signal container-server pid: signal:
Signal container-server pid: signal:
Signal container-server pid: signal:
Signal container-server pid: signal:
Signal account-server pid: signal:
Signal account-server pid: signal:
Signal account-server pid: signal:
Signal account-server pid: signal:
Signal object-server pid: signal:
Signal object-server pid: signal:
Signal object-server pid: signal:
Signal object-server pid: signal:
container-server () appears to have stopped
container-server () appears to have stopped
container-server () appears to have stopped
container-server () appears to have stopped
account-server () appears to have stopped
account-server () appears to have stopped
account-server () appears to have stopped
object-server () appears to have stopped
object-server () appears to have stopped
account-server () appears to have stopped
object-server () appears to have stopped
object-server () appears to have stopped
Starting proxy-server...(/etc/swift/proxy-server.conf)
Starting container-server...(/etc/swift/container-server/.conf)
Starting container-server...(/etc/swift/container-server/.conf)
Starting container-server...(/etc/swift/container-server/.conf)
Starting container-server...(/etc/swift/container-server/.conf)
Starting account-server...(/etc/swift/account-server/.conf)
Starting account-server...(/etc/swift/account-server/.conf)
Starting account-server...(/etc/swift/account-server/.conf)
Starting account-server...(/etc/swift/account-server/.conf)
Starting object-server...(/etc/swift/object-server/.conf)
Starting object-server...(/etc/swift/object-server/.conf)
Starting object-server...(/etc/swift/object-server/.conf)
Starting object-server...(/etc/swift/object-server/.conf)
Traceback (most recent call last):
File "/usr/local/bin/swift-proxy-server", line , in <module>
execfile(__file__)
File "/home/swift/swift/bin/swift-proxy-server", line , in <module>
sys.exit(run_wsgi(conf_file, 'proxy-server', **options))
File "/home/swift/swift/swift/common/wsgi.py", line , in run_wsgi
error_msg = strategy.bind_ports()
File "/home/swift/swift/swift/common/wsgi.py", line , in bind_ports
self.sock = get_socket(self.conf)
File "/home/swift/swift/swift/common/wsgi.py", line , in get_socket
bind_addr[], bind_addr[], bind_timeout))
Exception: Could not bind to 0.0.0.0: after trying for seconds
这种情况很常见,就是端口占用的问题。解决办法:
swift@vincent-virtual-machine /etc/swift $ sudo netstat -ltnp | grep 8080
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 3251/python
swift@vincent-virtual-machine /etc/swift $ ps -wlp 3251
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
0 S 1001 3251 1 1 80 0 - 22488 poll_s ? 00:01:28 swift-proxy-ser
swift@vincent-virtual-machine /etc/swift $ sudo kill -9 3251
swift@vincent-virtual-machine /etc/swift $ sudo netstat -ltnp | grep 8080
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 3256/python
swift@vincent-virtual-machine /etc/swift $ ps -wlp 3256
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
1 S 1001 3256 1 0 80 0 - 22950 poll_s ? 00:00:00 swift-proxy-ser
swift@vincent-virtual-machine /etc/swift $ sudo kill -9 3256
swift@vincent-virtual-machine /etc/swift $ sudo netstat -ltnp | grep 8080
Exception: Could not bind to 0.0.0.0:8080 after trying for 30 seconds的更多相关文章
- nest exception is java.sql.SQLException:ORA-01476:除数为0
1.错误描述 nest exception is java.sql.SQLException:ORA-01476:除数为0 2.错误原因 3.解决办法
- ASP.Net MVC3安全升级导致程序集从3.0.0.0变为3.0.0.1
开发环境一般引用的是本机 C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 3\Assemblies下的System.Web.Mvc.dll,当 ...
- 出现错误:Unable to load configuration. - action - file:/E:/Java/Tomcat7.0/apache-tomcat-7.0.68-windows-x64/apache-tomcat-7.0.68/webapps/SSH2Integrate/WEB-INF/classes/struts.xml:8:43
严重: Exception starting filter struts2 Unable to load configuration. - action - file:/E:/Java/Tomcat7 ...
- WARN TaskSetManager: Lost task 0.0 in stage 0.0 (TID 0, worker1): java.lang.ClassNotFoundException: com.spark.firstApp.HelloSpark$$anonfun$2
进行如下设置,解决报错信息. val conf = new SparkConf().setAppName("helloSpark").setMaster("spark:/ ...
- ip地址0.0.0.0与127.0.0.1的区别(转载)
原文链接:http://blog.csdn.net/ttx_laughing/article/details/58586907 最近在项目开发中发现一个奇怪的问题,当服务器与客户端在同一台机器上时,用 ...
- 本机ip、127.0.0.1和0.0.0.0区别及内环流量
本机ip.127.0.0.1和0.0.0.0区别及内环流量 所谓内环流量 简单的说是指 计算机内部,程序间通讯产生的流量,或者叫 本地流量,对应的是来自网络的流量. 比如,你安装了卡巴斯基,avast ...
- 基于【CentOS-7+ Ambari 2.7.0 + HDP 3.0】搭建HAWQ数据仓库01 —— 准备环境,搭建本地仓库,安装ambari
一.集群软硬件环境准备: 操作系统: centos 7 x86_64.1804 Ambari版本:2.7.0 HDP版本:3.0.0 HAWQ版本:2.3.05台PC作为工作站: ep-bd01 e ...
- C++:vector中的v.at(0)和v[0]的区别
设v是一个vector的对象, 如果v是非空的,则v.at(0)和v[0]是没有区别的,都是取数组中第一个值: 如果v是空的,则v.at(0)会抛出异常(exception std::out_of_r ...
- 本机IP、127.0.0.1和0.0.0.0的区别
本机ip.127.0.0.1和0.0.0.0区别 网络java IP地址的记法: IP地址由四个字节构成,为了方便阅读和书写,每个字节用0-255的数字表示,字节之间用’.'分割,如: 10.10 ...
随机推荐
- UVA 11346 Probability 概率 (连续概率)
题意:给出a和b,表示在直角坐标系上的x=[-a,a] 和 y=[-b,b]的这样一块矩形区域.给出一个数s,问在矩形内随机选择一个点p=(x,y),则(0.0)和p点组成的矩形面积大于s的概率是多少 ...
- 洛谷 P2053 [SCOI2007]修车
题目描述 同一时刻有N位车主带着他们的爱车来到了汽车维修中心.维修中心共有M位技术人员,不同的技术人员对不同的车进行维修所用的时间是不同的.现在需要安排这M位技术人员所维修的车及顺序,使得顾客平均等待 ...
- 如何在运行时改变App的图标
在你完成应用程序的beta版本后,最后会有些人去帮你测试,使你去完善应用程序……或者会有投资青睐.但是如果测试人员有一种简单地方式去检查构建版本的应用程序会不会有帮助呢? 这个教程将会向你展示这些,向 ...
- docker 搭建 Java Web 运行环境
安装环境:jdk,tomcat,mysql,nginx
- END - 提交当前的事务
SYNOPSIS END [ WORK | TRANSACTION ] DESCRIPTION 描述 END END 提交当前事务. 所有当前事务做的修改都可被其它事务看到并且保证在发生崩溃的情况下的 ...
- k8s集群部署之环境介绍与etcd数据库集群部署
角色 IP 组件 配置 master-1 192.168.10.11 kube-apiserver kube-controller-manager kube-scheduler etcd 2c 2g ...
- centos7 搭建jenkins
centos7 搭建jenkins.note 环境:VMware 虚拟机 centos 7+ jdk 1.8+ tomcat7+jenkins搭建好linux 服务器后,关闭防火墙 停止firewal ...
- 阿里云首次安装和部署nginx
1.执行yum命令安装依赖 yum -y install pcre* yum -y install openssl* 2.下载nginx //如果没有安装wget,下载已编译版本 yum instal ...
- Eclipse启动的时候提示:Failed to load JavaHL Library
版本信息: Eclipse Project Release Notes Release 4.7.3 启动提示: Subclipse talks to Subversion via a Java API ...
- 16. PLUGINS
16. PLUGINS PLUGINS表提供有关服务器插件的信息. PLUGINS表有以下列: PLUGIN_NAME :用于在诸如INSTALL PLUGIN和UNINSTALL PLUGIN之类的 ...