[Voyage-linux] isc-dhcp-server failed

Laili Aidi (spam-protected)
Tue Aug 23 21:54:42 HKT 2011


Hello,

I'm trying to set up the dhcp3 server in my voyage 0.7, but it seems it's no longer install the dhcp3, but instead the isc-dhcp-server, as shown below:

root at voyage:~# apt-get install dhcp3-server
Display all 28889 possibilities? (y or n)
root at voyage:~# apt-get install dhcp3-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  isc-dhcp-server
Suggested packages:
  isc-dhcp-server-ldap
The following NEW packages will be installed:
  dhcp3-server isc-dhcp-server
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
Need to get 403 kB of archives.
After this operation, 926 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://security.debian.org/ squeeze/updates/main isc-dhcp-server i386 4.1.1-P1-15+squeeze3 [377 kB]
Get:2 http://security.debian.org/ squeeze/updates/main dhcp3-server all 4.1.1-P1-15+squeeze3 [25.9 kB]
Fetched 403 kB in 0s (553 kB/s)
Preconfiguring packages ...
Selecting previously deselected package isc-dhcp-server.
(Reading database ... 25633 files and directories currently installed.)
Unpacking isc-dhcp-server (from .../isc-dhcp-server_4.1.1-P1-15+squeeze3_i386.deb) ...
Selecting previously deselected package dhcp3-server.
Unpacking dhcp3-server (from .../dhcp3-server_4.1.1-P1-15+squeeze3_all.deb) ...
Setting up isc-dhcp-server (4.1.1-P1-15+squeeze3) ...
Starting ISC DHCP server: dhcpdcheck syslog for diagnostics. ... failed!
 failed!
invoke-rc.d: initscript isc-dhcp-server, action "start" failed.
Setting up dhcp3-server (4.1.1-P1-15+squeeze3) ...


I have set up my dhcp server in eth0 and lease ip address as configuration below:

root at voyage:~# vi /etc/default/isc-dhcp-server
INTERFACES="eth0"


root at voyage:~# vi /etc/dhcp/dhcpd.conf
ddns-update-style none;
authoritative;
log-facility local7;
lease-file-name "/var/lib/dhcp/dhcpd.leases";
subnet 192.168.3.0 netmask 255.255.255.0{
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.3.255;
option routers 192.168.3.254;
option domain-name-servers 192.168.3.1;
range 192.168.3.25 192.168.3.50;
}

But, when I try to start the server, it always failed and show this message, while I'm sure that there is no more dhcp server running on my machine. The eth1 is set up as dhcp client.

I have tried to googling it, somebody say that I have to disable my Selinux, and also I follow this instruction, to disable all lines in /etc/dnsmasq.more.conf as mentioned in http://www.mail-archive.com/voyage-linux@list.voyage.hk/msg01773.html

but it's still not success. Is there any other idea on what should I do to make this run?

Aidi



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20110823/ae8c013d/attachment.html>


More information about the Voyage-linux mailing list