DHCP n'envoi pas le serveur DNS

Tout ce qui concerne l'administration d'un serveur DHCP à travers Artica

DHCP n'envoi pas le serveur DNS

New postby guidtz » Sat Apr 30, 2011 3:34 pm

Hello,

les clients DHCP ne reçoivent pas les infos du serveur DNS, j'ai PowerDNS qui fait office de cache. J'ai ceci comme conf :
artica_dhcp.png
artica_dhcp.png (36.6 KiB) Viewed 9065 times


et pourtant la conf du dhcp donne ceci :
Code: Select all
ddns-domainname "guidtz-lan.org";
ddns-update-style none;
allow unknown-clients;
authoritative;
max-lease-time 3600;
default-lease-time 3600;

subnet 192.168.7.0 netmask 255.255.255.0 {
   range 192.168.7.100 192.168.7.200;
   option broadcast-address 192.168.7.255;
   option ntp-servers 192.168.7.254;
   option routers 192.168.7.254,192.168.7.254;
   option domain-name "guidtz-lan.org";
   ddns-updates off;
}



Slts
guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator

Re: DHCP n'envoi pas le serveur DNS

New postby admin » Sat Apr 30, 2011 4:57 pm

il te manque
Code: Select all
option domain-name-servers 192.168.1.245,192.168.1.1;


tu peux décompresser ce fichier dans /usr/share/artica-postfix/ressources
Attachments
class.dhcpd.inc.tar.gz
(4.85 KiB) Downloaded 371 times
User avatar
admin
Site Admin
 
Posts: 11946
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: DHCP n'envoi pas le serveur DNS

New postby guidtz » Sun May 01, 2011 12:14 pm

Toujours pas j'ai ceci quand je démarre le dhcp :

Code: Select all
Starting......: DHCP server Building configuration...
Starting......: DHCP server PXE enabled ? ""
Starting......: DHCP SERVER saving "/etc/dhcp3/dhcpd.conf" (403 bytes) done
Starting......: DHCP server listen NIC "eth1"
Starting......: DHCP server trying to find ip address of eth1
Starting......: DHCP server eth1 "192.168.7.254"
Starting......: DHCP server changing ""
INTERFACES=eth1
DHCPDARGS="eth1"
/bin/chown: utilisateur non valide: « dhcpd:dhcpd »
/bin/chown: utilisateur non valide: « dhcpd:dhcpd »
Starting......: DHCP server daemon. PID 12278


Ceci en conf
Code: Select all
ddns-domainname "guidtz-lan.org";
ddns-update-style none;
allow unknown-clients;
authoritative;
max-lease-time 3600;
default-lease-time 3600;

subnet 192.168.7.0 netmask 255.255.255.0 {
        range 192.168.7.100 192.168.7.200;
        option broadcast-address 192.168.7.255;
        option ntp-servers 192.168.7.254;
        option routers 192.168.7.254,192.168.7.254;
        option domain-name "guidtz-lan.org";
        ddns-updates off;
}
guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator

Re: DHCP n'envoi pas le serveur DNS

New postby admin » Sun May 01, 2011 3:13 pm

essayes celui-ci
Attachments
class.dhcpd.inc.tar.gz
(4.95 KiB) Downloaded 416 times
User avatar
admin
Site Admin
 
Posts: 11946
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: DHCP n'envoi pas le serveur DNS

New postby guidtz » Sun May 01, 2011 7:14 pm

Non plus.

Dans les logs j'ai ceci :

Code: Select all
[01-May-2011 21:10:55] [15642] [DAEMON]:::::dhcpd/LoadfixedAddresses:: compile 1 computers for guidtz-lan.org in ressources/class.dhcpd.inc
[01-May-2011 21:10:55] [15642] [DAEMON]:::::clladp/Ldap_search:: ERROR Ldap_search : (&(objectClass=dhcpHost)(cn=*)) in cn=DhcpConfig,ou=dhcp,dc=maison,dc=orgNo such object in ressources/class.ldap.inc


Peut être une piste ?

Slts
guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator

Re: DHCP n'envoi pas le serveur DNS

New postby admin » Mon May 02, 2011 7:22 am

