Looking at google I've discovered that I had to specify the username named with "-u named", now it's working, but I have another problem.... I tried to start named with the rc script but there was an error in the load and now I can't reload/stop/start it with the rc file, always when I try I get just an error "!!" from the rc script, but if I try to execute named with "start-stop-daemon --start --exec /usr/sbin/named -- -u named -n 2 -t /chroot -c /etc/bind/named.conf -d3" it's work fine...I've looked and I doesn't found any pid file that could was telling that named is already started, so how to finish that inexistent fake process and start again with rc?
Tks in advice, Claudinei Matos On 5/4/05, Dave Nebinger <[EMAIL PROTECTED]> wrote: > > Claudinei Matos wrote: > > > I just put my dns to work hear at my network, so now I'm wanting to > > > put it to my webserver with a real domain name. > > > At my office machine I have bind-9.2.5 that is working very fine, but > > > at the webserver I have bind-9.2.2-r3. My problem now is that bind at > > > webserver refuse to work. I even tried to completelly remove bind of > > > my system e re-emerge it, calling named with the default configuration > > > and it also doesnt't work. > > > > > > I have on occaision been editiong the files in /etc/bind/ and /var/bind, > > and been completely lost as to why the changes weren't manifesting > > themselves. The problem was that I had chrooted bind, so you really > > need to be editing /chroot/dns/etc/bind... > > Ah, but the OP was running named from the command line, not chrooting it. > Therefore the /etc/bind and /var/bind should be from root. > > Chrooting is only applied when starting named from the /etc/init.d/named > script. > > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list