View previous topic :: View next topic |
Author |
Message |
sebv Tux's lil' helper


Joined: 14 Jan 2005 Posts: 78 Location: Savoie (France)
|
Posted: Tue Oct 04, 2005 6:58 am Post subject: DHCPD won't start [solved] |
|
|
Hello,
I reinstall a router/server on gentoo, and i don't understand, all work fine, execpt the dhcp server which refuse to start.
I don't have more information about the probleme, the gentoo init script just tel me that the service isn't start.
I juste get :
Code: |
* Re-caching dependency info (mtimes differ)...
* Setting ownership on dhcpd.leases ... [ ok ]
* Starting chrooted dhcpd ... [ !! ]
|
I use ccache and distcc to compilet, but i try to remove distcc and it change nothing.
I also try to install another version of dhcp and it don't solve my problem.
I currently launch the DHCP of the old install (a debian) via a chroot on his hard disk and it work, so it's not a problem with my kernel (i think).
my "emerge --info" :
Code: |
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python: 2.3.5-r2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="fr_FR@euro"
LINGUAS="fr"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi apache2 apm avi berkdb bitmap-fonts bzip2 crypt ctype cups directfb eds emboss encode exif expat foomaticdb fortran ftp gd gdbm gif gpm gstreamer gtk gtk2 iconv imagemagick imlib inifile ipv6 jpeg libg++ libwww mad mcal mikmod mime mmx mng motif mp3 mpeg mysql ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl php png postgres python qt quicktime readline sdl spell ssl svg tcpd truetype truetype-fonts type1-fonts vorbis wxwindows x86 xml2 xmms xv zlib linguas_fr userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
|
Thanks for your help _________________ -La théorie, c'est quand on sait tout et que rien ne fonctionne. La pratique, c'est quand tout fonctionne et que personne ne sait pourquoi.
-Définissez-moi d'abord ce que vous entendez par Dieu et je vous dirai si j'y crois.
[Einstein]
Last edited by sebv on Sat Oct 08, 2005 9:12 am; edited 1 time in total |
|
Back to top |
|
 |
adnoh Tux's lil' helper


Joined: 21 Jul 2005 Posts: 120
|
Posted: Tue Oct 04, 2005 8:22 am Post subject: |
|
|
hm ... maybe reboot the system
try to start the dhcp - daemon manualy (not the init-script) - maybe with option -v (verbose)
don't know what the init-script exactly does.
maybe you try a other dhcp-server? _________________ the german dude with the broken english |
|
Back to top |
|
 |
sebv Tux's lil' helper


Joined: 14 Jan 2005 Posts: 78 Location: Savoie (France)
|
Posted: Tue Oct 04, 2005 9:13 am Post subject: |
|
|
i try to launch it manually or to add -v in init script, and i get the same thing :
Code: |
* Re-caching dependency info (mtimes differ)...
* Setting ownership on dhcpd.leases ... [ ok ]
* Starting chrooted dhcpd ...
Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
Usage: dhcpd [-p <UDP port #>] [-d] [-f]
[-cf config-file] [-lf lease-file]
[-user user] [-group group] [-chroot dir]
[-tf trace-output-file]
[-play trace-input-file]
[-t] [-T] [-s server] [if0 [...ifN]]
If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.
If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.
Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.
exiting. [ !! ]
|
_________________ -La théorie, c'est quand on sait tout et que rien ne fonctionne. La pratique, c'est quand tout fonctionne et que personne ne sait pourquoi.
-Définissez-moi d'abord ce que vous entendez par Dieu et je vous dirai si j'y crois.
[Einstein] |
|
Back to top |
|
 |
sebv Tux's lil' helper


Joined: 14 Jan 2005 Posts: 78 Location: Savoie (France)
|
Posted: Sat Oct 08, 2005 9:12 am Post subject: |
|
|
Ok, it work, i juste remove, the default "-q" option in the init config file, and i add a line on my dhcpd.conf and now it work fine. _________________ -La théorie, c'est quand on sait tout et que rien ne fonctionne. La pratique, c'est quand tout fonctionne et que personne ne sait pourquoi.
-Définissez-moi d'abord ce que vous entendez par Dieu et je vous dirai si j'y crois.
[Einstein] |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|