Re: compile and install from source

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Mar 29, 2015, at 00:46, @lbutlr <kremels@xxxxxxxxx> wrote:
> 
> Downloaded and compiled bind-9.9.7 and it built fine (./configure && make && make install). but  /usr/sbin/named is still 9.8
> 
> If I try to start named (service named start), it starts this version instead of the version in /usr/local/sbin
> 
> I assume I need to either replace /etc/rc.d/named or fix it somehow?

I found this in /etc/defaults/rc,conf:

named_enable="NO"               # Run named, the DNS server (or NO).
named_program="/usr/sbin/named" # Path to named, if you want a different one.
named_conf="/etc/namedb/named.conf"     # Path to the configuration file
#named_flags=""                 # Use this for flags OTHER than -u and -c
named_uid="bind"                # User to run named as
named_chrootdir="/var/named"    # Chroot directory (or "" not to auto-chroot it)
named_chroot_autoupdate="YES"   # Automatically install/update chrooted
                                # components of named. See /etc/rc.d/named.
named_symlink_enable="YES"      # Symlink the chrooted pid file
named_wait="NO"                 # Wait for working name service before exiting
named_wait_host="localhost"     # Hostname to check if named_wait is enabled
named_auto_forward="NO"         # Set up forwarders from /etc/resolv.conf
named_auto_forward_only="NO"    # Do "forward only" instead of "forward first”

So I changed the path to /usr/local/sbin/named

But now I get:

$ /etc/rc.d/named start
Starting named.
/etc/rc.d/named: WARNING: failed to start named

But there is nothing in /var/log/messages

-- 
The early bird gets the worm, but the second mouse gets the cheese.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx






[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux