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 ...
随机推荐
- Java Web项目,Android和微信小程序的初始页面配置
Java Web项目 我们在Eclipse里开了Java Web项目之后,Run As Tomcat或者Apache服务器,本地运行,如果直接用http://localhost:8080访问项目,会发 ...
- python笔记_magic变量和函数
前言 先扯一点背景知识 PEP8(Python Enhancement Proposal)是一份python的编码规范,链接:http://www.python.org/dev/peps/pep-00 ...
- Ubuntu 16.04 LTS: apt-get update 失败处理 Aborted (core dumped)
在Ubuntu 16.04运行sudo apt-get update出现如下错误: rogn@ubuntu:~$ sudo apt-get update Get:1 http://us.archive ...
- 利用MSF实现三层网络的一次内网渗透
目标IP192.168.31.207 很明显这是一个文件上传的靶场 白名单限制 各种尝试之后发现这是一个检测文件类型的限制 上传php大马文件后抓包修改其类型为 image/jpeg 上传大马之后发 ...
- sysUpload.vue上传组件 的时候 看进度的时候 不要mock 注释掉 // if (process.env.NODE_ENV !== 'production') require('@/mock')
上传组件 的时候 看进度的时候 不要mock 注释掉 // if (process.env.NODE_ENV !== 'production') require('@/mock') <!-- * ...
- ios之@class
objective-c中,当一个类使用到另一个类时,并且在类的头文件中需要创建被引用的指针时, 如下面代码: A.h文件 C代码 #import "B.h" @interfac ...
- Gym-101615C-Fear Factoring(数论)
分析 题意是求 L - R之间的数的因数和 我们知道如果对于一个数 i ( i < k = sqrt(R)),那么一定有一个数 R/i 也是R的因数 遍历 i = 2 - k,然后对于每一个 i ...
- 彻底卸载WIN10 OneDrive
彻底卸载WIN10 OneDrive @ECHO OFF %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall RD "%UserProfil ...
- 关于U盘安装ubuntu-18.04安装时候出现的grub-efi-amd64-signed的问题。
关于这个问题,首先我们要查看一下我们电脑的主板设置中U盘启动的类型是什么,是UEFI还是legacy? 对于如果是UEFI那么给ubuntu分区的时候不用设置/boot分区,设置efi系统分区:如果是 ...
- ubuntu卸载编译安装的软件
cd 源代码目录 make clean ./configure make make uninstall