首页 > 编程语言 >docker evel=error msg="error reading the kernel parameter net.ipv4.vs.expire_nodest_conn"

docker evel=error msg="error reading the kernel parameter net.ipv4.vs.expire_nodest_conn"

时间:2023-05-31 10:24:35浏览次数:39  
标签:ip nf nodest vs error conn

我使用的是docker swarm
-#报错
evel=error msg="error reading the kernel parameter net.ipv4.vs.expire_nodest_conn" error="open /proc/sys/net/ipv4/vs/expire_nodest_conn: no such file or directory"

-#查看是否开启 ip_vs
lsmod | grep ip_vs
=============================================
-#解决
#开启
modprobe ip_vs

============================================
-#查看
lsmod | grep ip_vs

ip_vs                 155648  0 
nf_conntrack          155648  6 xt_conntrack,nf_nat,xt_nat,nf_conntrack_netlink,xt_MASQUERADE,ip_vs
nf_defrag_ipv6         24576  2 nf_conntrack,ip_vs
libcrc32c              16384  4 nf_conntrack,nf_nat,xfs,ip_vs

============================================
-#重启docker
systemctl restart docker 

标签:ip,nf,nodest,vs,error,conn
From: https://www.cnblogs.com/zongliang-ya/p/17445302.html

相关文章

  • Efficient Correction of Single InsertionlDeletion and Multi-Substitution Errors
    EfficientCorrectionofSingleInsertionlDeletionandMulti-SubstitutionErrorsG.J.Han,Y.L.Guan,K.Cai,K.S.Chan,andL.J.KongA!JshYlc�Atwo-stagesynchronizationalgorithmisproposedtocorrectsingleinsertion/deletionandmulti-substitution......
  • VST实例(7)拖拽(drag&drop)
    1、拖拽操作需要用到的单元和函数在讲拖拽操作之前先讲两个过程(procedure):MovetoprocedureMoveTo(Source:PVirtualNode;Target:PVirtualNode;Mode:TVTNodeAttachMode;ChildrenOnly:Boolean);overload;procedureMoveTo(Node:PVirtualNode;Tree:TBaseVirtualTree......
  • VST实例(8)编辑
    VST的单元格支持编辑,使用普通的编辑很简单,VST提供了一个编辑器,是一个继承自TCUSTOMEDIT的编辑器。TStringEditLink=class(TInterfacedObject,IVTEditLink);1、发出编辑请求向VST发出编辑请求,有以下三种方式:第一种方式是,VST可以在treeoptions里设置toEditable,可在鼠标放到......
  • vst实例(9)创建编辑器
    先上编辑器单元的代码:uniteditlink;interfaceusesWindows,Messages,SysUtils,Classes,Graphics,Controls,Forms,Dialogs,StdCtrls,VirtualTrees;typetcomboeditlink=class(TInterfacedObject,IVTEditLink)privateFedit:TComboBox;itemstrs:......
  • VST实例(10) hint(提示)
    VST也支持提示(hint)。毫无疑问,要让VST支持hint,首先肯定需要设置:SHOWHINT:=TRUE;其次,还应该设置hintmode。TVTHintMode=(hmDefault,hmHint,hmHintAndDefault,hmTooltip);hmDefault :显示控件的hint,即VST的hint。hmHint :显示程序返回的提示。hmHintAndDefa......
  • 文心一言 VS 讯飞星火 VS chatgpt (26)-- 算法导论5.1 1题
    一、证明:假设在过程HIRE-ASSISTANT的第4行中,我们总能决定哪一个应聘者最佳。则意味着我们知道应聘者排名的全部次序。文心一言:证明:假设在过程HIRE-ASSISTANT的第4行中,我们总能决定哪一个应聘者最佳。则意味着我们知道应聘者排名的全部次序。在HIRE-ASSISTANT的第......
  • 解决右键没有vscode打开选项的问题 AHAI AHAI
    问题点击鼠标右键没有‘使用vscode打开’的选项。原因在安装时没有勾选相关选项解决办法先声明亲测有效。1.新建文本文件夹2.输入以下文本WindowsRegistryEditorVersion5.00[HKEY_CLASSES_ROOT\*\shell\VSCode]@="OpenwithCode""Icon"="D:\\Mic......
  • vscode配置单个cpp文件打断点的文件
    (51条消息)【工具】VScode设置断点调试(以cpp为例)_vdcode运行断点cpp_沙diao网友的博客-CSDN博客launch.json内容{//UseIntelliSensetolearnaboutpossibleattributes.//Hovertoviewdescriptionsofexistingattributes.//Formoreinformation,......
  • android开发java.lang.NoClassDefFoundError: org/jetbrains/kotlin/cli/common/Prope
    问题:编译Android项目出现java.lang.NoClassDefFoundError:org/jetbrains/kotlin/cli/common/PropertiesKt原因:项目使用发JDK版本和Kotlin版本不一致或者说不对应导致gradle找不到对应的类解决方法:我的解决方法是降低JDK的版本到1.8,具体操作是OpenModulesSettings->SDKLoc......
  • 使用powercli 批量多线程 克隆vsphere虚拟机
    $VMS=import-csv-Path'vm001.csv'$Job=$VMS|ForEach-Object-Parallel{#忽略位$Skip=$($_.skip)if($Skip-eq"yes"){continue}#虚拟机名字$VMname=$($_.name)#资源池名字$Resource_Pool=$($_.res_po......