Modify

Ticket #2442 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

traffic shaping restart

Reported by: jehon <jeanhonlet@…> Owned by: ejhernandez@…
Milestone: 2.0.X Component: trafficshaping
Severity: major Keywords:
Cc:

Description

I received this error.

My system: ubuntu 10.04 (up to date) 64bits Iptables 1.4.4 Zentyal: unknown (not seen in the interface) (deb point to  http://ppa.launchpad.net/zentyal/2.0/ubuntu)

It happened when I asked "restart" on "traffic shaping". Since it is the first operation I do on traffic shaping, I don't know where the stuff is wrong. The only thing I can say is: i have only 1 rule prioritizing voip over anything else...

Thanks for your beautiful product, Jehon

Trace

root command /sbin/iptables -t mangle -A EBOX-SHAPER-eth0 -m mark --mark 0/0xFF00 -p udp --destination-port 5036 -j MARK --set-mark 0x400 /sbin/iptables -t mangle -A EBOX-SHAPER-eth0 -m mark --mark 0/0xFF00 -p udp --destination-port 10000:20000 -j MARK --set-mark 0x400 /sbin/iptables -t mangle -A EBOX-SHAPER-eth0 -m mark --mark 0/0xFF00 -p udp --destination-port 4569 -j MARK --set-mark 0x400 /sbin/iptables -t mangle -A EBOX-SHAPER-eth0 -m mark --mark 0/0xFF00 -p udp --destination-port 5060 -j MARK --set-mark 0x400 failed. Error output: iptables: Protocol wrong type for socket iptables: Protocol wrong type for socket iptables: Protocol wrong type for socket iptables: Protocol wrong type for socket

Command output: . Exit value: 1 at /usr/share/perl5/Error.pm line 182 Error::throw('EBox::Exceptions::Sudo::Command', 'cmd', '/sbin/iptables -t mangle -A EBOX-SHAPER-eth0 -m mark --mark...', 'output', 'ARRAY(0x7f4a1b841ab8)', 'error', 'ARRAY(0x7f4a1930e120)', 'exitValue', 1, ...) called at /usr/share/perl5/EBox/Sudo.pm line 212 EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/ebox/tmp/QR0_RIgENl.cmd 2> /v...', '/sbin/iptables -t mangle -A EBOX-SHAPER-eth0 -m mark --mark...', 256, 'ARRAY(0x7f4a1b841ab8)', 'ARRAY(0x7f4a1930e120)') called at /usr/share/perl5/EBox/Sudo.pm line 181 EBox::Sudo::_root(1, '/sbin/iptables -t mangle -A EBOX-SHAPER-eth0 -m mark --mark...', '/sbin/iptables -t mangle -A EBOX-SHAPER-eth0 -m mark --mark...', '/sbin/iptables -t mangle -A EBOX-SHAPER-eth0 -m mark --mark...', '/sbin/iptables -t mangle -A EBOX-SHAPER-eth0 -m mark --mark...') called at /usr/share/perl5/EBox/Sudo.pm line 136 EBox::Sudo::root('/sbin/iptables -t mangle -A EBOX-SHAPER-eth0 -m mark --mark...', '/sbin/iptables -t mangle -A EBOX-SHAPER-eth0 -m mark --mark...', '/sbin/iptables -t mangle -A EBOX-SHAPER-eth0 -m mark --mark...', '/sbin/iptables -t mangle -A EBOX-SHAPER-eth0 -m mark --mark...') called at /usr/share/perl5/EBox/TrafficShaping.pm line 1889 EBox::TrafficShaping::_executeIptablesCmds('EBox::TrafficShaping?=HASH(0x7f4a1b647fc8)', 'ARRAY(0x7f4a19363858)') called at /usr/share/perl5/EBox/TrafficShaping.pm line 242 EBox::TrafficShaping::_enforceServiceState('EBox::TrafficShaping?=HASH(0x7f4a1b647fc8)', 'restart', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 682 EBox::Module::Service::_regenConfig('EBox::TrafficShaping?=HASH(0x7f4a1b647fc8)', 'restart', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 707 EBox::Module::Service::restartService('EBox::TrafficShaping?=HASH(0x7f4a1b647fc8)') called at /usr/share/perl5/EBox/CGI/EBox/RestartService.pm line 51 EBox::CGI::EBox::RestartService::_process('EBox::CGI::EBox::RestartService?=HASH(0x7f4a1b5f2b00)') called at /usr/share/perl5/EBox/CGI/Base.pm line 262 EBox::CGI::Base::run('EBox::CGI::EBox::RestartService?=HASH(0x7f4a1b5f2b00)') called at /usr/share/perl5/EBox/CGI/Run.pm line 120 EBox::CGI::Run::run('EBox::CGI::Run', 'EBox/RestartService', 'EBox') called at /usr/share/ebox/cgi/ebox.cgi line 35 ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler('Apache2::RequestRec?=SCALAR(0x7f4a1b5f2fc8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204 eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204 ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7f4a1b5f2f38)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170 ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f4a1b5f2f38)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31 ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec?=SCALAR(0x7f4a1b5f2fc8)') called at -e line 0 eval {...} called at -e line 0

Attachments

Change History

comment:1 Changed 3 years ago by cperez@…

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

(In [19524]) NN: Fixed L7 shaping when watching more than one interface (closes #2024 #2400 #2501 #2442)

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.