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
On Saturday 03 April 2004 07.19, David Rankin wrote:
Mates,
Ahoy there
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
What does "grep DHCPD_RUN_CHROOTED /etc/sysconfig/dhcpd" say? I think you need to put named.keys in /var/lib/dhcpd/etc/
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)
edit /etc/sysconfig/bootsplash and set SPLASH to "no" To disable it immediately without rebooting, do echo "0" > /proc/splash
Anders -- You are the man! dhcp/bind is running and I FINALLY GOT TTY1 BACK FROM THAT BLUE DEAMON/DAEMON -- whatever...... Next tasks are samba (with xp clients), postfix, apache, php, mysql and pptpd. Thanks again for the quick response and all the help. On Friday 02 April 2004 23:26, Anders Johansson wrote:
On Saturday 03 April 2004 07.19, David Rankin wrote:
Mates,
Ahoy there
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
What does "grep DHCPD_RUN_CHROOTED /etc/sysconfig/dhcpd" say? I think you need to put named.keys in /var/lib/dhcpd/etc/
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)
edit /etc/sysconfig/bootsplash and set SPLASH to "no"
To disable it immediately without rebooting, do
echo "0" > /proc/splash
-- David C. Rankin, J.D., P.E. 510 Ochiltree Nacogdoches, Texas 75965 (936) 715-9333 www.rbpllc.com
On Sat, Apr 03, 2004 at 07:26:53AM +0200, Anders Johansson wrote:
On Saturday 03 April 2004 07.19, David Rankin wrote:
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
What does "grep DHCPD_RUN_CHROOTED /etc/sysconfig/dhcpd" say? I think you need to put named.keys in /var/lib/dhcpd/etc/
Even better, add it to DHCPD_CONF_INCLUDE_FILES in /etc/sysconfig/dhcpd.
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)
edit /etc/sysconfig/bootsplash and set SPLASH to "no"
To disable it immediately without rebooting, do
echo "0" > /proc/splash
or edit /boot/grub/menu.lst Peter
participants (3)
-
Anders Johansson
-
David Rankin
-
poeml@cmdline.net