Tu peux remplacer ce fichier et faire

php5 /usr/share/artica-postfix/exec.dhcpd.compile.php --verbose
Attachments
exec.dhcpd.compile.php.tar.gz
(765 Bytes) Downloaded 352 times
User avatar
admin
Site Admin
 
Posts: 11946
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: DHCP n'envoi pas le serveur DNS

New postby guidtz » Mon May 02, 2011 7:16 pm

Voici ce que donne le verbose :

Code: Select all
root@artica-proxy:/home/sysadmin# php5 /usr/share/artica-postfix/exec.dhcpd.compile.php --verbose

Notice: Undefined variable: arr in /usr/share/artica-postfix/ressources/class.system.network.inc on line 151

Notice: Use of undefined constant alse - assumed 'alse' in /usr/share/artica-postfix/ressources/class.system.network.inc on line 109
[3515] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.system.network.inc usersMenus() line 109 in ressources/class.ldap.inc
[3515] [DAEMON]::::clladp/clladp:: fsockopen -> 127.0.0.1:389 OK in ressources/class.ldap.inc
[3515] [DAEMON]::::clladp/ldap_perform_connection:: -> ldap_connect(127.0.0.1, 389 )  called by class.users.menus.inc clladp() line 436 in ressources/class.ldap.inc line 306
[3515] [DAEMON]::::clladp/ldap_perform_connection:: ldapbind -> cn=admin,dc=maison,dc=org in ressources/class.ldap.inc
[3515] [DAEMON]::::clladp/clladp:: check BuildMasterTree() and ArticaCreate() in ressources/class.ldap.inc

Notice: Undefined index: DEBUG_TEMPLATE in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1194
Instanciate userMenus()  called by class.system.network.inc LoadIPs() line 35
[3515] [DAEMON]::::networking/networking:: Loading success  called by exec.dhcpd.compile.php dhcpd() line 24 in ressources/class.system.network.inc
[3515] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.system.network.inc usersMenus() line 109 in ressources/class.ldap.inc
Instanciate userMenus()  called by class.dhcpd.inc LoadIPs() line 205
[3515] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.dhcpd.inc usersMenus() line 357 in ressources/class.ldap.inc
Instanciate userMenus()  called by exec.dhcpd.compile.php BuildConf() line 25

Notice: Undefined index: DEBUG_TEMPLATE in /usr/share/artica-postfix/ressources/class.users.menus.inc on line 873

Notice: Undefined index: DEBUG_TEMPLATE in /usr/share/artica-postfix/ressources/class.users.menus.inc on line 886

Notice: Undefined index: CACHEINFOS_artica_version in /usr/share/artica-postfix/ressources/class.sockets.inc on line 681

Notice: Undefined index: MYSQL_INFO in /usr/share/artica-postfix/ressources/class.sockets.inc on line 285

Notice: Undefined index: MYSQL_INFO_ROOT in /usr/share/artica-postfix/ressources/class.sockets.inc on line 332

Notice: Undefined index: MYSQL_INFO in /usr/share/artica-postfix/ressources/class.sockets.inc on line 285

Notice: Undefined index: database_password in /usr/share/artica-postfix/ressources/class.sockets.inc on line 332

Notice: Undefined index: MYSQL_INFO in /usr/share/artica-postfix/ressources/class.sockets.inc on line 285

Notice: Undefined index: mysql_server in /usr/share/artica-postfix/ressources/class.sockets.inc on line 332

Notice: Undefined index: DEBUG_TEMPLATE in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1031

Notice: Undefined index: postfixmaincf in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1044

Notice: Undefined index: postfixheadersregex in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1045

Notice: Undefined index: postfixheadersregex in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1046

Notice: Undefined index: postfixsslcert in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1076

Notice: Undefined index: postfixhashsmtpsaslauth in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1077

Notice: Undefined index: smtpdclientrestrictionsrules in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1078

Notice: Undefined index: smtpdsenderrestrictionsrules in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1079

Notice: Undefined index: smtpdrecipientrestrictionsrules in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1080

Notice: Undefined index: smtpdhelorestrictionsrules in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1081

