Ticket #2800 (closed defect: fixed)
Network Virtual Interfaces
| Reported by: | lioncub@… | Owned by: | cperez@… |
|---|---|---|---|
| Milestone: | 2.2 | Component: | network |
| Severity: | normal | Keywords: | |
| Cc: |
Description
- Add Virtual Interfaces in eth0 (192.168.10.51):
Example:
Name: TestEth?
IP address: 192.168.10.134
Netmask: 255.255.255.0
In "Action" click "+" and "Save changes"
- Delete Virtual Interfaces "TestEth?" and "Save changes"
- Add any Virtual Interfaces:
Interface eth0:TestEth does not exist.
\n
\n$VAR1 = bless( {
'-stacktrace' => 'Interface eth0:TestEth does not exist. at /usr/share/perl5/EBox/DHCP.pm line 857
EBox::DHCP::fixedAddresses(\'EBox::DHCP=HASH(0x7ffe23e83638)\', \'eth0:TestEth\', 0) called at /usr/share/perl5/EBox/DHCP.pm line 1091
EBox::DHCP::vifaceAdded(\'EBox::DHCP=HASH(0x7ffe23e83638)\', \'eth0\', \'TestEth\', 192.168.10.134, 255.255.255.0) called at /usr/share/perl5/EBox/Network.pm line 933
EBox::Network::setViface(\'EBox::Network=HASH(0x7ffe238fb3f8)\', \'eth0\', \'TestEth\', 192.168.10.134, 255.255.255.0) called at /usr/share/perl5/EBox/CGI/Network/VIface.pm line 67
EBox::CGI::Network::VIface::_process(\'EBox::CGI::Network::VIface=HASH(0x7ffe259ebf10)\') called at /usr/share/perl5/EBox/CGI/Base.pm line 254
EBox::CGI::Base::run(\'EBox::CGI::Network::VIface=HASH(0x7ffe259ebf10)\') called at /usr/share/perl5/EBox/CGI/Run.pm line 119
EBox::CGI::Run::run(\'EBox::CGI::Run\', \'Network/VIface\', \'EBox\') called at /usr/share/zentyal/cgi/ebox.cgi line 35
ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler(\'Apache2::RequestRec=SCALAR(0x7ffe259e7b58)\') 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(0x7ffe259e7df8)\') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler(\'ModPerl::Registry=HASH(0x7ffe259e7df8)\') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler(\'ModPerl::Registry\', \'Apache2::RequestRec=SCALAR(0x7ffe259e7b58)\') called at -e line 0
eval {...} called at -e line 0
',
'-file' => '/usr/share/perl5/EBox/DHCP.pm',
'value' => 'eth0:TestEth',
'-text' => 'Interface eth0:TestEth does not exist.',
'data' => 'Interface',
'-line' => 857,
'-package' => 'EBox::DHCP',
'silent' => 0
}, 'EBox::Exceptions::DataNotFound' );
Attachments
Change History
comment:3 Changed 2 years ago by jamor@…
Sorry I don't understand you. You mean that you are unable to restart the server with the "/etc/init.d/zentyal apache restart" command?
comment:5 Changed 2 years ago by jamor@…
In my test machines this would dispel the error.
I have looked to the internal configuration just before adding the second viface and seemed correct. This two things makes me believe that is a error related with a webserver's cache
comment:7 Changed 2 years ago by jamor@…
Because it has not way to know that this cache error has happened. In fact if we know what causes it we would fix it directly instead of restarting apache
comment:10 Changed 22 months ago by cperez@…
- Status changed from new to closed
- Resolution set to fixed
This seems to be a cache problem. If you restart the interface webserver ("/etc/init.d/zentyal apache restart") the problem goes away