Bind findet named.conf nicht

Bind, PowerDNS
Post Reply
core
Posts: 25
Joined: 2003-06-21 18:05
Location: Stadtilm
 

Bind findet named.conf nicht

Post by core »

Hi,

simples Problem, habe Bind 9.2.3 mit --prefix=/prog/bind/ kompiliert. Wenn ich den named jetzt starte steht im syslog folgendes:
Nov 19 20:49:26 xion named[28462]: starting BIND 9.2.3
Nov 19 20:49:26 xion named[28462]: using 1 CPU
Nov 19 20:49:26 xion named[28462]: loading configuration from '/prog/bind//etc/named.conf'
Nov 19 20:49:26 xion named[28462]: none:0: open: /prog/bind//etc/named.conf: file not found
Nov 19 20:49:26 xion named[28462]: loading configuration: file not found
Nov 19 20:49:26 xion named[28462]: exiting (due to fatal error)
Wie sage ich Bind also den Pfad zu named.conf und muss ich den abschließenden Slash beim configure-prefix immer weglassen?
Last edited by core on 2003-11-20 17:52, edited 1 time in total.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Bind findet named.conf nicht

Post by Joe User »

Core wrote:Wie sage ich Bind also den Pfad zu named.conf
Kopiere die named.conf (nach jeder Ã?nderung) nach /prog/bind/etc
Core wrote:und muss ich den abschließenden Slash beim configure-prefix immer weglassen?
Müssen nicht, solltest Du aber dennoch.
wudmx
Posts: 30
Joined: 2003-04-19 00:26
Location: germany
 

Re: Bind findet named.conf nicht

Post by wudmx »

Core wrote:Hi,
simples Problem, habe Bind 9.2.3 mit --prefix=/prog/bind/ koompiliert. Wenn ich den named jetzt starte steht im syslog folgendes:
Nov 19 20:49:26 xion named[28462]: starting BIND 9.2.3
Nov 19 20:49:26 xion named[28462]: using 1 CPU
Nov 19 20:49:26 xion named[28462]: loading configuration from '/prog/bind//etc/named.conf'
Nov 19 20:49:26 xion named[28462]: none:0: open: /prog/bind//etc/named.conf: file not found
Nov 19 20:49:26 xion named[28462]: loading configuration: file not found
Nov 19 20:49:26 xion named[28462]: exiting (due to fatal error)
Wie sage ich Bind also den Pfad zu named.conf und muss ich den abschließenden Slash beim configure-prefix immer weglassen?
das sind ja zwei slashes nach bind... sollte vllt nur eins sein.. weiss nicht obs daran liegt, aber vllt hilft ja ein --prefix=/prog/bind anstatt--prefix=/prog/bind/

gruss
wudmx
core
Posts: 25
Joined: 2003-06-21 18:05
Location: Stadtilm
 

Re: Bind findet named.conf nicht

Post by core »

Naja ok, das mit Slash waere ja kein Problem, ich wollte vielmehr wissen ob ich (außer mit rndc) Bind sagen kann, dass die named.conf woanders liegt. Vielleicht ne spezielle configure-Option oder so...

edit:

Achja, vielleicht sollte ich doch erstmal weiter runterblaettern in der README....
--sysconfdir spezifiert den Pfad wo die Konfigurationsdateien reinkommen...
wirsing
Posts: 604
Joined: 2002-11-20 21:32
Location: Vaihingen und Karlsruhe
 

Re: Bind findet named.conf nicht

Post by wirsing »

Andere Idee: Symbolischen Link von /prog/bind/etc auf /etc legen.
core
Posts: 25
Joined: 2003-06-21 18:05
Location: Stadtilm
 

Re: Bind findet named.conf nicht

Post by core »

jo war au mein erster gedankengang, aber ich bin da mehr so wie Hausmeister Krause - Ordnung muss sein. 8)
Post Reply