Notice: Undefined index: postfixbouncetemplate in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1082

Notice: Undefined index: articaglobalsettings in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1083

Notice: Undefined property: Bs_IniHandler::$_params in /usr/share/artica-postfix/ressources/class.artica.inc on line 283

Notice: Undefined property: Bs_IniHandler::$_params in /usr/share/artica-postfix/ressources/class.artica.inc on line 284

Notice: Undefined property: Bs_IniHandler::$_params in /usr/share/artica-postfix/ressources/class.artica.inc on line 285

Notice: Undefined property: Bs_IniHandler::$_params in /usr/share/artica-postfix/ressources/class.artica.inc on line 286

Notice: Undefined property: Bs_IniHandler::$_params in /usr/share/artica-postfix/ressources/class.artica.inc on line 287

Notice: Undefined property: Bs_IniHandler::$_params in /usr/share/artica-postfix/ressources/class.artica.inc on line 288
[3515] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.artica.inc __loadArticaSettings() line 81 in ressources/class.ldap.inc

Notice: Undefined index: lighttpconfig in /usr/share/artica-postfix/ressources/class.artica.inc on line 216

Notice: Undefined index: apacheconfig in /usr/share/artica-postfix/ressources/class.artica.inc on line 217
[3515] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.artica.inc __loadArticaSettings2() line 83 in ressources/class.ldap.inc
[3515] [DAEMON]::::clladp/ldap_perform_connection:: -> ldap_connect(127.0.0.1, 389 )  called by class.artica.inc clladp() line 143 in ressources/class.ldap.inc line 306
[3515] [DAEMON]::::clladp/ldap_perform_connection:: ldapbind -> cn=admin,dc=maison,dc=org in ressources/class.ldap.inc

Notice: Undefined index: OBMEnabled in /usr/share/artica-postfix/ressources/class.artica.inc on line 87
[3515] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.sqlgrey.inc usersMenus() line 14 in ressources/class.ldap.inc
[3515] [DAEMON]::::clladp/ldap_perform_connection:: -> ldap_connect(127.0.0.1, 389 )  called by class.users.menus.inc clladp() line 436 in ressources/class.ldap.inc line 306
[3515] [DAEMON]::::clladp/ldap_perform_connection:: ldapbind -> cn=admin,dc=maison,dc=org in ressources/class.ldap.inc
Instanciate userMenus()  called by class.users.menus.inc sqlgrey() line 893
[3515] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.milter.greylist.inc LoadConfig() line 35 in ressources/class.ldap.inc

Notice: Undefined index: DEBUG_TEMPLATE in /usr/share/artica-postfix/ressources/class.users.menus.inc on line 939

Notice: Undefined variable: arr in /usr/share/artica-postfix/ressources/class.system.network.inc on line 151

Notice: Undefined index: ONBOOT in /usr/share/artica-postfix/ressources/class.system.network.inc on line 335

Notice: Undefined index: METRIC in /usr/share/artica-postfix/ressources/class.system.network.inc on line 336

Notice: Undefined index: NEEDHOSTNAME in /usr/share/artica-postfix/ressources/class.system.network.inc on line 337

Notice: Undefined index: DHCP_CLIENT in /usr/share/artica-postfix/ressources/class.system.network.inc on line 338

Notice: Undefined index: PEERDNS in /usr/share/artica-postfix/ressources/class.system.network.inc on line 339

Notice: Undefined index: PEERYP in /usr/share/artica-postfix/ressources/class.system.network.inc on line 340

Notice: Undefined index: PEERNTPD in /usr/share/artica-postfix/ressources/class.system.network.inc on line 341

Notice: Undefined index: GATEWAY in /usr/share/artica-postfix/ressources/class.system.network.inc on line 342

Notice: Undefined index: BROADCAST in /usr/share/artica-postfix/ressources/class.system.network.inc on line 346

Notice: Undefined index: dns-nameservers in /usr/share/artica-postfix/ressources/class.system.network.inc on line 353

Notice: Undefined variable: conf in /usr/share/artica-postfix/ressources/class.dhcpd.inc on line 366

Notice: Undefined variable: line1 in /usr/share/artica-postfix/ressources/class.dhcpd.inc on line 634

