Date: Wed, 21 Sep 2005 17:36:20 -0400 From: "Lisa Casey" <lisa@jellico.com> To: <freebsd-questions@freebsd.org> Subject: Question about Bind Message-ID: <001d01c5bef4$82565200$d580a23f@lisac>
next in thread | raw e-mail | index | archive | help
Hi Folks, I seem to have basically screwed things up, so maybe I can get some help getting straightened out. For a long time, I ran apache 2 and bind 8.2.5 on FreeBSD 3.2. Granted 3.2 is old, my server was getting older, so I set up a new box and installed FreeBSD 5.3 I did not realise installing FreeBSD would automatically install Bind 9.3. I figured if I needed to run bind I'ld have to install it. I didn't want to make too many changes at once so I installed bind 8.4 from ports. Now I seem to have both bind 8.4 and bind 9.3 installed. Probably not a good situation. What I suppose I ought to do is to uninstall the bind 8.4 and keep the bind 9.3. How do I do that? I have never worked with ports before (although I think I'll like it once I get used to it). Also - and this is a biggie. named and apache do not start on bootup and I NEED this to happen. I have asked for help on this on this list and on the bind usenet group and implemented the syggestions I got but if I reboot the box named and apache do not start. I have to start these manually. My /etc/rc.conf looks like this: # This file now contains just the overrides from /etc/defaults/rc.conf. # Please make all changes to this file, not to /etc/defaults/rc.conf. # Enable network daemons for user convenience. # Created: Thu Sep 15 14:11:28 2005 # -- sysinstall generated deltas -- # Thu Sep 15 09:29:00 2005 # Created: Thu Sep 15 09:29:00 2005 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter="63.162.128.1" hostname="netlink.jellico.com" ifconfig_fxp0="inet 63.162.128.4 netmask 255.255.254.0" inetd_enable="YES" linux_enable="YES" usbd_enable="YES" apache_enable="YES" named_enable="YES" named_program="/usr/local/sbin/named" named_flags="-u bind -g bind -c /usr/local/etc/named.conf" When I reboot I see this in /var/log/messages: Sep 21 17:02:00 netlink named[291]: starting (/usr/local/etc/named.conf). named 8.4.4 Thu Sep 15 16:42:34 EDT 2005 lisa@netlink.jellico.com:/usr/ports/dns/ bind84/work/src/bin/named Sep 21 17:02:00 netlink named[291]: limit files set to fdlimit (1024) Sep 21 17:02:00 netlink named[291]: can't open '/usr/local/etc/named.conf' Sep 21 17:02:00 netlink named[291]: can't open '/usr/local/etc/named.conf' So I log on, start named manually and it starts: Sep 21 17:02:14 netlink su: lisa to root on /dev/ttyp0 Sep 21 17:02:52 netlink named[495]: starting (/usr/local/etc/named.conf). named 8.4.4 Thu Sep 15 16:42:34 EDT 2005 lisa@netlink.jellico.com:/usr/ports/dns/ bind84/work/src/bin/named Sep 21 17:02:52 netlink named[495]: limit files set to fdlimit (1024) Sep 21 17:02:53 netlink named[496]: Ready to answer queries. What is wrong here? I'm sorry to keep bugging you guys but I need to get this fixed. Also: I have the Complete FreeBSD third edition, but I don't think it is going to be as useful for FreeBSD 5.3 as it was for FreeBSD 3.2. Reccomendations for a good book to help me with the 5.3?? Thank you so much, Lisa Casey
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001d01c5bef4$82565200$d580a23f>