Firewalld is not running

General support questions
Post Reply
khanji
Posts: 3
Joined: 2020/05/18 21:50:18

Firewalld is not running

Post by khanji » 2020/05/18 21:55:48

Hi,
I'm facing the issue with firewalld is not running.
ran this command: "systemctl start firewalld"
nothing is shown.
ran this command: "systemctl is-active firewalld"
inactive
tried every possible solution on internet now help in this.

MartinR
Posts: 580
Joined: 2015/05/11 07:53:27
Location: UK

Re: Firewalld is not running

Post by MartinR » 2020/05/19 08:12:03

Try:

Code: Select all

# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2020-05-19 08:32:34 BST; 35min ago
     Docs: man:firewalld(1)
 Main PID: 1185 (firewalld)
    Tasks: 2
   CGroup: /system.slice/firewalld.service
           └─1185 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid

May 19 08:32:32 tamar.home systemd[1]: Starting firewalld - dynamic firewal.....
May 19 08:32:34 tamar.home systemd[1]: Started firewalld - dynamic firewall...n.
Hint: Some lines were ellipsized, use -l to show in full.
you'll get more information about any error messages.

khanji
Posts: 3
Joined: 2020/05/18 21:50:18

Re: Firewalld is not running

Post by khanji » 2020/05/19 18:17:25

Code: Select all

[root@server ~]# systemctl status firewalld
* firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Tue 2020-05-19 13:51:52 EDT; 23min ago
     Docs: man:firewalld(1)
 Main PID: 20052 (code=exited, status=0/SUCCESS)

May 19 13:51:51 server systemd[1]: Starting firewalld - dynamic firewall da.....
May 19 13:51:51 server firewalld[20052]: ERROR: Exception DBusException: org...e
May 19 13:51:52 server systemd[1]: Started firewalld - dynamic firewall daemon.
Hint: Some lines were ellipsized, use -l to show in full.
[root@server ~]#
This is what I get.

MartinR
Posts: 580
Joined: 2015/05/11 07:53:27
Location: UK

Re: Firewalld is not running

Post by MartinR » 2020/05/19 18:44:39

You'll need to look at the full line systemctl -l status firewalld, but

Code: Select all

May 19 13:51:51 server firewalld[20052]: ERROR: Exception DBusException: org...e
will be the problem. I'm no DBus expert, so others may need to step in once you have the full error message.

khanji
Posts: 3
Joined: 2020/05/18 21:50:18

Re: Firewalld is not running

Post by khanji » 2020/05/19 18:49:28

Code: Select all

[root@server ~]# systemctl -l status firewalld
* firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Tue 2020-05-19 14:42:52 EDT; 5min ago
     Docs: man:firewalld(1)
 Main PID: 25946 (code=exited, status=0/SUCCESS)

May 19 14:42:51 server systemd[1]: Starting firewalld - dynamic firewall daemon...
May 19 14:42:52 server firewalld[25946]: ERROR: Exception DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.757" is not allowed to own the service "org.fedoraproject.FirewallD1" due to security policies in the configuration file
May 19 14:42:52 server systemd[1]: Started firewalld - dynamic firewall daemon.
This is the message that I get. What should I do now?

MartinR
Posts: 580
Joined: 2015/05/11 07:53:27
Location: UK

Re: Firewalld is not running

Post by MartinR » 2020/05/19 19:21:21

The file /etc/dbus-1/system.d/FirewallD.conf on my system only permits root to own org.fedoraproject.FirewallD1 and its configuration file. What then is 'Connection ":1.757"'? This is the point at which DBus experts are needed, I've never fiddled with it.

Post Reply

Return to “CentOS 7 - General Support”