LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-22-2011, 03:57 AM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 489

Rep: Reputation: 36
could not start dhcpd


I installed scientific linux 6.1 x86, and have a dhcod problem.

Quote:
# /usr/sbin/dhcpd start
Internet Systems Consortium DHCP Server 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Wrote 0 leases to leases file.

No subnet declaration for start (no IPv4 addresses).
** Ignoring requests on start. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface start is attached. **


Not configured to listen on any interfaces!

This version of ISC DHCP is based on the release available
on ftp.isc.org. Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.

Please report for this software via the Red Hat Bugzilla site:
http://bugzilla.redhat.com

exiting
And the dhcpd.conf is here;

Code:
authoritative;
include "/etc/rndc.key";

server-identifier server;
ddns-domainname		"myserver.dyndns.org";
ddns-rev-domainname	"in-addr.arpa.";
ddns-update-style	interim;
ddns-updates		on;
ignore			client-updates;

zone myserver.dyndns.org {
	primary 127.0.0.1;
	key rndckey;
}
default-lease-time	21600;
max-lease-time		43200;

option domain-name	"myserver.dyndns.org.";
option ip-forwarding	off;
subnet 192.168.0.0 netmask 255.255.255.0 {
	range 192.168.0.100 192.168.0.200;
	option routers			192.168.0.1;
	option subnet-mask		255.255.255.0;
	option broadcast-address	192.168.0.255;
	option domain-name-servers	192.168.0.1;
	zone 0.168.192.in-addr.arpa. {
		primary 192.168.0.4;
		key rndckey;
	}
	zone localdomain. {
		primary 192.168.0.4;
		key rndckey;
	}
}

Any helpful comment would be appreciated.
 
Old 08-22-2011, 07:52 AM   #2
lystor
Member
 
Registered: May 2010
Location: Ukraine
Posts: 43

Rep: Reputation: 3
Quote:
Originally Posted by windstory View Post
Not configured to listen on any interfaces!
Hi
Please show your network interfaces:
Code:
# ip a sh
 
Old 08-22-2011, 11:29 AM   #3
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
lystor/

Thanks for your comment.

The result is here;

Quote:
# ip a sh
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:cd:94:bb brd ff:ff:ff:ff:ff:ff
inet 192.168.0.4/24 brd 192.168.0.255 scope global eth0
inet6 fe80::a00:27ff:fecd:94bb/64 scope link
valid_lft forever preferred_l
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCPD will start in debug but will not start as a normal service jwsnl Linux - Server 3 06-07-2010 06:47 AM
dhcpd failed to start.... Snehal.lamture Linux - Server 1 03-05-2009 02:32 AM
dhcpd no start finsh Linux - Networking 1 01-22-2006 09:35 AM
dhcpd can not start vito_huang Linux - Networking 2 02-15-2005 03:41 PM
dhcpd will not start odious1 Linux - Networking 1 04-08-2004 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration