error: "net.ipv4.ip_conntrack_max" is an unknown key
在iptables服務開啟的狀態測試不會出現unknown key的錯誤,我們嘗試關閉
iptables .
[root@DT2MISPDB ~]# service iptables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: nat filter [ OK ]
Unloading iptables modules: [ OK ]
[root@DT2MISPDB ~]#
[root@DT2MISPDB etc]# service iptables status
Firewall is stopped.
[root@DT2MISPDB etc]# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmall = 2097152
kernel.shmmax = 3221225472
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
fs.aio-max-nr = 1048576
error: "net.ipv4.ip_conntrack_max" is an unknown key
[root@DT2MISPDB etc]#
發現錯誤出現:
error: "net.ipv4.ip_conntrack_max" is an unknown key
使用modprobe載入ip_conntrack模組,lsmod檢視模組已載入。
[root@DT2MISPDB etc]# modprobe ip_conntrack
[root@DT2MISPDB etc]# lsmod
Module Size Used by
ip_conntrack 53281 0
再次關閉iptables服務,檢視
[root@DT2MISPDB etc]# service iptables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules: [ OK ]
[root@DT2MISPDB etc]#
[root@DT2MISPDB etc]# lsmod
結果沒有發現ip_conntrack 模組。
問題 :
1. Linux下載入及解除安裝模組是什麼意思 ? 這裡的模組都是指核心模組 ?
2. 載入 ip_conntrack 模組和 iptables 服務以及 透過service iptables start 有什麼關係 ?
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-687339/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- error: unknown error 22 setting key 'kernel.shmmax'ErrorHMM
- error: "net.bridge.bridge-nf-call-ip6tables" is an unknown keyError
- ERROR | [iOS] unknown: Encountered an unknown error (Could not find a `ios` simulator (valid values:ErroriOS
- mysql Unknown error 1054MySqlError
- emulator: ERROR: unknown virtual device nameErrordev
- linux sysctl -p 報error: "net.bridge.bridge-nf-call-ip6tables" is an unknown keyLinuxError
- ERROR 2026 (HY000): SSL connection error: unknown error numberError
- windows redis sentinel listen: Unknown error解決方案WindowsRedisError
- Http failure response 0 Unknown error 錯誤分析HTTPAIError
- Unknown SSL protocol error in connection to xxx:443ProtocolError
- python -- 解決字典【KEY ERROR】PythonError
- PSQLException: ERROR: failed to find conversion function from unknown to charSQLExceptionErrorAIFunction
- ERROR 1193: Unknown system variable 'log_slow_queries'Error
- MySQL:ERROR 1286 (42000): Unknown storage engine 'MyISAM'MySqlError
- 解決AndroidStudio建立模擬器時unknown errorAndroidError
- ndo2db: mysql_error: ‘Unknown column ‘importance’ in ‘field list”MySqlErrorImport
- Andorid“emulator: ERROR: unknown virtual device name”問題解決Errordev
- Discuz雲平臺站點資訊同步失敗,An unknown error occurred. May be DNS Error.ErrorDNS
- 解決Linux redhat 5 udevd[17568]: add_to_rules: unknown keyLinuxRedhatdev
- Android之NDK開發錯誤 error: unknown type name 'JNIEXPORT'AndroidErrorExport
- ERROR 1054 (42S22): Unknown column 'plugin' in 'mysql.user'ErrorPluginMySql
- 解決Mac java.net Local host name unknown error的方法MacJavaError
- 【ubuntu】解決Unable to determine the device handle for GPU 0000:02:00.0: Unknown ErrorUbuntudevGPUError
- 因login-path導致MySQL 啟動[ERROR]unknown variable 'password=*****'MySqlError
- GPG key retrieval failed: [Errno 14] HTTP Error 404: Not FoundAIHTTPError
- mysql error 2005 - Unknown MySQL server host 'localhost'(11001)MySqlErrorServerlocalhost
- DUMP-CX_SY_OPEN_SQL_DB-DBSQL_DUPLICATE_KEY_ERRORSQLError
- 記錄:yum Could not resolve host: mirrors.cloud.aliyuncs.com; Unknown error解決CloudError
- fabirc error authorizing update: error validating ReadSet: readset expected key [Group] /Channel/AppErrorAPP
- MySQL 5.6複製報錯Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND;MySqlError
- 偶遇ERROR 1071 (42000): Specified key was too long; max key length is 767 bytesError
- TS中特殊型別-any、unknown、never和extends繼承約束、keyof的使用型別繼承
- MySQL DROP TABLE刪除表報錯'ERROR 1051 (42S02): Unknown table'MySqlError
- ERROR 1062 (23000): Duplicate entry for key 'PRIMARY'Error
- Q:[Vue warn]: Duplicate keys detected: ‘PAYACT‘. This may cause an update error.VueError
- MySQL 5.7.17 安裝報錯SSL error: Unable to get private key fromMySqlError
- Oracle11gr2新增提示CHANGE_DUPKEY_ERROR_INDEXOracleErrorIndex
- 小程式 · 報錯:Error: errCode: -501007 ,errMsg: Invalid Key Name (__keyPath)Error