Notice: Undefined variable: routers in /usr/share/artica-postfix/ressources/class.dhcpd.inc on line 634

Notice: Undefined variable: arr in /usr/share/artica-postfix/ressources/class.system.network.inc on line 151

Notice: Undefined index: ONBOOT in /usr/share/artica-postfix/ressources/class.system.network.inc on line 335

Notice: Undefined index: METRIC in /usr/share/artica-postfix/ressources/class.system.network.inc on line 336

Notice: Undefined index: NEEDHOSTNAME in /usr/share/artica-postfix/ressources/class.system.network.inc on line 337

Notice: Undefined index: DHCP_CLIENT in /usr/share/artica-postfix/ressources/class.system.network.inc on line 338

Notice: Undefined index: PEERDNS in /usr/share/artica-postfix/ressources/class.system.network.inc on line 339

Notice: Undefined index: PEERYP in /usr/share/artica-postfix/ressources/class.system.network.inc on line 340

Notice: Undefined index: PEERNTPD in /usr/share/artica-postfix/ressources/class.system.network.inc on line 341

Notice: Undefined index: GATEWAY in /usr/share/artica-postfix/ressources/class.system.network.inc on line 342

Notice: Undefined index: BROADCAST in /usr/share/artica-postfix/ressources/class.system.network.inc on line 346

Notice: Undefined index: dns-nameservers in /usr/share/artica-postfix/ressources/class.system.network.inc on line 353
Starting......: DHCP server PXE enabled ? ""
[3515] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.dhcpd.inc LoadfixedAddresses() line 552 in ressources/class.ldap.inc
[3515] [DAEMON]::::dhcpd/LoadfixedAddresses:: compile 1 computers for guidtz-lan.org in ressources/class.dhcpd.inc

Notice: Undefined index: uid in /usr/share/artica-postfix/ressources/class.dhcpd.inc on line 523
[3515] [DAEMON]::::clladp/Ldap_search:: ERROR Ldap_search : (&(objectClass=dhcpHost)(cn=*)) in cn=DhcpConfig,ou=dhcp,dc=maison,dc=orgNo such object in ressources/class.ldap.inc

Notice: Undefined variable: ARR in /usr/share/artica-postfix/ressources/class.dhcpd.inc on line 543
Starting......: DHCP SERVER saving "/etc/dhcp3/dhcpd.conf" (368 bytes) done



Et le fichier de conf :
Code: Select all
ddns-domainname "guidtz-lan.org";
ddns-update-style none;
allow unknown-clients;
authoritative;
max-lease-time 3600;
default-lease-time 3600;

subnet 192.168.7.0 netmask 255.255.255.0 {
        range 192.168.7.100 192.168.7.200;
        option broadcast-address 192.168.7.255;
        option ntp-servers 192.168.7.254;
        option routers 192.168.7.254,192.168.7.254;
        option domain-name "guidtz-lan.org";
        ddns-updates off;
}



Slts
guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator

Re: DHCP n'envoi pas le serveur DNS

New postby admin » Mon May 02, 2011 7:31 pm

c'est vraiment bizarre on dirait qu'il passe le code pour justement parser les DNS
tu peux recommencer avec celui-ci
Attachments
class.dhcpd.inc.tar.gz
(5.17 KiB) Downloaded 374 times
User avatar
admin
Site Admin
 
Posts: 11946
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: DHCP n'envoi pas le serveur DNS

New postby guidtz » Mon May 02, 2011 8:10 pm

ça donne ceci :

Code: Select all
root@artica-proxy:/home/sysadmin# php5 /usr/share/artica-postfix/exec.dhcpd.compile.php --verbose

Notice: Undefined variable: arr in /usr/share/artica-postfix/ressources/class.system.network.inc on line 151

