So starten Sie named -u bind automatisch unter Ubuntu


0

Ich habe zwei Ubuntu 14.04 x64-Boxen. Eines ist eine normale Installation, das andere ist eine minimale Installation. Ich installiere bind9in beiden boxen. Die normale Installationsbox funktioniert problemlos. Ich kann jedoch keine neue Zone zur Mindestinstallation hinzufügen. Beim Versuch, eine neue Zone hinzuzufügen rndc, wird die folgende Fehlermeldung angezeigt:

rndc: connect failed: 127.0.0.1#953: connection refused

Ich habe herumgegoogelt und festgestellt, dass der Prozess bei der Minimalinstallation namednicht ausgeführt wird. Nachdem ich manuell ausgeführt habe:

named -u bind
service bind9 restart

es funktioniert einwandfrei. Meine Frage ist also, wie ich die Mindestinstallation so einrichten kann, dass sie der normalen Installation entspricht, um named -u bindautomatisch zu starten . Vielen Dank.

Antworten:


0

Scheint, dass das Problem durch Beantworten yder Frage während der Installation behoben wurde bind9.

Configuration file '/etc/init.d/bind9'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** bind9 (Y/I/N/O/D/Z) [default=N] ? y
Durch die Nutzung unserer Website bestätigen Sie, dass Sie unsere Cookie-Richtlinie und Datenschutzrichtlinie gelesen und verstanden haben.
Licensed under cc by-sa 3.0 with attribution required.