ipvsadm服务报错/bin/bash: /etc/sysconfig/ipvsadm: No such file or directory
Posted -abm
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ipvsadm服务报错/bin/bash: /etc/sysconfig/ipvsadm: No such file or directory相关的知识,希望对你有一定的参考价值。
问题:
在执行重启ipvsadm服务时报错:
提示没有找到/etc/sysconfig/ipvsadm
解决:
[root@lvs1 ~]# ipvsadm --save > /etc/sysconfig/ipvsadm
以上是关于ipvsadm服务报错/bin/bash: /etc/sysconfig/ipvsadm: No such file or directory的主要内容,如果未能解决你的问题,请参考以下文章
ipvsadm安装报错/usr/src/linux/include/linux/types.h:14:26: error: conflicting types for ‘fd_set’的解决办法
ipvsadm安装报错/usr/src/linux/include/linux/types.h:14:26: error: conflicting types for ‘fd_set’的解决办法
shell脚本报错:-bash: xxx: /bin/bash^M: bad interpreter: No such file or directory
运行SHELL报错“-BASH: ./TEST.SH: /BIN/BASH^M: BAD INTERPRETER: NO SUCH FILE OR DIRECTORY”
运行SHELL报错“-BASH: ./TEST.SH: /BIN/BASH^M: BAD INTERPRETER: NO SUCH FILE OR DIRECTORY”
Shell脚本报错:-bash: ./switch.sh: /bin/bash^M: bad interpreter: No such file or directory