Author Topic: big troubles with installation of dhcp on hardy  (Read 1777 times)

daniel

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
big troubles with installation of dhcp on hardy
« on: July 23, 2008, 05:56:52 pm »
Hi!
This is my second installation of ebox. the first one was fucked up with some misconfiguration of ldap after updating from 99 to 101. But actually it went fine, dhcp without anything.

I reinstalled hardy-server 64 freshly, added the repositories from ebox and installed ebox alone. Done
Then I installed network, no problem...
Then I added dhcp...fails, kills ebox:
during install it fails to start up dhcpd (invoke-rc.d: initscript dhcp3-server, action "start" failed.)
and the it goes wild:

Code: [Select]
EBox::Module::_create('EBox::DHCP') called at /usr/share/perl5/EBox/GConfModule.pm line 37
EBox::GConfModule::_create('EBox::DHCP') called at /usr/share/perl5/EBox/Global.pm line 625
EBox::Global::modInstance('EBox::Global=HASH(0x1697aa0)', 'dhcp') called at /usr/share/perl5/EBox/Global.pm line 552
EBox::Global::modInstancesOfType('EBox::Global=HASH(0x1697aa0)', 'EBox::LogObserver') called at /usr/share/perl5/EBox/Logs.pm line 323
EBox::Logs::getLogsModules at /usr/share/perl5/EBox/Logs.pm line 334
EBox::Logs::getAllTables('EBox::Logs=HASH(0x1d161a0)') called at /usr/share/perl5/EBox/Logs.pm line 358
EBox::Logs::getTableInfo('EBox::Logs=HASH(0x1d161a0)', 'firewall') called at /usr/share/perl5/EBox/Logs/Model/ConfigureLogDataTable.pm line 193
EBox::Logs::Model::ConfigureLogDataTable::filterDomain('EBox::Types::Text=HASH(0x1d30dd0)') called at /usr/share/perl5/EBox/Types/Abstract.pm line 194
EBox::Types::Abstract::filter('EBox::Types::Text=HASH(0x1d30dd0)') called at /usr/share/perl5/EBox/Types/Abstract.pm line 179
EBox::Types::Abstract::printableValue('EBox::Types::Text=HASH(0x1d30dd0)') called at /usr/share/perl5/EBox/Types/Text.pm line 69
EBox::Types::Text::printableValue('EBox::Types::Text=HASH(0x1d30dd0)') called at /usr/share/perl5/EBox/Model/Row.pm line 283
EBox::Model::Row::addElement('EBox::Model::Row=HASH(0x1d30bc0)', 'EBox::Types::Text=HASH(0x1d30dd0)') called at /usr/share/perl5/EBox/Model/DataTable.pm line 875
EBox::Model::DataTable::row('EBox::Logs::Model::ConfigureLogDataTable=HASH(0x1d166c0)', 'conf9305') called at /usr/share/perl5/EBox/Model/DataTable.pm line 1479
EBox::Model::DataTable::_rows('EBox::Logs::Model::ConfigureLogDataTable=HASH(0x1d166c0)') called at /usr/share/perl5/EBox/Model/DataTable.pm line 1355
EBox::Model::DataTable::rows('EBox::Logs::Model::ConfigureLogDataTable=HASH(0x1d166c0)') called at /usr/share/perl5/EBox/Logs/Model/ConfigureLogDataTable.pm line 114
EBox::Logs::Model::ConfigureLogDataTable::rows('EBox::Logs::Model::ConfigureLogDataTable=HASH(0x1d166c0)') called at /usr/share/perl5/EBox/Logs/Model/ConfigureLogDataTable.pm line 86
EBox::Logs::Model::ConfigureLogDataTable::enabledLogs('EBox::Logs::Model::ConfigureLogDataTable=HASH(0x1d166c0)') called at /usr/share/perl5/EBox/Logs.pm line 696
EBox::Logs::_saveEnabledLogs('EBox::Logs=HASH(0x1ccd450)') called at /usr/share/perl5/EBox/Logs.pm line 109
EBox::Logs::_regenConfig('EBox::Logs=HASH(0x1ccd450)', 'restart', 1) called at /usr/share/perl5/EBox/Module.pm line 136
EBox::Module::__ANON__ at /usr/share/perl5/Error.pm line 416
eval {...} at /usr/share/perl5/Error.pm line 408
Error::subs::try('CODE(0x1d162e0)', 'HASH(0x1d16440)') called at /usr/share/perl5/EBox/Module.pm line 139
EBox::Module::restartService('EBox::Logs=HASH(0x1ccd450)') called at /etc/init.d/ebox line 70
main::__ANON__ at /usr/share/perl5/Error.pm line 416
eval {...} at /usr/share/perl5/Error.pm line 408
Error::subs::try('CODE(0x16aef00)', 'HASH(0x1ccd660)') called at /etc/init.d/ebox line 77
main::moduleAction('logs', 'restartService', 'restart') called at /etc/init.d/ebox line 130
main::moduleRestart('logs') called at /etc/init.d/ebox line 163
main::main at /etc/init.d/ebox line 179
 * Restarting eBox module: logs                                                                                       [fail]
