OpenVZ Forum


Home » General » Support » vzfirewall and vzctl (vzctl throws parsing errors with vzfirewall-rules in conf-file)
Re: vzfirewall and vzctl [message #47043 is a reply to message #46815] Sat, 30 June 2012 03:43 Go to previous messageGo to previous message
koltar is currently offline  koltar
Messages: 2
Registered: June 2012
Junior Member
I had this same issue after running updates on CentOS 6.2. It was frustrating to debug and took out my servers. Here is what I discovered and hopefully this helps someone else to not waste there time.

It appeared to be an issue with space versus tab in my particular situation the /etc/vz/conf files. My original file was something to this effect

FIREWALL="
<space><space>[80,443]
<space><space>*
"

I attmepted
FIREWALL="[80,443]*"
...No Luck..

I changed it to
FIREWALL="
<tab>[80,443]
<tab>*
"

vzfirewall -a
vzfirewall -t
service iptables restart

This solved my issue, vzlist started working and my firewall was back to normal.
 
Read Message
Read Message
Read Message
Previous Topic: Adding external (eth0:0) IP to VE - missunderstanding of networking modes
Next Topic: Debian 6.0.4 free -m is very bizarre
Goto Forum:
  


Current Time: Fri Nov 15 02:54:56 GMT 2024

Total time taken to generate the page: 0.03220 seconds