Hi,

the dhcpd configuration file is in /usr/local/pf/var/conf.

Also it look like an error in network configuration.
Paste your netwroks.conf and we will check what is wrong.

Regards
Fabrice

Le 2015-01-21 06:49, Steve Allen a écrit :
> Hi
>
> I have recently installed Packetfence version 4.5.1 and everything is
> going OK expect for DHCP on the registration VLAN. I have ticked the
> box for the DHCP to be handled by the PacketFence server but no joy. I
> can see from Cisco switch debug and packetfence log messages that the
> port is correctly being put in the registration VLAN.
>
> When troubleshooting DHCP on the Packetfence server (CentOS 6.6) I can
> see the dhcpd service is failing to start.
>
> Below is the output from log messages and the dhcpd.conf file. It
> looks like nothing is being written to the dhcpd.conf file, is this
> normal?
>
> Please could someone advise how this can be resolved?
>
> Kind regards,
> Steve
>
>
> ====== *Service Status and Start* ======
> [root@packetfence ~]# /sbin/service dhcpd status
> dhcpd is stopped
> [root@packetfence ~]# /sbin/service dhcpd start
> Starting dhcpd:                                            [FAILED]
> [root@packetfence ~]#
> ============
>
> ====== */var/log/messages* ======
> Jan 21 12:44:03 packetfence dhcpd: Internet Systems Consortium DHCP
> Server 4.1.1-P1
> Jan 21 12:44:03 packetfence dhcpd: Copyright 2004-2010 Internet
> Systems Consortium.
> Jan 21 12:44:03 packetfence dhcpd: All rights reserved.
> Jan 21 12:44:03 packetfence dhcpd: For info, please visit
> https://www.isc.org/software/dhcp/
> Jan 21 12:44:03 packetfence dhcpd: Not searching LDAP since
> ldap-server, ldap-port and ldap-base-dn were not specified in the
> config file
> Jan 21 12:44:03 packetfence dhcpd: Wrote 0 leases to leases file.
> Jan 21 12:44:03 packetfence dhcpd:
> Jan 21 12:44:03 packetfence dhcpd: No subnet declaration for eth0.30
> (192.168.30.0).
> Jan 21 12:44:03 packetfence dhcpd: ** Ignoring requests on eth0.30. 
> If this is not what
> Jan 21 12:44:03 packetfence dhcpd:    you want, please write a subnet
> declaration
> Jan 21 12:44:03 packetfence dhcpd:    in your dhcpd.conf file for the
> network segment
> Jan 21 12:44:03 packetfence dhcpd:    to which interface eth0.30 is
> attached. **
> Jan 21 12:44:03 packetfence dhcpd:
> Jan 21 12:44:03 packetfence dhcpd:
> Jan 21 12:44:03 packetfence dhcpd: No subnet declaration for eth0.20
> (192.168.20.2).
> Jan 21 12:44:03 packetfence dhcpd: ** Ignoring requests on eth0.20. 
> If this is not what
> Jan 21 12:44:03 packetfence dhcpd:    you want, please write a subnet
> declaration
> Jan 21 12:44:03 packetfence dhcpd:    in your dhcpd.conf file for the
> network segment
> Jan 21 12:44:03 packetfence dhcpd:    to which interface eth0.20 is
> attached. **
> Jan 21 12:44:03 packetfence dhcpd:
> Jan 21 12:44:03 packetfence dhcpd:
> Jan 21 12:44:03 packetfence dhcpd: No subnet declaration for eth0
> (192.168.10.2).
> Jan 21 12:44:03 packetfence dhcpd: ** Ignoring requests on eth0.  If
> this is not what
> Jan 21 12:44:03 packetfence dhcpd:    you want, please write a subnet
> declaration
> Jan 21 12:44:03 packetfence dhcpd:    in your dhcpd.conf file for the
> network segment
> Jan 21 12:44:03 packetfence dhcpd:    to which interface eth0 is
> attached. **
> Jan 21 12:44:03 packetfence dhcpd:
> Jan 21 12:44:03 packetfence dhcpd:
> Jan 21 12:44:03 packetfence dhcpd: Not configured to listen on any
> interfaces!
> Jan 21 12:44:03 packetfence dhcpd:
> Jan 21 12:44:03 packetfence dhcpd: This version of ISC DHCP is based
> on the release available
> Jan 21 12:44:03 packetfence dhcpd: on ftp.isc.org
> <http://ftp.isc.org>.  Features have been added and other changes
> Jan 21 12:44:03 packetfence dhcpd: have been made to the base software
> release in order to make
> Jan 21 12:44:03 packetfence dhcpd: it work better with this distribution.
> Jan 21 12:44:03 packetfence dhcpd:
> Jan 21 12:44:03 packetfence dhcpd: Please report for this software via
> the CentOS Bugs Database:
> Jan 21 12:44:03 packetfence dhcpd:     http://bugs.centos.org/
> Jan 21 12:44:03 packetfence dhcpd:
> Jan 21 12:44:03 packetfence dhcpd: exiting.
> ============
>
> ====== */etc/dhcp/dhcpd.conf* ======
> [root@packetfence ~]# vi /etc/dhcp/dhcpd.conf
> #
> # DHCP Server Configuration file.
> #   see /usr/share/doc/dhcp*/dhcpd.conf.sample
> #   see 'man 5 dhcpd.conf'
> #
> ~
> ~
> ~
> ~
> ~
> ~
> ============
>
>
>
>
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
>
>
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users


-- 
Fabrice Durand
[email protected] ::  +1.514.447.4918 (x135) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://packetfence.org) 

Attachment: 0xF78F957E.asc
Description: application/pgp-keys

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to