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

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

  •  
  •   shoper · 2015 年 7 月 3 日 · 6325 次点击
    这是一个创建于 3850 天前的主题,其中的信息可能已经有所发展或是发生改变。
    班瓦工的VPS,想要开启firewalld,
    运行了“systemctl start firewalld.service" ,
    但之后的状态仍然是 "not running",
    怎么才能解决啊?
    7 条回复    2018-12-16 00:21:34 +08:00
    weiceng
        1
    weiceng  
       2015 年 7 月 3 日
    yum install firewalld
    systemctl start firewalld
    shoper
        2
    shoper  
    OP
       2015 年 7 月 3 日
    @weiceng 这2条命令都已经执行了,结果还是一样。
    lhbc
        3
    lhbc  
       2015 年 7 月 3 日
    systemctl status -l firewalld.service
    shoper
        4
    shoper  
    OP
       2015 年 7 月 3 日
    @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 年 7 月 3 日
    搬瓦工都是OpenVZ,还是用iptables吧
    bismall
        6
    bismall  
       2015 年 7 月 4 日 via Android
    先启用再开始
    nameme
        7
    nameme  
       2018 年 12 月 16 日
    systemctl restart dbus
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1125 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 23:53 · PVG 07:53 · LAX 15:53 · JFK 18:53
    ♥ Do have faith in what you're doing.