Notice: Use of undefined constant alse - assumed 'alse' in /usr/share/artica-postfix/ressources/class.system.network.inc on line 109
[4725] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.system.network.inc usersMenus() line 109 in ressources/class.ldap.inc
[4725] [DAEMON]::::clladp/clladp:: fsockopen -> 127.0.0.1:389 OK in ressources/class.ldap.inc
[4725] [DAEMON]::::clladp/ldap_perform_connection:: -> ldap_connect(127.0.0.1, 389 )  called by class.users.menus.inc clladp() line 436 in ressources/class.ldap.inc line 306
[4725] [DAEMON]::::clladp/ldap_perform_connection:: ldapbind -> cn=admin,dc=maison,dc=org in ressources/class.ldap.inc
[4725] [DAEMON]::::clladp/clladp:: check BuildMasterTree() and ArticaCreate() in ressources/class.ldap.inc

Notice: Undefined index: DEBUG_TEMPLATE in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1194
Instanciate userMenus()  called by class.system.network.inc LoadIPs() line 35
[4725] [DAEMON]::::networking/networking:: Loading success  called by exec.dhcpd.compile.php dhcpd() line 24 in ressources/class.system.network.inc
[4725] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.system.network.inc usersMenus() line 109 in ressources/class.ldap.inc
Instanciate userMenus()  called by class.dhcpd.inc LoadIPs() line 205
[4725] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.dhcpd.inc usersMenus() line 356 in ressources/class.ldap.inc
Instanciate userMenus()  called by exec.dhcpd.compile.php BuildConf() line 25

Notice: Undefined index: DEBUG_TEMPLATE in /usr/share/artica-postfix/ressources/class.users.menus.inc on line 873

Notice: Undefined index: DEBUG_TEMPLATE in /usr/share/artica-postfix/ressources/class.users.menus.inc on line 886

Notice: Undefined index: CACHEINFOS_artica_version in /usr/share/artica-postfix/ressources/class.sockets.inc on line 681

Notice: Undefined index: MYSQL_INFO in /usr/share/artica-postfix/ressources/class.sockets.inc on line 285

Notice: Undefined index: MYSQL_INFO_ROOT in /usr/share/artica-postfix/ressources/class.sockets.inc on line 332

Notice: Undefined index: MYSQL_INFO in /usr/share/artica-postfix/ressources/class.sockets.inc on line 285

Notice: Undefined index: database_password in /usr/share/artica-postfix/ressources/class.sockets.inc on line 332

Notice: Undefined index: MYSQL_INFO in /usr/share/artica-postfix/ressources/class.sockets.inc on line 285

Notice: Undefined index: mysql_server in /usr/share/artica-postfix/ressources/class.sockets.inc on line 332

Notice: Undefined index: DEBUG_TEMPLATE in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1031

Notice: Undefined index: postfixmaincf in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1044

Notice: Undefined index: postfixheadersregex in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1045

Notice: Undefined index: postfixheadersregex in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1046

Notice: Undefined index: postfixsslcert in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1076

Notice: Undefined index: postfixhashsmtpsaslauth in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1077

Notice: Undefined index: smtpdclientrestrictionsrules in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1078

Notice: Undefined index: smtpdsenderrestrictionsrules in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1079

Notice: Undefined index: smtpdrecipientrestrictionsrules in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1080

Notice: Undefined index: smtpdhelorestrictionsrules in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1081

Notice: Undefined index: postfixbouncetemplate in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1082

Notice: Undefined index: articaglobalsettings in /usr/share/artica-postfix/ressources/class.ldap.inc on line 1083

Notice: Undefined property: Bs_IniHandler::$_params in /usr/share/artica-postfix/ressources/class.artica.inc on line 283

Notice: Undefined property: Bs_IniHandler::$_params in /usr/share/artica-postfix/ressources/class.artica.inc on line 284

Notice: Undefined property: Bs_IniHandler::$_params in /usr/share/artica-postfix/ressources/class.artica.inc on line 285

Notice: Undefined property: Bs_IniHandler::$_params in /usr/share/artica-postfix/ressources/class.artica.inc on line 286

Notice: Undefined property: Bs_IniHandler::$_params in /usr/share/artica-postfix/ressources/class.artica.inc on line 287

Notice: Undefined property: Bs_IniHandler::$_params in /usr/share/artica-postfix/ressources/class.artica.inc on line 288
[4725] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.artica.inc __loadArticaSettings() line 81 in ressources/class.ldap.inc

