Ticket #3714 (closed defect: fixed)
Tried to add an virtual interface with the name "0": Interface eth0:0 does not exist.
| Reported by: | john@… | Owned by: | jamor@… |
|---|---|---|---|
| Milestone: | 2.2.X | Component: | network |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by jamor@…) (diff)
Adding a virtual ip address to an ethernet interface.
Tried to add an interface with the name "0" (zero) and this caused the error.
Error
Interface eth0:0 does not exist.
Trace
Interface eth0:0 does not exist. at /usr/share/perl5/EBox/Network.pm line 1148
EBox::Network::ifaceMethod('EBox::Network=HASH(0xb90d9d20)', 'eth0:0') called at /usr/share/perl5/EBox/DHCP.pm line 276
EBox::DHCP::models('EBox::DHCP=HASH(0xba7b6a38)') called at /usr/share/perl5/EBox/Model/ModelManager.pm line 600
EBox::Model::ModelManager::_setUpModelsFromProvider('EBox::Model::ModelManager=HASH(0xbb0352f8)', 'EBox::DHCP=HASH(0xba7b6a38)') called at /usr/share/perl5/EBox/Model/ModelManager.pm line 551
EBox::Model::ModelManager::_setUpModels('EBox::Model::ModelManager=HASH(0xbb0352f8)') called at /usr/share/perl5/EBox/Model/ModelManager.pm line 138
EBox::Model::ModelManager::model('EBox::Model::ModelManager=HASH(0xbb0352f8)', 'Mode') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 2592
EBox::UsersAndGroups::menu('EBox::UsersAndGroups=HASH(0xbaa8b058)', 'EBox::Menu::Root=HASH(0xbbe3d8e0)') called at /usr/share/perl5/EBox/Html.pm line 112
EBox::Html::menu(undef) called at /usr/share/perl5/EBox/HtmlBlocks.pm line 72
EBox::HtmlBlocks::menu('EBox::HtmlBlocks', undef) called at /usr/share/perl5/EBox/CGI/ClientBase.pm line 116
EBox::CGI::ClientBase::_menu('EBox::CGI::Dashboard::Index=HASH(0xbbdc1600)') called at /usr/share/perl5/EBox/CGI/Base.pm line 187
EBox::CGI::Base::_print('EBox::CGI::Dashboard::Index=HASH(0xbbdc1600)') called at /usr/share/perl5/EBox/CGI/Base.pm line 348
EBox::CGI::Base::run('EBox::CGI::Dashboard::Index=HASH(0xbbdc1600)') called at /usr/share/perl5/EBox/CGI/Run.pm line 129
EBox::CGI::Run::run('EBox::CGI::Run', '', '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(0xbb0bfad8)') 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(0xbb52b7e0)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xbb52b7e0)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0xbb0bfad8)') called at -e line 0
eval {...} called at -e line 0
Attachments
Change History
Changed 16 months ago by anonymous
-
attachment
zentyal.log
added
comment:1 Changed 16 months ago by jamor@…
- Component changed from base to network
- Description modified (diff)
- Summary changed from Bug report from Zentyal Server to Tried to add an virtual interface with the name "0": Interface eth0:0 does not exist.
comment:3 Changed 16 months ago by jamor@…
- Status changed from accepted to closed
- Resolution set to fixed
Thanks for your report John.
We have fixed it in changeset [ecdf3677c1988020456b83f]
You can hotfix your server following this steps:
1) Grab the new version of Network.pm here -> http://git.zentyal.org/zentyal.git/blob_plain/ecdf3677c1988020456b83f75e496ad09af35efe:/main/network/src/EBox/Network.pm
2) Use it to replace /usr/share/perl5/EBox/Network.pm
3) Restart user interface with: 'sudo /etc/init.d/zentyal apache restart'
4) Go to web interface and save changes. Virtual interface 'eth:0' should be available after that.
Regards,
Javier
zentyal.log