V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
shoper
V2EX  ›  问与答

centos 7 无法开启 firewalld 该如何解决?

  •  
  •   shoper · 2015-07-03 16:06:53 +08:00 · 5849 次点击
    这是一个创建于 3219 天前的主题,其中的信息可能已经有所发展或是发生改变。
    班瓦工的VPS,想要开启firewalld,
    运行了“systemctl start firewalld.service" ,
    但之后的状态仍然是 "not running",
    怎么才能解决啊?
    7 条回复    2018-12-16 00:21:34 +08:00
    weiceng
        1
    weiceng  
       2015-07-03 16:22:18 +08:00
    yum install firewalld
    systemctl start firewalld
    shoper
        2
    shoper  
    OP
       2015-07-03 16:36:41 +08:00
    @weiceng 这2条命令都已经执行了,结果还是一样。
    lhbc
        3
    lhbc  
       2015-07-03 16:44:38 +08:00
    systemctl status -l firewalld.service
    shoper
        4
    shoper  
    OP
       2015-07-03 16:48:08 +08:00
    @lhbc 返回如下信息
    ”2015-07-03 03:38:33 ERROR: Exception DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.22" is not allowed to own the service "org.fedoraproject.FirewallD1" due to security policies in the configuration file

    是不是说这个vps不允许vps开firewalld服务?
    lhbc
        5
    lhbc  
       2015-07-03 17:17:54 +08:00
    搬瓦工都是OpenVZ,还是用iptables吧
    bismall
        6
    bismall  
       2015-07-04 06:45:20 +08:00 via Android
    先启用再开始
    nameme
        7
    nameme  
       2018-12-16 00:21:34 +08:00
    systemctl restart dbus
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3001 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 15:10 · PVG 23:10 · LAX 08:10 · JFK 11:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.