csf-post-docker
csf-post-docker copied to clipboard
problem with docker network
Hello I Have a problem when CSF has been restarted when i try to restart the CSF i saw below error : #csf -r
Running /usr/local/csf/bin/csfpost.sh
Template parsing error: template: :1: bad character U+002D '-'
Template parsing error: template: :1: bad character U+002D '-'
iptables v1.6.1: host/network ' not found Try
iptables -h' or 'iptables --help' for more information.
iptables v1.6.1: host/network ' not found Try
iptables -h' or 'iptables --help' for more information.
iptables v1.6.1: host/network ' not found Try
iptables -h' or 'iptables --help' for more information.
iptables v1.6.1: host/network ' not found Try
iptables -h' or 'iptables --help' for more information.
iptables v1.6.1: host/network ' not found Try
iptables -h' or 'iptables --help' for more information.
iptables v1.6.1: host/network ' not found Try
iptables -h' or 'iptables --help' for more information.
Template parsing error: template: :1: bad character U+002D '-'
Template parsing error: template: :1: bad character U+002D '-'
Template parsing error: template: :1: bad character U+002D '-'
Template parsing error: template: :1: bad character U+002D '-'
Template parsing error: template: :1: bad character U+002D '-'
Template parsing error: template: :1: bad character U+002D '-'
iptables v1.6.1: host/network ' not found Try
iptables -h' or 'iptables --help' for more information.
iptables v1.6.1: host/network ' not found Try
iptables -h' or 'iptables --help' for more information.
iptables v1.6.1: host/network ' not found Try
iptables -h' or 'iptables --help' for more information.
iptables v1.6.1: host/network ' not found Try
iptables -h' or 'iptables --help' for more information.
iptables v1.6.1: host/network ' not found Try
iptables -h' or 'iptables --help' for more information.
iptables v1.6.1: host/network ' not found Try
iptables -h' or 'iptables --help' for more information.
iptables v1.6.1: host/network ' not found Try
iptables -h' or 'iptables --help' for more information.
iptables v1.6.1: host/network ' not found Try
iptables -h' or 'iptables --help' for more information.
Template parsing error: template: :1: bad character U+002D '-'
Template parsing error: template: :1: bad character U+002D '-'
Template parsing error: template: :1: bad character U+002D '-'
Template parsing error: template: :1: bad character U+002D '-'
Template parsing error: template: :1: bad character U+002D '-'
Template parsing error: template: :1: bad character U+002D '-'
Template parsing error: template: :1: bad character U+002D '-'
Template parsing error: template: :1: bad character U+002D '-'
● lfd.service - ConfigServer Firewall & Security - lfd
Loaded: loaded (/usr/lib/systemd/system/lfd.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2019-04-17 05:42:43 UTC; 21ms ago
Process: 11449 ExecStart=/usr/sbin/lfd (code=exited, status=0/SUCCESS)
Main PID: 11479 (lfd - starting)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/lfd.service
└─11479 lfd - starting
Apr 17 05:42:43 s24-development systemd[1]: Starting ConfigServer Firewall & Security - lfd... Apr 17 05:42:43 s24-development systemd[1]: Started ConfigServer Firewall & Security - lfd. csf and lfd have been enabled
how can i solve Template parsing error ? thanks
Does this solve your issue?
https://github.com/Viperoo/csf-post-docker/commit/18dee2afe46bdb1fc990f5717b95cf0d108e2ba5
https://github.com/juli3nk/csf-post-docker/issues/19#issuecomment-753448175