Welcome Guest ( Log In | Register )

Bump Topic Topic Closed RSS Feed

Outline · [ Standard ] · Linear+

 Firewalld not running, Almalinux 8

views
     
TSUbuntuClient
post May 10 2023, 07:20 AM, updated 3y ago

Regular
******
Senior Member
1,417 posts

Joined: Jun 2007
From: /puchong/cyberjaya/klang



Hi,

OS: Almalinux 8
VPS: 4CPU 8GB RAM

A few time i already reinstall firewalld but seem not running. The error log did not thrown any error.
CODE
[root@localhost firewalld]# systemctl enable firewalld
[root@localhost firewalld]# systemctl restart firewalld
[root@localhost firewalld]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
  Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
  Active: failed (Result: exit-code) since Wed 2023-05-10 07:16:07 +08; 1s ago
    Docs: man:firewalld(1)
 Process: 2138 ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=3)
Main PID: 2138 (code=exited, status=3)

May 10 07:16:07 localhost.localdomain systemd[1]: Starting firewalld - dynamic firewall daemon...
May 10 07:16:07 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
May 10 07:16:07 localhost.localdomain systemd[1]: firewalld.service: Main process exited, code=exited, status=3/NOTIMPLEMENTED
May 10 07:16:07 localhost.localdomain systemd[1]: firewalld.service: Failed with result 'exit-code'.


Firewalld.conf >> https://privatebin.support-tools.com/?0f630...Wf3t3bgxHpxpZs=

Any idea what i miss?

Thanks.
Christopher_LKL
post May 10 2023, 08:13 AM

Kairi Kawaii ^^
******
Senior Member
1,399 posts

Joined: Jan 2003
From: Destiny Island


first try restart the system

then check if module disabled
sysctl -a | grep modules_disabled
if the value is 1 change to 0
you can change in /etc/sysctl.conf

after changing please restart the system

This post has been edited by Christopher_LKL: May 10 2023, 08:13 AM
Buffalo Soldier
post May 10 2023, 08:42 AM

Casual
***
Junior Member
444 posts

Joined: Aug 2005
Usually in case like this:
1. tail and follow (-f) the log files

2. on a separate terminal, restart the services

3. On the window with the "live" log files running... see whats error or warning that appears.

I tried to give you some example commands... but the forums disallow it. But its pretty standard way of doing debugging/diagnostic... a simple web search will give u plenty of examples.

Here --> https://stackoverflow.com/questions/5309875...rewall-log-file

This post has been edited by Buffalo Soldier: May 10 2023, 08:44 AM
TSUbuntuClient
post May 10 2023, 09:19 AM

Regular
******
Senior Member
1,417 posts

Joined: Jun 2007
From: /puchong/cyberjaya/klang



QUOTE(Buffalo Soldier @ May 10 2023, 08:42 AM)
Usually in case like this:
1. tail and follow (-f) the log files

2. on a separate terminal, restart the services

3. On the window with the "live" log files running... see whats error or warning that appears.

I tried to give you some example commands... but the forums disallow it. But its pretty standard way of doing debugging/diagnostic... a simple web search will give u plenty of examples.

Here --> https://stackoverflow.com/questions/5309875...rewall-log-file
*
It produce error below
CODE
2023-05-10 09:18:44 DEBUG2: <class 'firewall.core.ipXtables.ip4tables'>: /usr/sbin/iptables-restore will be using  option.
2023-05-10 09:18:44 DEBUG2: <class 'firewall.core.ipXtables.ip6tables'>: /usr/sbin/ip6tables-restore will be using  option.
2023-05-10 09:18:44 DEBUG2: <class 'firewall.core.ebtables.ebtables'>: /usr/sbin/ebtables-restore /run/firewalld/temp.kl5088tt: 0

Buffalo Soldier
post May 10 2023, 10:28 AM

Casual
***
Junior Member
444 posts

Joined: Aug 2005
Have you disabled any iptables, ip6tables, ebtables and ipset services?

FYI I've never used firewalld, just basing this from the official docs https://firewalld.org/documentation/howto/e...-firewalld.html
TSUbuntuClient
post May 10 2023, 10:36 AM

Regular
******
Senior Member
1,417 posts

Joined: Jun 2007
From: /puchong/cyberjaya/klang



Just found the issue. It's latest kernel. When booting using previous kernel, firewalld can run.
TSUbuntuClient
post May 10 2023, 11:38 AM

Regular
******
Senior Member
1,417 posts

Joined: Jun 2007
From: /puchong/cyberjaya/klang



Somehow kernel not properly installed. Manually install kernel fix the issue.

Topic ClosedOptions
 

Change to:
| Lo-Fi Version
0.0198sec    0.66    5 queries    GZIP Disabled
Time is now: 14th December 2025 - 12:17 PM