Notice: Undefined index: lighttpconfig in /usr/share/artica-postfix/ressources/class.artica.inc on line 216

Notice: Undefined index: apacheconfig in /usr/share/artica-postfix/ressources/class.artica.inc on line 217
[4725] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.artica.inc __loadArticaSettings2() line 83 in ressources/class.ldap.inc
[4725] [DAEMON]::::clladp/ldap_perform_connection:: -> ldap_connect(127.0.0.1, 389 )  called by class.artica.inc clladp() line 143 in ressources/class.ldap.inc line 306
[4725] [DAEMON]::::clladp/ldap_perform_connection:: ldapbind -> cn=admin,dc=maison,dc=org in ressources/class.ldap.inc

Notice: Undefined index: OBMEnabled in /usr/share/artica-postfix/ressources/class.artica.inc on line 87
[4725] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.sqlgrey.inc usersMenus() line 14 in ressources/class.ldap.inc
[4725] [DAEMON]::::clladp/ldap_perform_connection:: -> ldap_connect(127.0.0.1, 389 )  called by class.users.menus.inc clladp() line 436 in ressources/class.ldap.inc line 306
[4725] [DAEMON]::::clladp/ldap_perform_connection:: ldapbind -> cn=admin,dc=maison,dc=org in ressources/class.ldap.inc
Instanciate userMenus()  called by class.users.menus.inc sqlgrey() line 893
[4725] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.milter.greylist.inc LoadConfig() line 35 in ressources/class.ldap.inc

Notice: Undefined index: DEBUG_TEMPLATE in /usr/share/artica-postfix/ressources/class.users.menus.inc on line 939

Notice: Undefined variable: arr in /usr/share/artica-postfix/ressources/class.system.network.inc on line 151

Notice: Undefined index: ONBOOT in /usr/share/artica-postfix/ressources/class.system.network.inc on line 335

Notice: Undefined index: METRIC in /usr/share/artica-postfix/ressources/class.system.network.inc on line 336

Notice: Undefined index: NEEDHOSTNAME in /usr/share/artica-postfix/ressources/class.system.network.inc on line 337

Notice: Undefined index: DHCP_CLIENT in /usr/share/artica-postfix/ressources/class.system.network.inc on line 338

Notice: Undefined index: PEERDNS in /usr/share/artica-postfix/ressources/class.system.network.inc on line 339

Notice: Undefined index: PEERYP in /usr/share/artica-postfix/ressources/class.system.network.inc on line 340

Notice: Undefined index: PEERNTPD in /usr/share/artica-postfix/ressources/class.system.network.inc on line 341

Notice: Undefined index: GATEWAY in /usr/share/artica-postfix/ressources/class.system.network.inc on line 342

Notice: Undefined index: BROADCAST in /usr/share/artica-postfix/ressources/class.system.network.inc on line 346

Notice: Undefined index: dns-nameservers in /usr/share/artica-postfix/ressources/class.system.network.inc on line 353

Notice: Undefined variable: conf in /usr/share/artica-postfix/ressources/class.dhcpd.inc on line 363
->BuildRoutes() Line 403

Notice: Undefined variable: line1 in /usr/share/artica-postfix/ressources/class.dhcpd.inc on line 642

Notice: Undefined variable: routers in /usr/share/artica-postfix/ressources/class.dhcpd.inc on line 642
Starting......: DHCP server PXE enabled ? "0"
->gateway_array() ->2 items Line 441
->GetMyDNS() Line 452

Notice: Undefined variable: arr in /usr/share/artica-postfix/ressources/class.system.network.inc on line 151

Notice: Undefined index: ONBOOT in /usr/share/artica-postfix/ressources/class.system.network.inc on line 335

Notice: Undefined index: METRIC in /usr/share/artica-postfix/ressources/class.system.network.inc on line 336

Notice: Undefined index: NEEDHOSTNAME in /usr/share/artica-postfix/ressources/class.system.network.inc on line 337

Notice: Undefined index: DHCP_CLIENT in /usr/share/artica-postfix/ressources/class.system.network.inc on line 338

Notice: Undefined index: PEERDNS in /usr/share/artica-postfix/ressources/class.system.network.inc on line 339

