Ticket #4539 (closed defect: worksforme)
With no connection: Can't call method 'valueByName' on an undefined value at /usr/share/perl5/EBox/DHCP/Model/Options.pm line 219.
| Reported by: | jss24@… | Owned by: | jamor@… |
|---|---|---|---|
| Milestone: | 2.2.X | Component: | base |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by jamor@…) (diff)
I ended up plugging the network cable from the LAN of the Zentyal server into a router, then I plugged it back into the Dlink 5 port switch, tried to get a test pc onto the internet, noticed dhcp won't work.
Error
Can't call method 'valueByName' on an undefined value
Trace
Can't call method 'valueByName' on an undefined value at /usr/share/perl5/EBox/DHCP/Model/Options.pm line 219.
Attachments
Change History
Changed 11 months ago by anonymous
-
attachment
zentyal.log
added
comment:1 Changed 11 months ago by jamor@…
- Description modified (diff)
- Summary changed from Bug report from Zentyal Server to With no connection: Can't call method 'valueByName' on an undefined value at /usr/share/perl5/EBox/DHCP/Model/Options.pm line 219.
Hello Jss24,
I see in your zentyal.log more errors related to a lack of connection (ntp, snort, ..) could you reconfigure the network module to your network and then try again?.
Probably some or all of the errors will go away.
comment:2 Changed 11 months ago by jamor@…
- Status changed from new to closed
- Resolution set to worksforme
Probably the DHCP error is due to have assigned a gateway that not longer exists. This was already reported in ticket #3417 and now there is an additional check to unallow to delete a gateway which is used by dhcp.
In your case you have to go to the DHCP configuration and check the 'Default gateway' option for all interfaces and change anyone which references to a gateway which does not exists.
Please reopen the ticket with more feedback if after changing the 'Default gateway' option do you have more problems. Also if you remember how you arrived to this situation, please share the steps with us.
Regards,
Javier
zentyal.log