Author Topic: [SOLVED]DHCP PROBLEM  (Read 1585 times)

Ardobras

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
[SOLVED]DHCP PROBLEM
« on: October 24, 2010, 02:00:33 am »
Ok Guys, I´m 17 and from Germany, so please have mercy with my english :)

I have a E-Box Server (v2.0.5) and I can´t start my DHCP Server. It´s horrible, I already tried a lot of solutions from this forum but nothing worked... I have the same problem like already others had. My DHCP-Module is enabled but if I press start, it says "successfully restarted" but if I type
"sudo /etc/init.d/dhcp3-server status" it tells me, "the server is not running" and in the WebUI I can press again "Start" for the same effect.

I made a log, hope it helps:
Code: [Select]

*******@e-box:~$ tail -f /var/log/ebox/ebox.log
2010/10/24 01:58:49 INFO> Service.pm:705 EBox::Module::Service::restartService - Restarting service for module: dhcp
2010/10/24 01:58:49 ERROR> Sudo.pm:212 EBox::Sudo::_rootError - root command /usr/bin/test -f '/var/lib/ebox/conf/dhcp/eth1/firmware' failed.
Error output:
Command output: .
Exit value: 1
2010/10/24 01:58:49 ERROR> Sudo.pm:212 EBox::Sudo::_rootError - root command cat /var/run/clamav/clamd.pid failed.
Error output: cat: /var/run/clamav/clamd.pid: No such file or directory

Command output: .
Exit value: 1
2010/10/24 01:59:03 INFO> Service.pm:705 EBox::Module::Service::restartService - Restarting service for module: dhcp
2010/10/24 01:59:04 ERROR> Sudo.pm:212 EBox::Sudo::_rootError - root command /usr/bin/test -f '/var/lib/ebox/conf/dhcp/eth1/firmware' failed.
Error output:
Command output: .
Exit value: 1
2010/10/24 01:59:04 ERROR> Sudo.pm:212 EBox::Sudo::_rootError - root command cat /var/run/clamav/clamd.pid failed.
Error output: cat: /var/run/clamav/clamd.pid: No such file or directory

Command output: .
Exit value: 1

If you need any logs or similar things, tell me... I hope theres anybody out, who could help me...
« Last Edit: October 26, 2010, 05:08:43 pm by Ardobras »

Josep

  • Zen Samurai
  • ****
  • Posts: 255
  • Karma: +6/-0
    • View Profile
Re: DHCP PROBLEM
« Reply #1 on: October 24, 2010, 01:08:01 pm »
First things first.
How many networks cards do you have?
Are all of them up and properly configured?
Can you ping them?

Ardobras

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: DHCP PROBLEM
« Reply #2 on: October 24, 2010, 01:49:53 pm »
Ok,
I have two ethnernet cards (eth0 + eth1) eth1 has ha static ip and should be the dhcp server and eth0 is connectet to the fritz!box (router used as modem). Eth1 is working fine, i can ping it and can also use the webserver (the webui is also running over eth1). to eth0 i havent a direct connection....
hope it helps...

acon

  • Board Moderator
  • Zen Samurai
  • *****
  • Posts: 454
  • Karma: +18/-0
    • View Profile
Re: DHCP PROBLEM
« Reply #3 on: October 24, 2010, 05:20:21 pm »
Have you defined a DHCP range?
The error about firmware is irrelevat. It is related to botp but is not causing dhcp to fail starting.

Ardobras

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: DHCP PROBLEM
« Reply #4 on: October 24, 2010, 05:41:16 pm »
I haven´t define a range but it shows me that the current range is 192.168.52.1 - 192.168.52.254 (the static ip of eth1 is 192.168.52.11)

acon

  • Board Moderator
  • Zen Samurai
  • *****
  • Posts: 454
  • Karma: +18/-0
    • View Profile
Re: DHCP PROBLEM
« Reply #5 on: October 24, 2010, 08:47:22 pm »
This is the available range acording to your netmask.
Press add and define your range.
DHCP shoult start then.

Ardobras

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: DHCP PROBLEM
« Reply #6 on: October 24, 2010, 09:08:17 pm »
Damn, so a stupid mistake
THANKS SO MUCH
its working fine now thx a lot!

acon

  • Board Moderator
  • Zen Samurai
  • *****
  • Posts: 454
  • Karma: +18/-0
    • View Profile
Re: DHCP PROBLEM
« Reply #7 on: October 25, 2010, 02:54:31 pm »
Dont forget to mark the thread as [SOLVED]