Modify

Ticket #4379 (closed defect: fixed)

Opened 12 months ago

Last modified 6 months ago

Traffic Shapping - Rules error after saving

Reported by: lppires@… Owned by: jamor@…
Milestone: 2.0.X Component: trafficshaping
Severity: major Keywords:
Cc:

Description

Hi,

On Zentyal 2.3 after I create a rule for Traffic Shapping and save changes, the following error shows up:

2012/05/19 12:08:16 ERROR> RestartService?.pm:67 EBox::CGI::SysInfo::RestartService::ANON - Restart of Traffic Shaping from dashboard failed: root command set -e /sbin/iptables -t mangle -A EBOX-SHAPER-eth0 -m mark --mark 0/0xFF00 -j MARK --set-mark 0x600 /sbin/iptables -t mangle -A EBOX-SHAPER-eth0 -m mark --mark 0/0xFF00 -p tcp --destination-port 80 -j MARK --set-mark 0x700 /sbin/iptables -t mangle -A EBOX-L7SHAPER-eth0 -j NFQUEUE --queue 0 /sbin/iptables -t mangle -I EBOX-SHAPER-eth0 -m mark --mark 0x100/0xFF00 -j MARK --set-mark 0x0 /sbin/iptables -t mangle -I EBOX-SHAPER-eth0 -m mark --mark 0x200/0xFF00 -j MARK --set-mark 0x0 /sbin/iptables -t mangle -A EBOX-SHAPER-eth0 -m mark --mark 0x800/0xFF00 -j MARK --set-mark 0x800 failed. Error output: iptables v1.4.12: unknown option "--queue"

Try `iptables -h' or 'iptables --help' for more information.

Command output: . Exit value: 2

This thread seems to report the same type of error:  http://forum.zentyal.org/index.php/topic,10324.msg42971.html#msg42971

Attachments

Change History

comment:1 Changed 12 months ago by lppires@…

  • Component changed from base to trafficshaping

comment:2 Changed 11 months ago by jamor@…

  • Status changed from new to closed
  • Resolution set to fixed

Hello Ippires,

this error was triggered for a change of syntax for the NFQUEUE target. It has benn fixed in the development branch. If they isn't any unexpected error the new version will be later published this week.

However if you can hotfix your system you can do it editing the file /usr/share/perl5/EBox/TrafficShaping.pm and replacing '--queue' for '--queue-num', after that restart the web interface with 'sudo /etc/init.d/zentyal apache restart'.

Regards,

Javier

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.