Ticket #3813 (closed defect: fixed)
error message after clicking bandwidth monitor
| Reported by: | r_bosch@… | Owned by: | jamor@… |
|---|---|---|---|
| Milestone: | 3.0 | Component: | bwmonitor |
| Severity: | normal | Keywords: | |
| Cc: |
Description
After clicking Network/Bandwidthmonitor? I got this error:
Invalid value for IP: 4294967295.
Trace
Invalid value for IP: 4294967295. at /usr/share/perl5/EBox/Validate.pm line 163 EBox::Validate::checkIP(4294967295, 'IP') called at /usr/share/perl5/EBox/Types/HostIP/BCast.pm line 56 EBox::Types::HostIP::BCast::_paramIsValid('EBox::Types::HostIP::BCast=HASH(0x7f3537988160)', 'HASH(0x7f3537971bc8)') called at /usr/share/perl5/EBox/Types/Abstract.pm line 458 EBox::Types::Abstract::setMemValue('EBox::Types::HostIP::BCast=HASH(0x7f3537988160)', 'HASH(0x7f3537971bc8)') called at /usr/share/perl5/EBox/Types/Basic.pm line 137 EBox::Types::Basic::_setValue('EBox::Types::HostIP::BCast=HASH(0x7f3537988160)', 4294967295) called at /usr/share/perl5/EBox/Types/Abstract.pm line 432 EBox::Types::Abstract::setValue('EBox::Types::HostIP::BCast=HASH(0x7f3537988160)', 4294967295) called at /usr/share/perl5/EBox/Model/DataTable.pm line 4376 EBox::Model::DataTable::_fillTypes('EBox::BWMonitor::Model::BWUsage=HASH(0x7f3534fc9908)', 'HASH(0x7f35376ac298)', 1) called at /usr/share/perl5/EBox/Model/DataTable.pm line 4052 EBox::Model::DataTable::_autoloadAdd('EBox::BWMonitor::Model::BWUsage=HASH(0x7f3534fc9908)', 'add', 'ARRAY(0x7f35349041f0)') called at /usr/share/perl5/EBox/Model/DataTable.pm line 2805 EBox::Model::DataTable::AUTOLOAD('EBox::BWMonitor::Model::BWUsage=HASH(0x7f3534fc9908)', 'ip', 4294967295, 'extrecv', '3.9 KB', 'extsent', 0, 'intrecv', 0, ...) called at /usr/share/perl5/EBox/BWMonitor/Model/BWUsage.pm line 128 EBox::BWMonitor::Model::BWUsage::syncRows('EBox::BWMonitor::Model::BWUsage=HASH(0x7f3534fc9908)', 'ARRAY(0x7f353797f0a8)') called at /usr/share/perl5/EBox/Model/DataTable.pm line 1609 EBox::Model::DataTable::ids('EBox::BWMonitor::Model::BWUsage=HASH(0x7f3534fc9908)') called at /usr/share/zentyal/templates/ajax/modelViewer.mas line 69 HTML::Mason::Commands::ANON('model', 'EBox::BWMonitor::Model::BWUsage=HASH(0x7f3534fc9908)', 'hasChanged', undef, 'action', 'view') called at /usr/share/perl5/HTML/Mason/Component.pm line 135 HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x7f3537375418)', 'model', 'EBox::BWMonitor::Model::BWUsage=HASH(0x7f3534fc9908)', '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(0x7f3534fc9908)', 'hasChanged', undef, 'action', 'view') called at /usr/share/zentyal/templates/ajax/tableBodyWithoutActions.mas line 18 HTML::Mason::Commands::ANON('model', 'EBox::BWMonitor::Model::BWUsage=HASH(0x7f3534fc9908)', 'hasChanged', undef, 'action', 'view') called at /usr/share/perl5/HTML/Mason/Component.pm line 135 HTML::Mason::Component::run('HTML::Mason::Component::FileBased?=HASH(0x7f35374f7360)', 'model', 'EBox::BWMonitor::Model::BWUsage=HASH(0x7f3534fc9908)', '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(0x7f3534fc9908)', 'hasChanged', undef, 'action', 'view') called at /usr/share/zentyal/templates/ajax/tabMenu.mas line 61 HTML::Mason::Commands::ANON('models', 'ARRAY(0x7f353725ee10)', '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(0x7f35374f0ba8)', 'models', 'ARRAY(0x7f353725ee10)', '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(0x7f353725ee10)', 'selectedTab', 0, 'hasChanged', undef, 'tabName', ...) called at line 56 HTML::Mason::Commands::ANON('model', 'EBox::BWMonitor::Composite::General=HASH(0x7f353725ae48)', 'hasChanged', undef) called at /usr/share/perl5/HTML/Mason/Component.pm line 135 HTML::Mason::Component::run('HTML::Mason::Component=HASH(0x7f3537987a88)', 'model', 'EBox::BWMonitor::Composite::General=HASH(0x7f353725ae48)', '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(0x7f353725ae48)', '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(0x7f3537931220)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 342 HTML::Mason::Interp::exec(undef, undef, 'model', 'EBox::BWMonitor::Composite::General=HASH(0x7f353725ae48)', 'hasChanged', undef) called at /usr/share/perl5/EBox/CGI/Base.pm line 148 EBox::CGI::Base::_body('EBox::CGI::View::Composite=HASH(0x7f35379546f0)') called at /usr/share/perl5/EBox/CGI/Base.pm line 192 EBox::CGI::Base::_print('EBox::CGI::View::Composite=HASH(0x7f35379546f0)') called at /usr/share/perl5/EBox/CGI/Base.pm line 348 EBox::CGI::Base::run('EBox::CGI::View::Composite=HASH(0x7f35379546f0)') 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(0x7f3537927940)') 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(0x7f353791d6d8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170 ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f353791d6d8)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31 ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec?=SCALAR(0x7f3537927940)') called at -e line 0 eval {...} called at -e line 0
I tried to use the link that comes with the errormessage, but had the error: Couldn't send the report
To do a manual report, please follow these instructions: Create a new ticket in the Zentyal trac by clicking here. Write a short description of the problem in the summary field. Write a detailed report of what you were doing before this problem ocurred in the description field. Download the log file with additional information by clicking here. Attach the downloaded file in the ticket.
Might be becuase no SMTP server is set??
Attachments
Change History
comment:1 Changed 15 months ago by jamor@…
- Status changed from new to accepted
- Component changed from network to bwmonitor
comment:2 Changed 15 months ago by jamor@…
- Status changed from accepted to closed
- Resolution set to fixed
Hello Rbosch,
I have added code to recover for this error in the bandiwth monitor interface [0ca13a92b80]. To hotfix your server:
- Download the new version of BWUsage.pm http://git.zentyal.org/zentyal.git/blob_plain/0ca13a92b804ee2bf5937379ee8f14748f500796:/main/bwmonitor/src/EBox/BWMonitor/Model/BWUsage.pm
- Use it to replace /usr/share/perl5/EBox/BWMonitor/Model/BWUsage.pm
- Restart interface with the command 'sudo /etc/init.d/zentyal apache restart'
However I cannot found the root cause of the error and I need your help to find it. The value that raises this error is extracted form a data base field which has restricted its values to IP addresses so I don't know how it arrived to the interface.
So additionally to the bwmonitor logs I would like to see a database dump . To get it:
sudo -s # to gain root shell su postgres -c'pg_dump -t bwmonitor_usage eboxlogs' > /tmp/dump
And attach the /tmp/dump fiel to the ticket.
Please, reopen if you can provide the feedback requested.
Regards,
Javier
Hello,
this is probably a parsing error.
Could you attach to this ticket the logs found in /var/log/zentyal/bwmonitor/*?. Since they could be quite long I suggest you to compress them first.
Regards,
Javier