Notice: Undefined index: PEERYP in /usr/share/artica-postfix/ressources/class.system.network.inc on line 340

Notice: Undefined index: PEERNTPD in /usr/share/artica-postfix/ressources/class.system.network.inc on line 341

Notice: Undefined index: GATEWAY in /usr/share/artica-postfix/ressources/class.system.network.inc on line 342

Notice: Undefined index: BROADCAST in /usr/share/artica-postfix/ressources/class.system.network.inc on line 346

Notice: Undefined index: dns-nameservers in /usr/share/artica-postfix/ressources/class.system.network.inc on line 353
DEBUG: DNS server in array of 1
DEBUG: DNS server return array of 1 element(s)
->GetMyDNS() ->1 items Line 454
Buiding domain-name-servers with array of 1 element(s)
->Bind9 not Installed -> Line 503
->SetFixedAddresses() -> Line 508
[4725] [DAEMON]::::clladp/clladp:: Instanciate clladp  called by class.dhcpd.inc LoadfixedAddresses() line 560 in ressources/class.ldap.inc
[4725] [DAEMON]::::dhcpd/LoadfixedAddresses:: compile 1 computers for guidtz-lan.org in ressources/class.dhcpd.inc

Notice: Undefined index: uid in /usr/share/artica-postfix/ressources/class.dhcpd.inc on line 526
->LoadfixedAddresses() -> item Line 526

Notice: Undefined index: uid in /usr/share/artica-postfix/ressources/class.dhcpd.inc on line 527
->LoadfixedAddresses() -> null item, aborting Line 529
[4725] [DAEMON]::::clladp/Ldap_search:: ERROR Ldap_search : (&(objectClass=dhcpHost)(cn=*)) in cn=DhcpConfig,ou=dhcp,dc=maison,dc=orgNo such object in ressources/class.ldap.inc

Notice: Undefined variable: conf in /usr/share/artica-postfix/ressources/class.dhcpd.inc on line 582
->END ->483 bytes Line 510
Starting......: DHCP SERVER saving "/etc/dhcp3/dhcpd.conf" (483 bytes) done



Par contre cette fois le dhcp ne démarre pas :

Code: Select all
# /etc/init.d/artica-postfix start dhcp
Starting......: DHCP server Building configuration...
Starting......: DHCP server PXE enabled ? "0"
Starting......: DHCP SERVER saving "/etc/dhcp3/dhcpd.conf" (483 bytes) done
Starting......: DHCP server listen NIC "eth1"
Starting......: DHCP server trying to find ip address of eth1
Starting......: DHCP server eth1 "192.168.7.254"
Starting......: DHCP server changing ""
INTERFACES=eth1
DHCPDARGS="eth1"
/bin/chown: utilisateur non valide: « dhcpd:dhcpd »
/bin/chown: utilisateur non valide: « dhcpd:dhcpd »
Starting......: DHCP Server daemon. (timeout!!!)
Starting......: DHCP server daemon./usr/sbin/dhcpd -q -pf /var/run/dhcp3-server/dhcpd.pid -cf /etc/dhcp3/dhcpd.conf -lf /var/lib/dhcp3/dhcpd.leases
Starting......: DHCP server daemon. (failed!!!)
Starting......: DHCP server daemon./usr/sbin/dhcpd -q -pf /var/run/dhcp3-server/dhcpd.pid -cf /etc/dhcp3/dhcpd.conf -lf /var/lib/dhcp3/dhcpd.leases


Et j'ai ceci dans les logs :

