shell:syntax error:unexpected end of file/Starting proxy www-balancer: cannot bind socket--转载
src:http://www.2cto.com/os/201308/238962.html
使用./haproxy –f /usr/local/haproxy/haproxy.cfg –d启动系统报错如下:
Starting haproxy: [ALERT] 015/191034 (15631) : Starting proxy webfarm: cannot bind socket...on both load balancers
或
[ALERT] 056/103843 (1358) : Starting proxy www-balancer: cannot bind socket
解法方法:
修改# vi /etc/sysctl.conf
net.ipv4.ip_nonlocal_bind=1
保存结果,使结果生效
# sysctl –p
转载于:https://www.cnblogs.com/davidwang456/p/3416725.html
shell:syntax error:unexpected end of file/Starting proxy www-balancer: cannot bind socket--转载相关推荐
- SHELL syntax error:unexpected end of file 提示错误
解决方案: 使用下面的命令将文件格式设置为unix格式即可解决上述错误. vi M.txt :set fileformat=unix :wq 参考文档: http://hi.baidu.com/haj ...
- SHELL脚本“syntax error: unexpected end of file”解决方案[半原创]
SHELL脚本"syntax error: unexpected end of file"解决方案[半原创] 参考文章: (1)SHELL脚本"syntax error: ...
- 执行shell脚本报错:syntax error near unexpected token `或syntax error: unexpected end of file...
引起此问题最可能的原因是: 在windows下编写的文件上传到linux执行. 我是在notepad++上编写的代码,之后上传到linux执行,报此错误.仔细检查,语法方面没有错误.上网查了一下,发现 ...
- syntax error: unexpected end of file
在windows上写的shell文件 上传到linux服务器老是报 syntax error: unexpected end of file 一行行删除检查也没找到原因 ,网上一搜才发现: DOS ...
- 脚本执行报错 syntax error: unexpected end of file
发生场景:windows环境编辑/生成的shell脚本,在linux系统上运行时报错 可能的原因和解决办法: 1.如果脚本里面有if这样的,先数一下if 和 fi的数量是否匹配,很多时候是漏写了fi ...
- .bashrc: line 123: syntax error: unexpected end of file
今天在Ubuntu上面配置Java环境,使用下面指令进入之后,好像对文件进行了修改. sudo vim ~/.bashrc 使用 source ~/.bashrc 报错如下: bash: .bashr ...
- Parse error: syntax error, unexpected end of file in the line
Parse error: syntax error, unexpected end of file in the line <?php if($member['user']){echo $mem ...
- Debug shell: Syntax error: “(“ unexpected
问题 在shell编程中,提示Syntax error: "(" unexpected #!/bin/bashoffset=(`ls`) echo $offset 解决方法 很多提 ...
- [Vim 编译出错]syntax error: unexpected end of file
系统环境:OSX 编辑器:vim 问题说明:编译文件时出现"Syntax error:unexpected end of file"错误 从网页粘贴到vi里的配置代码env.sh, ...
最新文章
- 写的书太受欢迎怎么办?北大《深度强化学习》重磅开放下载
- Windows Azure Tools DSInit Error
- Nginx 301与302配置
- 职称计算机隐藏桌面图标,2018年职称计算机考试WindowsXP操作题(1)
- 来电科技:基于 Flink + Hologres 的实时数仓演进之路
- C++ string是否包含某字符串方法(已封装)
- php html_entity_decode使用总结
- android上的单片机编程软件下载,AVR单片机编程软件(AVR_fighter)
- 浅谈软件质量保证SQA角色和职能
- vs2008 sp1
- 必须精力充沛,才扛得住世事艰难
- 基于MODBUS通讯协议的酒厂温湿度、光照度数据采集系统的设计与实现
- 几种常见音频编码器的比较
- 《图解HTTP》全文笔记梳理
- 选择合适的垃圾收集器
- 手机芯片战争:英特尔追ARM 联发科战高通
- php word权限设置密码,在php中加密和解密word docx文件的问题
- 查看Oracle数据库版本号
- 圆形体癣是什么样子的图片_身上长圆圈癣怎么办?
- Zilliqa官方挖矿指南中文版
热门文章
- php mariadb mysql.sock_(LNMP) Nginx_PHP_MariaDB
- matlab中if语句的用法_if语句的基本用法
- 16进制 hbase phoenix_【建议收藏】HBase表的RowKey设计
- python数字和运算_Python学习笔记:数字类型和运算符,与
- Android短信拦截2019,关于征集2019年度信息科学领域重大项目立项建议的通告
- python2018上海脱产_python接口自动化27-urlencode编码%E6%82%A0%E6%82%A0与解码
- 玄惭 mysql_阿里云数据库专家玄惭的“武功”全记录之最佳实践、双十一特别篇...
- java协变 生产者理解_Java进阶知识点:协变与逆变
- vim 变成只读了_Vim 强制保存只读类型文件的方法
- MySQL删除退出后数据未更新,mysql一不小心删除了数据或更新了数据没有加where 条件...