Modify

Ticket #3396 (closed defect: fixed)

Opened 19 months ago

Last modified 19 months ago

Bwmonitor: invalid IP value 255.255.255.255.

Reported by: zoumhussein@… Owned by: jacalvo@…
Milestone: 2.2.X Component: base
Severity: normal Keywords:
Cc:

Description (last modified by jamor@…) (diff)

I was tring to view bandwidth monitoring menu. My IP (principal interface) is well set up by the way. Thank you for your return

Error

Valeur invalide pour IP: 255.255.255.255.

Trace

Valeur invalide pour IP: 255.255.255.255. at /usr/share/perl5/EBox/Validate.pm line 163
	EBox::Validate::checkIP(255.255.255.255, 'IP') called at /usr/share/perl5/EBox/Types/HostIP.pm line 108
	EBox::Types::HostIP::_paramIsValid('EBox::Types::HostIP=HASH(0xbda62d30)', 'HASH(0xbda63908)') called at /usr/share/perl5/EBox/Types/Abstract.pm line 458
	EBox::Types::Abstract::setMemValue('EBox::Types::HostIP=HASH(0xbda62d30)', 'HASH(0xbda63908)') called at /usr/share/perl5/EBox/Types/Basic.pm line 137
	EBox::Types::Basic::_setValue('EBox::Types::HostIP=HASH(0xbda62d30)', 255.255.255.255) called at /usr/share/perl5/EBox/Types/Abstract.pm line 432
	EBox::Types::Abstract::setValue('EBox::Types::HostIP=HASH(0xbda62d30)', 255.255.255.255) called at /usr/share/perl5/EBox/Model/DataTable.pm line 4363
	EBox::Model::DataTable::_fillTypes('EBox::BWMonitor::Model::BWUsage=HASH(0xbcdb2b98)', 'HASH(0xbda5aa08)', 1) called at /usr/share/perl5/EBox/Model/DataTable.pm line 4039
	EBox::Model::DataTable::_autoloadAdd('EBox::BWMonitor::Model::BWUsage=HASH(0xbcdb2b98)', 'add', 'ARRAY(0xbda3aa58)') called at /usr/share/perl5/EBox/Model/DataTable.pm line 2792
	EBox::Model::DataTable::AUTOLOAD('EBox::BWMonitor::Model::BWUsage=HASH(0xbcdb2b98)', 'ip', 255.255.255.255, 'extrecv', '1.8 KB', 'extsent', 0, 'intrecv', '7.1 KB', ...) called at /usr/share/perl5/EBox/BWMonitor/Model/BWUsage.pm line 123
	EBox::BWMonitor::Model::BWUsage::syncRows('EBox::BWMonitor::Model::BWUsage=HASH(0xbcdb2b98)', 'ARRAY(0xbd983508)') called at /usr/share/perl5/EBox/Model/DataTable.pm line 1606
	EBox::Model::DataTable::ids('EBox::BWMonitor::Model::BWUsage=HASH(0xbcdb2b98)') called at /usr/share/zentyal/templates/ajax/modelViewer.mas line 69
	HTML::Mason::Commands::__ANON__('model', 'EBox::BWMonitor::Model::BWUsage=HASH(0xbcdb2b98)', 'hasChanged', undef, 'action', 'view') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
	HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0xbd906770)', 'model', 'EBox::BWMonitor::Model::BWUsage=HASH(0xbcdb2b98)', 'hasChanged', undef, 'action', 'view') called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
	eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1292
	HTML::Mason::Request::comp(undef, undef, 'model', 'EBox::BWMonitor::Model::BWUsage=HASH(0xbcdb2b98)', 'hasChanged', undef, 'action', 'view') called at /usr/share/zentyal/templates/ajax/tableBody.mas line 19
	HTML::Mason::Commands::__ANON__('model', 'EBox::BWMonitor::Model::BWUsage=HASH(0xbcdb2b98)', 'hasChanged', undef, 'action', 'view') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
	HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xbd901f90)', 'model', 'EBox::BWMonitor::Model::BWUsage=HASH(0xbcdb2b98)', 'hasChanged', undef, 'action', 'view') called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
	eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1292
	HTML::Mason::Request::comp(undef, undef, 'model', 'EBox::BWMonitor::Model::BWUsage=HASH(0xbcdb2b98)', 'hasChanged', undef, 'action', 'view') called at /usr/share/zentyal/templates/ajax/tabMenu.mas line 61
	HTML::Mason::Commands::__ANON__('models', 'ARRAY(0xbd73f3e0)', 'selectedTab', 0, 'hasChanged', undef, 'tabName', 'General', 'directory', ...) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
	HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xbd8e0f78)', 'models', 'ARRAY(0xbd73f3e0)', 'selectedTab', 0, 'hasChanged', undef, 'tabName', 'General', ...) called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
	eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1292
	HTML::Mason::Request::comp(undef, undef, 'models', 'ARRAY(0xbd73f3e0)', 'selectedTab', 0, 'hasChanged', undef, 'tabName', ...) called at <anonymous component> line 52
	HTML::Mason::Commands::__ANON__('model', 'EBox::BWMonitor::Composite::General=HASH(0xbd73f2f0)', 'hasChanged', undef) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
	HTML::Mason::Component::run('HTML::Mason::Component=HASH(0xbda60940)', 'model', 'EBox::BWMonitor::Composite::General=HASH(0xbd73f2f0)', 'hasChanged', undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
	eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1292
	HTML::Mason::Request::comp(undef, undef, undef, 'model', 'EBox::BWMonitor::Composite::General=HASH(0xbd73f2f0)', 'hasChanged', undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 483
	eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 483
	eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 433
	HTML::Mason::Request::exec('HTML::Mason::Request=HASH(0xbdb09e50)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 342
	HTML::Mason::Interp::exec(undef, undef, 'model', 'EBox::BWMonitor::Composite::General=HASH(0xbd73f2f0)', 'hasChanged', undef) called at /usr/share/perl5/EBox/CGI/Base.pm line 148
	EBox::CGI::Base::_body('EBox::CGI::View::Composite=HASH(0xbda51f48)') called at /usr/share/perl5/EBox/CGI/Base.pm line 192
	EBox::CGI::Base::_print('EBox::CGI::View::Composite=HASH(0xbda51f48)') called at /usr/share/perl5/EBox/CGI/Base.pm line 348
	EBox::CGI::Base::run('EBox::CGI::View::Composite=HASH(0xbda51f48)') called at /usr/share/perl5/EBox/CGI/Run.pm line 129
	EBox::CGI::Run::run('EBox::CGI::Run', 'Network/BWMonitor', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
	ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0xbd8c2270)') 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(0xbda53350)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xbda53350)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0xbd8c2270)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (117.8 KB) - added by anonymous 19 months ago.
zentyal.log

Change History

Changed 19 months ago by anonymous

zentyal.log

comment:1 Changed 19 months ago by jamor@…

  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to Bwmonitor: invalid IP value 255.255.255.255.

comment:2 Changed 19 months ago by jamor@…

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

(In [23511]) Usage table allows no-host IP addresses closes #3396

comment:3 Changed 19 months ago by jamor@…

Thanks a lot for your report, Zoumhussein.

It is fixed now in the repository and it will be published in the next version of zentyal-bwmonitor.

If you want to hotfix your server follow this isntructions:

1) Replace the old file /usr/share/perl5/EBox/BWMonitor/Model/BWUsage.pm with this new version ->

 http://trac.zentyal.org/export/23511/branches/jag/2.2-oct10/bwmonitor/src/EBox/BWMonitor/Model/BWUsage.pm

2) Run 'sudo /etc/init.d/zentyal apche 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.