Mailinglist Archive: opensuse (2271 mails)
| < Previous | Next > |
dhcpd & bind9
- From: David Rankin <drankin@xxxxxxxxxxxxxxxx>
- Date: Fri, 2 Apr 2004 23:19:38 -0600
- Message-id: <200404022319.38159.drankin@xxxxxxxxxxxxxxxx>
Mates,
I'm new to suse and the list and I am having a heck of a time transitioning
from MDK to suse. My current problem is basic. I need to get dhcpd up and
running. Bind is running, but dhcpd refuses to start for some silly reason --
unexplained. I'm using ddns and I've built the keyfile with dnskeygen.
Here is the OS
suse 8.2 pro
Here is the config:
dhcpd.conf
ddns-updates on;
ddns-update-style interim;
ignore client-updates;
include "/etc/named.keys";
subnet 192.168.7.0 netmask 255.255.255.0 {
# default gateway
option routers 192.168.7.13;
option subnet-mask 255.255.255.0;
option domain-name "3111skyline.com";
option domain-name-servers 192.168.7.14;
#option domain-name-servers 66.76.2.130, 208.180.118.2;
option netbios-name-servers 192.168.7.14;
ddns-domainname "dyn/3111skyline.com";
# ddns-rev-domainname "7.168.192.in-addr.arpa";
range dynamic-bootp 192.168.7.100 192.168.7.120;
default-lease-time 21600;
max-lease-time 43200;
# Adding zone information
zone 3111skyline.com. {primary 127.0.0.1; key DHCP_UPDATER; }
# zone 7.168.192.in-addr.arpa. { primary 127.0.0.1; key DHCP_UPDATER; }
Here is the error:
skyline:/usr/share/doc/packages/dhcp-server # /etc/init.d/dhcpd start
Starting DHCP server startproc: exit status of parent of /usr/sbin/dhcpd: 1
Internet Software Consortium DHCP Server V3.0.1rc10
Copyright 1995-2002 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Internet Software Consortium DHCP Server V3.0.1rc10
Copyright 1995-2002 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Can't open /etc/named.keys: No such file or directory
Here is proof the named.keys is there
skyline:/usr/share/doc/packages/dhcp-server # ls -al /etc/named.keys
-rw-r----- 1 root named 214 Apr 2 22:22 /etc/named.keys
skyline:/usr/share/doc/packages/dhcp-server # cat /etc/named.keys
# generated by genDDNSKey.sh on Fri Apr 2 22:22:00 CST 2004
key DHCP_UPDATER {
algorithm hmac-md5;
secret "yada-yada-yada-yada (real key omitted)";
};
So basically, I'm at a complete loss. As always, any help would be appreciated
and returned.
P.S. If anyone can tell me how to get rid of the "blue" tty1 and just get the
normal black screen back I would be greatful. I've searched .profile and
.bashrc and .initrc but I haven't found it yet (no doubt I'm looking in the
wrong place)
--
David C. Rankin, J.D., P.E.
510 Ochiltree
Nacogdoches, Texas 75965
(936) 715-9333
www.rbpllc.com
I'm new to suse and the list and I am having a heck of a time transitioning
from MDK to suse. My current problem is basic. I need to get dhcpd up and
running. Bind is running, but dhcpd refuses to start for some silly reason --
unexplained. I'm using ddns and I've built the keyfile with dnskeygen.
Here is the OS
suse 8.2 pro
Here is the config:
dhcpd.conf
ddns-updates on;
ddns-update-style interim;
ignore client-updates;
include "/etc/named.keys";
subnet 192.168.7.0 netmask 255.255.255.0 {
# default gateway
option routers 192.168.7.13;
option subnet-mask 255.255.255.0;
option domain-name "3111skyline.com";
option domain-name-servers 192.168.7.14;
#option domain-name-servers 66.76.2.130, 208.180.118.2;
option netbios-name-servers 192.168.7.14;
ddns-domainname "dyn/3111skyline.com";
# ddns-rev-domainname "7.168.192.in-addr.arpa";
range dynamic-bootp 192.168.7.100 192.168.7.120;
default-lease-time 21600;
max-lease-time 43200;
# Adding zone information
zone 3111skyline.com. {primary 127.0.0.1; key DHCP_UPDATER; }
# zone 7.168.192.in-addr.arpa. { primary 127.0.0.1; key DHCP_UPDATER; }
Here is the error:
skyline:/usr/share/doc/packages/dhcp-server # /etc/init.d/dhcpd start
Starting DHCP server startproc: exit status of parent of /usr/sbin/dhcpd: 1
Internet Software Consortium DHCP Server V3.0.1rc10
Copyright 1995-2002 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Internet Software Consortium DHCP Server V3.0.1rc10
Copyright 1995-2002 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Can't open /etc/named.keys: No such file or directory
Here is proof the named.keys is there
skyline:/usr/share/doc/packages/dhcp-server # ls -al /etc/named.keys
-rw-r----- 1 root named 214 Apr 2 22:22 /etc/named.keys
skyline:/usr/share/doc/packages/dhcp-server # cat /etc/named.keys
# generated by genDDNSKey.sh on Fri Apr 2 22:22:00 CST 2004
key DHCP_UPDATER {
algorithm hmac-md5;
secret "yada-yada-yada-yada (real key omitted)";
};
So basically, I'm at a complete loss. As always, any help would be appreciated
and returned.
P.S. If anyone can tell me how to get rid of the "blue" tty1 and just get the
normal black screen back I would be greatful. I've searched .profile and
.bashrc and .initrc but I haven't found it yet (no doubt I'm looking in the
wrong place)
--
David C. Rankin, J.D., P.E.
510 Ochiltree
Nacogdoches, Texas 75965
(936) 715-9333
www.rbpllc.com
| < Previous | Next > |