I noticed on my some servers shorewall service is installed but it's not running.I want to uninstall it.

I executed the command sudo systemctl status shorewall to check status of shorewall and got the below output.

shorewall.service - Shorewall IPv4 firewall
Loaded: loaded (/lib/systemd/system/shorewall.service; disabled; vendor preset: enabled)
Active: inactive (dead)

Then I executed sudo apt-get purge --auto-remove shorewall command to uninstall the shorewall. After uninstalling it, I checked the status of shorewall with this command again sudo systemctl status shorewall then It' giving output like below.

Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
Jul 08 20:24:23 ip-10-10-10-10 systemd[1]: Stopped Shorewall IPv4 firewall.

Can anyone confirm please that is shorewall uninstalled successfully?, why is it giving the output like this?

1 Answer 1


The output of systemctl status shorewall indicates that you successfully removed it from your computer. However, the log entries remain from when it was previously installed. The log entries are not deleted.

  • Just now I deleted the shorewall logs files like shorewall-init.log* from /var/log/. After that I executed the status command but it showing same output as I mentioned previously. If shorewall is uninstalled completely then status command sudo systemctl status shorewall should show the output something like this shorewall is not found or shorewall services is unknown. Jul 8, 2020 at 19:07
  • That is what it said! Jul 8, 2020 at 19:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.