Announcement

Collapse
No announcement yet.

Firewalld not starting

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Firewalld not starting

    Upgrade Kubuntu 18.10 to 19.04 and Firewalld will not start.
    If you do a new install of Kubuntu 19.04 then it works.

    But I need the upgrade to work, so that prior files can be available.

    systemctl status firewalld provides error message...

    WARNING: iptables-restore and iptables are missing, disabling IPv4 firewall.
    (same for IPv6)
    FATAL Error, No iPv4 and IPv6 firewall.

    How to fix ?
    Last edited by gh4wi; Nov 18, 2019, 12:06 PM. Reason: FIXED

    #2
    Try reinstalling iptables
    Code:
    sudo apt --reinstall iptables
    Mark Your Solved Issues [SOLVED]
    (top of thread: thread tools)

    Comment


      #3
      sudo apt --reinstall iptables is not a working command.

      Used Moun package manager to reinstall iptables, firewalld, & firewalld-applet, still unable to start firewalld.

      Comment


        #4
        Probably this bug:
        https://bugs.launchpad.net/ubuntu/+s...d/+bug/1827144

        You can try working around it by symlinking the binaries under /usr/sbin:
        Code:
        sudo ln -s /sbin/iptables /usr/sbin/iptables
        Code:
        sudo ln -s /sbin/iptables-restore /usr/sbin/iptables-restore
        You can do the same for ipv6 binaries ("ip6tables" and "ip6tables-restore")

        Originally posted by gh4wi View Post
        sudo apt --reinstall iptables is not a working command.
        It's missing the "install" command: sudo apt install --reinstall iptables (but won't help if the cause is the bug)
        Last edited by kubicle; Nov 03, 2019, 08:57 AM.

        Comment


          #5
          Thanks for the info, tried adding the 4 links and retested firewalld. Still not starting.
          I notice that when it normally starts for the first time, it asks for a password, but it never gets that far ?
          No Joy in mud-ville...

          Tried adding problem report to Kubuntu Bugs, but no catagory for Firewall.

          Comment


            #6
            Hmm, that's a bit odd.

            Found another bug report with more activity, and it suggests it is fixed in the most recent versions of iptables/firewalld: https://bugs.launchpad.net/ubuntu/+s...d/+bug/1826187
            Strange it only affects an upgrade, though.

            I'd check the versions you have installed, also check the outputs of:
            Code:
            [FONT=monospace][COLOR=#18B218]ls -l[/COLOR] [COLOR=#1818B2]/usr/sbin/*tables*[/COLOR][/FONT]
            and
            Code:
            [FONT=monospace][COLOR=#18B218]ls -l[/COLOR] [COLOR=#1818B2]/sbin/*tables*[/COLOR][/FONT]
            to see if the binaries/links are good.

            Comment


              #7
              Used Package Manager to check versions. Then checked for updates. That resulted in 14 packages being updated.
              One of these was "iptables". After the update, rechecked the links and noticed that they were significantly different.
              I have no idea which package fixed the problem, since the versions numbers are also different than those in the
              bug/1826187. The good news is that now it works.
              Thanks for your help !!!

              Comment

              Working...
              X