OS/Linux
๐ [TroubleShooting] Failed to start firewalld : dynamic firewall daemon
S.A.H
2024. 2. 5. 23:32
๋ฐ์ํ
๐Troubleshooting - ๋ฐฉํ๋ฒฝ ๋ฐ๋ชฌ์ด ์คํ๋์ง ์์ ํ์
๐ ๋ฌธ์ ๋์: RHEL 8 ์๋ฒ
๐ ํ์:
1) /etc/firewalld/direct.xml ๅ ง ํ์ฉ IP์ ์ฑ ์ viํธ์ง๊ธฐ๋ก ์์
2) systemctl restart firewalld → firewall daemon์ด ์ฌ์์ ๋ชปํจ
3) systemctl stop firewalld ๋ก firewall daemon ์ค์ง ํ start ํ์์ผ๋ ๊ธฐ๋ ๋ถ๊ฐ ERROR ๋ฐ์
#systemctl start firewalld
Job for firewalld.service failed because the control process exited with error code.
See "systemctl status firewalld.service" and "journalctl -xe" for details.
#systemctl status firewalld
Feb 01 10:08:09 TEST-SERVER python3[1974]: detected unhandled Python exception in '/usr/sbin/firewalld'
Feb 01 10:08:09 TEST-SERVER systemd[1]: firewalld.service: main process exited, code=exited, status=1/FAILURE
Feb 01 10:08:09 TEST-SERVER systemd[1]: Failed to start firewalld - dynamic firewall daemon.
Unit firewalld.service has failed
* /var/log/firewalld , /var/log/messages, /var/log/syslog ๋ฑ ์ ๋ณด ํ์ธ
* journalctl -xe ๋ช ๋ น์ด๋ก ์ถ๊ฐ์ ๋ณด ํ์ธ
๐ ํด๊ฒฐ: ์ํ๋ก ๋ณด์์ ๋, python์ ํธ๋ค๋ง ํ์ง ๋ชปํด daemon ์คํ์ ์ํฅ์ ์ค ๊ฒ์ผ๋ก ๋ณด์.
1) yum reinstall firewalld → firewalld ํจํค์ง ์ฌ์ค์น ์งํ
2) systemctl start firewalld
3) ์ ์ ์๋
๋ฐ์ํ