Cannot start iptables service

Post Reply
duynq
Posts: 2
Joined: Fri Oct 30, 2020 4:42 pm
Cannot start iptables service

Post by duynq »

Hi all,
I have tried install myVesta on local server (docker) but after install success. Go to admin Admin panel > Server and iptables item is gray. Click to start but no luck.
I have checked log during install and see this message

Code: Select all

/usr/local/vesta/bin/v-update-firewall: line 169: /etc/network/if-pre-up.d/iptables: No such file or directory
/usr/local/vesta/bin/v-update-firewall: line 170: /etc/network/if-pre-up.d/iptables: No such file or directory
/usr/local/vesta/bin/v-update-firewall: line 171: /etc/network/if-pre-up.d/iptables: No such file or directory
chmod: cannot access '/etc/network/if-pre-up.d/iptables': No such file or directory
/usr/local/vesta/bin/v-update-firewall: line 169: /etc/network/if-pre-up.d/iptables: No such file or directory
/usr/local/vesta/bin/v-update-firewall: line 170: /etc/network/if-pre-up.d/iptables: No such file or directory
/usr/local/vesta/bin/v-update-firewall: line 171: /etc/network/if-pre-up.d/iptables: No such file or directory
chmod: cannot access '/etc/network/if-pre-up.d/iptables': No such file or directory
sed: can't read /usr/local/vesta/data/users/*/dns/*.conf: No such file or directory
/usr/local/vesta/bin/v-update-firewall: line 169: /etc/network/if-pre-up.d/iptables: No such file or directory
/usr/local/vesta/bin/v-update-firewall: line 170: /etc/network/if-pre-up.d/iptables: No such file or directory
/usr/local/vesta/bin/v-update-firewall: line 171: /etc/network/if-pre-up.d/iptables: No such file or directory
chmod: cannot access '/etc/network/if-pre-up.d/iptables': No such file or directory
How to fix this? I have tried to install iptables-persistent but no luck.
My OS is Debian 10.4

User avatar
dpeca
Site Admin
Posts: 236
Joined: Fri Jun 19, 2020 9:59 am
Location: Serbia, Niš
Re: Cannot start iptables service

Post by dpeca »

I have no idea.
I never tried to run myVesta/Vesta in Docker.

Maybe some Docker expert can help.

Maybe:

Code: Select all

apt install iptables
?

duynq
Posts: 2
Joined: Fri Oct 30, 2020 4:42 pm
Re: Cannot start iptables service

Post by duynq »

I have tried but not success
Image

Today I will test on official Vesta and test on Virtualbox


Post Reply