Problem starting named in FreeBSD 10.2

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Tue Sep 15 14:08:24 UTC 2015


On Tue, 15 Sep 2015 09:40-0400, kpneal at pobox.com wrote:

> On Tue, Sep 15, 2015 at 04:44:43PM +0700, Olivier Nicole wrote:
> > Hi,
> > 
> > I am having problems starting named in FreeBSD 10.2. I have been using
> > the exact same rc.d/named script for years, it is still working in FreeBSD 10.1
> > 
> > The rc.d/named script contains a REQUIRE line that is not honnorred:
> > 
> > # REQUIRE: NETWORKING ldconfig syslogd
> 
> Is it possible there is a loop in the dependencies somewhere? I can imagine
> breaking a loop by ignoring a REQUIRE line somewhere.

Try running (sh syntax):

rcorder /etc/rc.d/* /usr/local/etc/rc.d/* 2>&1 | less

On one of my DNS servers, I see these lines:

/etc/rc.d/ipfw
/etc/rc.d/NETWORKING      <--
/etc/rc.d/netwait
/etc/rc.d/mountcritremote
/etc/rc.d/accounting
/etc/rc.d/ldconfig        <--
/etc/rc.d/newsyslog
/etc/rc.d/syslogd         <--
/etc/rc.d/ntpdate
/etc/rc.d/rpcbind
/etc/rc.d/nfsclient
/etc/rc.d/devfs
/etc/rc.d/ipmon
/etc/rc.d/mdconfig2
/usr/local/etc/rc.d/named <--
/etc/rc.d/kdc

If libxml2.so.2 is missing from /usr/local/lib, then check to see if 
files named libxml2.so.2.* exists in /usr/local/lib/compat/pkg/.

In a pinch you might be able to move on by running something like 
this:

ln -s libxml2.so.2.9.2 /usr/local/lib/compat/pkg/libxml2.so.2

Substitute libxml2.so.2.9.2 with the newest file as found in 
your /usr/local/lib/compat/pkg directory. In my case, I can choose 
between libxml2.so.2.9.1 and libxml2.so.2.9.2.

Next, I would probably reinstall/forcefully upgrade textproc/libxml2.

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+


More information about the freebsd-questions mailing list