‘FirewallD‘ object has no attribute ‘path‘ 、‘fw‘、is not registered
問題描述:
[root@localhost apache-tomcat-9.0.16]# firewall-cmd --add-port=80/tcp --permanent
ERROR:dbus.proxies:Introspect error on :1.65:/org/fedoraproject/FirewallD1: dbus.exceptions.DBusException: org.fedoraproject.FirewallD1.Exception: 'FirewallD' object has no attribute 'path'
Error: 'FirewallD' object has no attribute 'fw'
[root@localhost apache-tomcat-9.0.16]# firewall-cmd --zone=public --add-port=8080/tcp --permanent
Error: Method "getZoneByName" with signature "s" on interface "org.fedoraproject.FirewallD1.config" doesn't exist
[root@localhost apache-tomcat-9.0.16]# firewall-cmd --zone=public --list-ports
ERROR:dbus.proxies:Introspect error on :1.65:/org/fedoraproject/FirewallD1: dbus.exceptions.DBusException: org.fedoraproject.FirewallD1.Exception: 'FirewallD' object has no attribute 'path'
Error: Action org.fedoraproject.FirewallD1.config.info is not registered
解決方案
執行鍼對firewalld軟體包的升級命令
yum update firewalld
再次執行
[root@localhost apache-tomcat-9.0.16]# firewall-cmd --zone=public --add-port=8080/tcp --permanent
success
[root@localhost apache-tomcat-9.0.16]# firewall-cmd --zone=public --add-port=80/tcp --permanent
success
[root@localhost apache-tomcat-9.0.16]#
相關文章
- Process object has no attribute '_popen'Object
- ‘dict‘ object has no attribute ‘iteritems‘Object
- AttributeError: 'dict' object has no attribute 'has_key'ErrorObject
- AttributeError: 'module' object has no attribute 'lock'ErrorObject
- 【坑】Tkinter ‘NoneType‘ object has no attribute ‘destroy‘NoneObject
- AttributeError: 'Settings' object has no attribute 'HBase'ErrorObject
- 問題解決:AttributeError: ‘NoneType‘ object has no attribute ‘append‘ErrorNoneObjectAPP
- python去掉excel空格和換行,報錯'int' object has no attribute 'strip'PythonExcelObject
- Rasa init報錯:AttributeError: type object 'Callable' has no attribute '_abc_registry'ErrorObject
- Traceback (most recent call last): File "AttributeError: 'NoneType' object has no attribute 'group'ASTErrorNoneObject
- Uncaught TypeError: Object [object Object] has no method 'xxx'ErrorObject
- module ‘h5py‘ has no attribute ‘File‘H5
- AttributeError: module ‘requests‘ has no attribute ‘_version_‘Error
- module ‘tensorflow‘ has no attribute ‘get_default_graph‘
- Uncaught TypeError: Object # has no method 'load'ErrorObject
- 解決pycharm問題:module 'pip' has no attribute 'main'PyCharmAI
- [轉]成功解決AttributeError: module ‘enum‘ has no attribute ‘IntFlag‘?Error
- springcloudconfig訪問gitee報錯:Authentication is required but no CredentialsProvider has been registeredSpringGCCloudGiteeUIIDE
- 1_使用face_recognition模組:錯誤AttributeError:'PngStream' object has no attribute 'chunk fcWp'(20190223)ErrorObject
- firewalld操作
- 初探Firewalld
- zt_powerdesigner_'find in diagram' 後彈出'the object has no symbol'ObjectSymbol
- AttributeError: module...ops‘ has no attribute ‘_TensorLike‘, ValueError: `updates` argument..eagerError
- Fatal firmware error: Driver detected possible FW hang, halting FWError
- AttributeError: module ‘tensorflow._api.v1.nn.rnn_cell‘ has no attribute ‘InputProjectionWrapper‘ErrorAPIRNNProjectAPP
- 【Error】AttributeError: module ‘scipy.misc‘ has no attribute ‘logsumexp‘ 的解決辦法Error
- Invalid configuration object webpack dev server has been initialisedObjectWebdevServer
- iptables和firewalld
- AttributeError: module‘ tensorflow_core._api.v2. train‘ has no attribute‘ AdamOptimizer‘ErrorAPIAI
- enq: KO - fast object checkpoint 等待事件與 direct path read - 1ENQASTObject事件
- enq: KO - fast object checkpoint 等待事件與 direct path read - 2ENQASTObject事件
- enq: KO - fast object checkpoint 等待事件與 direct path read - 3ENQASTObject事件
- 配置ssh/IP/fw/xhost
- Oracle RAC crsd日誌-0Resource ora!dbtest2!vip has incomplete attribute setOracle
- python-unittest 框架利用 PageObject 設計模式在 BasePage 類中呼叫不到 send_keys 方法,執行報錯'NoneType' object has no attribute 'send_keys'Python框架Object設計模式None
- The directory xx is registered as a Git rootGit
- LINUX 防火牆 firewalldLinux防火牆
- module hmrclient is not a registered callable moduleclient