No name provided on Module creation
Trace begun at /usr/share/perl5/EBox/Module.pm line 69
EBox::Module::_create('EBox::DHCP') called at /usr/share/perl5/EBox/GConfModule.pm line 37
EBox::GConfModule::_create('EBox::DHCP') called at /usr/share/perl5/EBox/Global.pm line 625
EBox::Global::modInstance('EBox::Global', 'dhcp') called at /usr/share/ebox-dhcp/migration//0001_import_to_mvc.pl line 202
No name provided on Module creationTrace begun at /usr/share/perl5/EBox/Module.pm line 69
EBox::Module::_create('EBox::DHCP') called at /usr/share/perl5/EBox/GConfModule.pm line 37
EBox::GConfModule::_create('EBox::DHCP') called at /usr/share/perl5/EBox/Global.pm line 625
EBox::Global::modInstance('EBox::Global', 'dhcp') called at /usr/share/ebox-dhcp/migration//0002_add_services.pl line 138
No name provided on Module creationTrace begun at /usr/share/perl5/EBox/Module.pm line 69
EBox::Module::_create('EBox::DHCP', 'ro', 1) called at /usr/share/perl5/EBox/GConfModule.pm line 37
EBox::GConfModule::_create('EBox::DHCP', 'ro', 1) called at /usr/share/perl5/EBox/Global.pm line 621
EBox::Global::modInstance('EBox::Global=HASH(0x1697aa0)', 'dhcp') called at /etc/init.d/ebox line 50
main::moduleAction('dhcp', 'restartService', 'restart') called at /etc/init.d/ebox line 130
main::moduleRestart('dhcp') called at /etc/init.d/ebox line 163
main::main at /etc/init.d/ebox line 179
No name provided on Module creationinvoke-rc.d: initscript ebox, action "dhcp" failed.

I tried several combination of uninstall, reinstall (installing, configuring and running dhcpd first) without any success. Funny enough, the ebox suddenly is not reachable anymore for some time, minutes later it is...is not...is...

Unfortunately I have no idea what's happening, which is bad cause I loved the concept of ebox.

best,
Daniel

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: big troubles with installation of dhcp on hardy
« Reply #1 on: July 23, 2008, 07:50:54 pm »
Ok, Daniel, let's track down your issue:

Could you reinstall by running:

Code: [Select]
apt-get remove --purge libebox; apt-get install ebox-dhcp


Thanks!


daniel

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: big troubles with installation of dhcp on hardy
« Reply #2 on: July 23, 2008, 08:41:48 pm »
Hi Javi, since my ebox install (i have it deinstalled at the moment) I have difficulties to reach the net (for apt). Im looking into it right now, so I can reproduce the problem and I'll be right back.

daniel

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: big troubles with installation of dhcp on hardy
« Reply #3 on: July 23, 2008, 10:16:34 pm »
I couldn't manage to get internet access again after deinstalling ebox, so I did a quick reinstall of the whole OS (hardy herno 8.04.1 64amd) and here is what I get this time:

I rebooted after install, mat upgrade and dist-upgrade, reboot
I entered ebox to the apt sources and did the install as you say ('apt-get install "^ebox-.*'). And guess what? This time dhcp is there.

Actually I didn't want to install things I don't need like mail, cv, squid, dns etc....but if everything else works out I can live with that load.

But unless I really configured dhcp, after configuring network to static I've once again lost my internet connection. Maybe you can help me with that.

I have networ interface (eth0):
nam: default
static
192.168.1.3
255.255.255.0

dns:
two nameservers by my isp (autmatically entered by ebox)

routes
none

gateway
192.168.1.1 (my router) interface eth0

My internet is connected to a router that connects to a xdsl modem.
For dhcp server I use 192.168.1.1 as gateway as well, right? And search domain is my local domainname, isn't it? Or should I incorporate the DNS function?

Sorry about those questions, I really appreciate your help.

Best,
Daniel

ps..: and as it happened before, evey now and then I simply loose the connection to the server (ebox isn't reachable and ssh refuses new connections)
« Last Edit: July 23, 2008, 10:19:05 pm by daniel »

daniel

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: big troubles with installation of dhcp on hardy
« Reply #4 on: July 24, 2008, 12:05:20 am »
Hi Javi!

After playing around for some time ereything seems stable and running. Even internet is again available, it just took an hour...the devil knows why. So sorry for the panic, after one reinstall of the whole system everything's fine.

Almost:
there seams to be a bug in the software module, at least it says so. And it refuses to show the components versions. This happened before wth the 99 version as well as now with 101

And what bugs me most right now, I already posted it in the other thread, is that I do not know how to add a machine. Simply joining the domain doesn't work. Windows says 'user not found' or #not part of the domain' or something (my win is german). Maybe you can give the directive about the correct way to join an ebox domain.

best,
daniel

ps.: ebox is a great piece of software. it wil mix up server business...