Re: rc.d/named



At 02:19 PM 6/6/2008, Casey Scott wrote:
I have quite a bit of trouble with the /etc/rc.d/named script. The source
of the biggest issue was the rc_run_command was not issuing the run command
with "/usr/sbin/named". It was just running the arguments w/o the executable.

e.g. -t /var/named vs. /usr/sbin/named -t /var/named

I have the stock /etc/defaults/rc.conf, and the only thin in /etc/rc.conf
related to named is a correction to the chroot directory... For the time
being that issue has been resolve by hacking the rc.conf to issue the
executable where the flags are specified. However, when issuing /etc/rc.d/named
I get:

named not running? (check /var/run/named/pid).


/var/run/named/pid contains the correct PID, and has permissions:

lrwxr-xr-x 1 root bind

Anyone else having trouble with this? None of the other init scripts are having
problems.

You need to set:

named_chroot_autoupdate
named_chrootdir
named_flags

and possibly:

named_uid

in /etc/rc.conf

I have all of these values set.

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Help With Samba Mount
    ... > a directory on Suse 9.2. ... > 1) I can get the directory mounted by issuing the command: ... > This gives the resultant output of: ...
    (alt.os.linux.suse)
  • Re: dd if=/dev/random of=data.bin bs=512 count=1
    ... Jon wrote: ... KOSAKI Motohiro wrote: ... Issuing this command, I expected to get a file 4096 bytes in size. ...
    (Linux-Kernel)
  • Re: mount_msdosfs /dev/fd0 causes reboot
    ... Michael A. Koerber scribbled these ... > I'm using 5.3-RELEASE and issuing the subject command, ...
    (comp.unix.bsd.freebsd.misc)
  • Re: dd if=/dev/random of=data.bin bs=512 count=1
    ... KOSAKI Motohiro wrote: ... Issuing this command, I expected to get a file 4096 bytes in size. ... catastrophic failure of the cryptographic compression function. ...
    (Linux-Kernel)
  • Re: Console restructure an Netview 3.1
    ... Do you have some exec that handles console ... assignment and/or issuing an MVS command that traps error ... think of anything that would make issuing MVS commands fail. ... try issuing an MVS command using the now assigned console ...
    (bit.listserv.ibm-main)