Code: Select all
[02-May-2011 22:03:34] PHP Notice:  Undefined variable: arr in /usr/share/artica-postfix/ressources/class.system.network.inc on line 151
[02-May-2011 22:03:34] PHP Notice:  Undefined index: ONBOOT in /usr/share/artica-postfix/ressources/class.system.network.inc on line 335
[02-May-2011 22:03:34] PHP Notice:  Undefined index: METRIC in /usr/share/artica-postfix/ressources/class.system.network.inc on line 336
[02-May-2011 22:03:34] PHP Notice:  Undefined index: NEEDHOSTNAME in /usr/share/artica-postfix/ressources/class.system.network.inc on line 337
[02-May-2011 22:03:34] PHP Notice:  Undefined index: DHCP_CLIENT in /usr/share/artica-postfix/ressources/class.system.network.inc on line 338
[02-May-2011 22:03:34] PHP Notice:  Undefined index: PEERDNS in /usr/share/artica-postfix/ressources/class.system.network.inc on line 339
[02-May-2011 22:03:34] PHP Notice:  Undefined index: PEERYP in /usr/share/artica-postfix/ressources/class.system.network.inc on line 340
[02-May-2011 22:03:34] PHP Notice:  Undefined index: PEERNTPD in /usr/share/artica-postfix/ressources/class.system.network.inc on line 341
[02-May-2011 22:03:34] PHP Notice:  Undefined index: GATEWAY in /usr/share/artica-postfix/ressources/class.system.network.inc on line 342
[02-May-2011 22:03:34] PHP Notice:  Undefined index: BROADCAST in /usr/share/artica-postfix/ressources/class.system.network.inc on line 346
[02-May-2011 22:03:34] PHP Notice:  Undefined index: dns-nameservers in /usr/share/artica-postfix/ressources/class.system.network.inc on line 353
[02-May-2011 22:03:34] [4725] [DAEMON]:::::clladp/clladp:: Instanciate clladp  called by class.dhcpd.inc LoadfixedAddresses() line 560 in ressources/class.ldap.inc
[02-May-2011 22:03:34] [4725] [DAEMON]:::::dhcpd/LoadfixedAddresses:: compile 1 computers for guidtz-lan.org in ressources/class.dhcpd.inc
[02-May-2011 22:03:34] PHP Notice:  Undefined index: uid in /usr/share/artica-postfix/ressources/class.dhcpd.inc on line 526
[02-May-2011 22:03:34] PHP Notice:  Undefined index: uid in /usr/share/artica-postfix/ressources/class.dhcpd.inc on line 527
[02-May-2011 22:03:34] [4725] [DAEMON]:::::clladp/Ldap_search:: ERROR Ldap_search : (&(objectClass=dhcpHost)(cn=*)) in cn=DhcpConfig,ou=dhcp,dc=maison,dc=orgNo such object in ressources/class.ldap.inc
[02-May-2011 22:03:34] PHP Notice:  Undefined variable: conf in /usr/share/artica-postfix/ressources/class.dhcpd.inc on line 582
[02-May-2011 22:04:53] [5074] [DAEMON]:::::networking/networking:: Loading success  called by exec.dhcpd.compile.php dhcpd() line 24 in ressources/class.system.network.inc
[02-May-2011 22:04:53] [1439] [DAEMON]::TCP_NIC_INFOS:: BOOTPROTO=static
METHOD=debian
DEVICE=eth1
MAC=00:16:3E:35:DC:D5
IPADDR=192.168.7.254
NETMASK=255.255.255.0 in framework/cmd.php line 3343
[02-May-2011 22:04:53] [1439] [DAEMON]::TCP_NIC_INFOS:: BOOTPROTO=static
METHOD=debian
DEVICE=eth1
MAC=00:16:3E:35:DC:D5
IPADDR=192.168.7.254
NETMASK=255.255.255.0 in framework/cmd.php line 3343
[02-May-2011 22:04:53] [5074] [DAEMON]:::::dhcpd/LoadfixedAddresses:: compile 1 computers for guidtz-lan.org in ressources/class.dhcpd.inc
[02-May-2011 22:04:53] [5074] [DAEMON]:::::clladp/Ldap_search:: ERROR Ldap_search : (&(objectClass=dhcpHost)(cn=*)) in cn=DhcpConfig,ou=dhcp,dc=maison,dc=orgNo such object in ressources/class.ldap.inc


Slts
guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator

Re: DHCP n'envoi pas le serveur DNS

New postby admin » Mon May 02, 2011 9:44 pm

Dis, je peux avoir accès a la machine ?
User avatar
admin
Site Admin
 
Posts: 11946
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Next

Return to DHCPD

Who is online

Users browsing this forum: No registered users and 2 guests

cron