Modify

Ticket #4581 (closed defect: duplicate)

Opened 11 months ago

Last modified 7 months ago

Can't add static IP address to DHCP

Reported by: charl.wentzel@… Owned by: jamor@…
Milestone: 3.0.X Component: dhcp
Severity: normal Keywords:
Cc:

Description

When trying to add a static IP address (object) to DHCP, an error is given and the DHCP service is halted until static address is removed.

Error:

Some modules reported error when saving changes . More information on the logs in /var/log/zentyal/

model /dhcp/FixedAddressTable/* does not exist. model /dhcp/FixedAddressTable/* does not exist. at /usr/share/perl5/EBox/Model/Manager.pm line 221 EBox::Model::Manager::_componentByPath('EBox::Model::Manager=HASH(0xb314834)', 'model', '/dhcp/FixedAddressTable/*', undef) called at /usr/share/perl5/EBox/Model/Manager.pm line 126 EBox::Model::Manager::model('EBox::Model::Manager=HASH(0xb314834)', '/dhcp/FixedAddressTable/*') called at /usr/share/perl5/EBox/DHCP.pm line 1745 EBox::DHCP::_allowedMemberInFixedAddress('EBox::DHCP=HASH(0xb7fb690)', 'eth0', 'HASH(0xc3a61b0)', 'objc1', 'readonly') called at /usr/share/perl5/EBox/DHCP.pm line 766 EBox::DHCP::fixedAddresses('EBox::DHCP=HASH(0xb7fb690)', 'eth0', 'readonly') called at /usr/share/perl5/EBox/DHCP.pm line 1332 EBox::DHCP::_ifacesInfo('EBox::DHCP=HASH(0xb7fb690)', 'HASH(0xb8555f8)') called at /usr/share/perl5/EBox/DHCP.pm line 1270 EBox::DHCP::_setDHCPConf('EBox::DHCP=HASH(0xb7fb690)') called at /usr/share/perl5/EBox/DHCP.pm line 221 EBox::DHCP::_setConf('EBox::DHCP=HASH(0xb7fb690)') called at /usr/share/perl5/EBox/Module/Base.pm line 985 EBox::Module::Base::_regenConfig('EBox::DHCP=HASH(0xb7fb690)') called at /usr/share/perl5/EBox/Module/Service.pm line 693 EBox::Module::Service::_regenConfig('EBox::DHCP=HASH(0xb7fb690)') called at /usr/share/perl5/EBox/Module/Base.pm line 232 EBox::Module::Base::save('EBox::DHCP=HASH(0xb7fb690)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 616 EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl?=HASH(0xaeda590)', 'progress', 'EBox::ProgressIndicator?=HASH(0xa19e480)') called at /usr/share/perl5/EBox/Global.pm line 95 EBox::Global::AUTOLOAD('EBox::Global=HASH(0xaeda25c)', 'progress', 'EBox::ProgressIndicator?=HASH(0xa19e480)') called at /usr/share/zentyal/global-action line 39

Attachments

Change History

comment:1 Changed 11 months ago by jacalvo@…

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

This should be fixed in the last version of zentyal-dhcp, please upgrade. Thanks.

comment:2 Changed 7 months ago by chiefgecko@…

  • Status changed from closed to reopened
  • Resolution fixed deleted
  • Milestone changed from 3.0 to 3.0.X

Same problem as originally described. I configured DHCP and made the decision to add the list of static DHCP addresses at a later time. Which turned into the originally stated problem.

2012/10/16 00:55:23 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: dhcp 2012/10/16 00:55:23 WARN> DHCP.pm:1785 EBox::DHCP::_allowedMemberInFixedAddress - MAC address 00:20:00:30:15:0b is being used by ET00200030150B and, at least, et00200030150b [entry omitted for security] 2012/10/16 00:55:23 WARN> DHCP.pm:1785 EBox::DHCP::_allowedMemberInFixedAddress - MAC address 00:20:00:30:15:0b is being used by et00200030150b and, at least, ET00200030150B 2012/10/16 00:55:23 WARN> DHCP.pm:1785 EBox::DHCP::_allowedMemberInFixedAddress - MAC address [entry omitted for security] 2012/10/16 00:55:24 ERROR> Sudo.pm:233 EBox::Sudo::_rootError - root command start 'isc-dhcp-server' failed. Error output: start: Job failed to start

Command output: . Exit value: 1 2012/10/16 00:55:24 ERROR> GlobalImpl?.pm:646 EBox::GlobalImpl::ANON - Failed to save changes in module dhcp: root command start 'isc-dhcp-server' failed. Error output: start: Job failed to start

Command output: . Exit value: 1

comment:3 Changed 7 months ago by chiefgecko@…

Installation fully updated as of now

zzzzz@xxxxx:/var/log/zentyal$ dpkg --list | egrep 'zentyal-dhcp' ii zentyal-dhcp 3.0 Zentyal - DHCP Service zzzzz@xxxxx:/var/log/zentyal$

comment:4 Changed 7 months ago by jamor@…

  • Status changed from reopened to closed
  • Resolution set to duplicate

Hello Chiefgecko,

this is a different problem that the original report. The problem is:

root command start 'isc-dhcp-server' failed.

This is the same than ticket #5069

Could you follwo that ticket for this problem?

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.