*paid install help?*: Cobbler on a OpenVZ container / "dhcpd" failing

marek.dohojda at thomsonreuters.com marek.dohojda at thomsonreuters.com
Tue Jul 12 17:58:00 UTC 2011


Sorry I fat fingered it should be -cf not -fc didn't catch the syntax error

So the actual command should be (assuming your dhcpd.conf is in fact in /etc/dhcp/dhcpd.conf as you indicated below)

dhcpd -cf /etc/dhcpd/dhcpd.conf -f



Marek Dohojda
720-308-8622

77 68 6f 20 69 73 20 4a 6f 68 6e 20 47 61 6c 74 3f 0d 0a 


-----Original Message-----
From: cobbler-bounces at lists.fedorahosted.org [mailto:cobbler-bounces at lists.fedorahosted.org] On Behalf Of Frank
Sent: Tuesday, July 12, 2011 11:52 AM
To: cobbler mailing list
Subject: RE: *paid install help?*: Cobbler on a OpenVZ container / "dhcpd" failing

Thanks Marek.

First the outcome of ...
  dhcpd -fc /etc/dhcp/dhcpd.conf
and then the content of the
   /etc/dhcp/dhcpd.conf
file (but I changed some part of the IP address, as this here is 
publicly posted).


dhcpd -fc /etc/dhcp/dhcpd.conf
--------------
[root at cobbler ~]# dhcpd -fc /etc/dhcp/dhcpd.conf
Internet Systems Consortium DHCP Server 4.2.0-P2
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
Usage: dhcpd [-p <UDP port #>] [-f] [-d] [-q] [-t|-T]
              [-4|-6] [-cf config-file] [-lf lease-file]
              [-tf trace-output-file]
              [-play trace-input-file]
              [-pf pid-file] [-s server] [if0 [...ifN]]

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 /etc/dhcp/dhcpd.conf  file looks like this:


ddns-update-style interim;

allow booting;
allow bootp;

ignore client-updates;
set vendorclass = option vendor-class-identifier;

option domain-name-servers 212.48.123.144, 4.2.2.2;
option routers          212.72.124.65;
option subnet-mask      255.255.255.192;
default-lease-time      21600;
max-lease-time          43200;

subnet 212.72.124.64 netmask 255.255.255.192 {
      option routers          212.72.124.65;
      option subnet-mask      255.255.255.192;
      filename                "/pxelinux.0";
      default-lease-time      21600;
      max-lease-time          43200;
      next-server             212.72.124.87;
}

# group for Cobbler DHCP tag: default
group {
     host generic1 {
         hardware ethernet 00:25:90:26:2A:C0;
         fixed-address 212.72.165.94;
         option host-name "s10.basi34.biz";
         option subnet-mask 255.255.255.192;
         option routers 212.72.124.65;
         filename "/pxelinux.0";
         next-server 212.72.124.87;
     }
}
_______________________________________________
cobbler mailing list
cobbler at lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler


More information about the cobbler mailing list