Help, BIND9 initialization error on Windows 2000!

Vinny Abello vinny at tellurian.com
Wed Jul 6 04:31:24 UTC 2005


At 11:50 PM 7/5/2005, Shi Jingnian wrote:


>Danny wrote:
> >Mark Andrews wrote:
> >>>Danny wrote:
> >>>
> >>>>Shi Jingnian wrote:
> >>>>
> >>>>>i uninstalled BIND8 on windows 2000 server (which
> >>>>>ran well) and installed BIND9, with all zone files
> >>>>>and config file rewritten. However, as i started
> >>>>>the service, it popped out an error dialog saying
> >>>>>initialization(0xc0000142) failed. i tried to
> >>>>>install BIND 9 on another windows 2000 server, it
> >>>>>started well with the same config file and the zone
> >>>>>files. What's the matter? i searched and compared
> >>>>>the files including registry files, no difference
> >>>>>found between the two machines...
> >>>>>
> >>>>>By the way i should say i found a bug in BIND 8 and
> >>>>>BIND 9, they created wrong UninstallString value in
> >>>>>the registry file (C:\WINNT\BINDinstall.exe)
> >>>>>no matter where i installed BIND.
> >>>>>
> >>>>>i tried installing BIND 9 again on that machine but
> >>>>>it failed again. no other info found about it.
> >>>>>what should i do next?  please help me!
> >>>>>
> >>>
> >>>>What does the event log tell you?
> >>>
> >>>System event told ISC BIND failed to start because of
> >>>timeout and an application popup because of BIND
> >>>initialization error(0xc0000142).  Application event
> >>>told nothing. No BIND log produced although i said it
> >>>in named.conf.
> >>>
> >>>
> >>>>Is named.conf in the right place?
> >>>
> >>>Exactly installed according to Alex's guide.
> >>>(http://transposed.org/techstuff/bind9-win2k.html)
> >>>C:\named\bin\named.exe and C:\named\etc\named.conf,
> >>>i think it is in right place, the other two servers
> >>>are running well with the same installation.
> >>>
> >>>
> >>>>Did you read the readme1st.txt file?
> >>>
> >>>Yes, as well as Alex's guide.
> >>>
> >>>
> >>>>Did you set up write permissions for the account
> >>>>running named to write to the directory you specify
> >>>>in the options directory directive?
> >>>
> >>>Sure. Full permission to the path c:\named.
> >>>once i did forget setting the permission for the path
> >>>of the log file on another machine, BIND gave me an
> >>>application event to tell me permission denied.
> >>>
> >>>As i said last, i installed BIND 9 on another machine
> >>>exactly as the first, it runs well; then i installed
> >>>it on the third machine, it runs well too. the only
> >>>difference is i just uninstalled BIND 8 on the first
> >>>machine. i'd say BIND should give me an exact meaning
> >>>of error 0xc0000142, or BIND missed to check smth
> >>>so as to let system find the error.
> >>>
> >>>thank you Danny, i expect you can dig something out.
> >>>
> >>>Shi.
> >>>
> >>
> >>
> >>      Named logs its error messages to the Application log.
> >>
> >>      It will only follow "logging" once it has successfully read
> >>      and parsed named.conf without detecting a error.
> >>
> >Try running it directly from a DOS prompt and see what kind of er...
> >gets: named -g.
> >
> >You should have something either in the Application event log or ...
> >whatever you set up for a log.
> >
> >Danny
> >>      Mark
> >> --
> >> Mark Andrews, ISC
> >> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> >> PHONE: +61 2 9871 4742        INTERNET: Mark_Andrews at i...
> >>
> >
>
>Running "named -g" successfully, said on the screen (time ignored):
>  > starting BIND 9.3.1 -g
>  > found 1 CPU, using 1 worker thread
>  > loading configuration from 'C:\named\etc\named.conf'
>  > listening on IPv4 interface Loopback Interface 1, 127.0.0.1#53
>  > listening on IPv4 interface TCP/IP Interface 2, 211.94.248.73#53
>  > command channel listening on 127.0.0.1#953
>  > ignoring config file logging statement due to -g option
>  > zone 0.0.127.IN-ADDR.ARPA/IN: loaded serial 2005070401
>  > zone ......
>  > running
>No events recorded. i deleted the process and tried to start the
>service, the same error appeared. Seems the service manager got
>an error when it tried to initial for named.exe?
>
>i'm not eager for the problem. i've got it running on another
>machine anyway. but if any ideas, i'd like to try.
>
>Shi.

Try rebooting and install BIND 9 again. I think the BIND 8 installer 
tried removing the service but couldn't completely without a reboot. 
The subsequent installation of BIND 9 on top of that might be using 
the old "ISC BIND" service settings that weren't flushed out yet.

If you tried that already, then nevermind. Just an idea. :)


Vinny Abello
Network Engineer
Server Management
vinny at tellurian.com
(973)300-9211 x 125
(973)940-6125 (Direct)
PGP Key Fingerprint: 3BC5 9A48 FC78 03D3 82E0  E935 5325 FBCB 0100 977A

Tellurian Networks - The Ultimate Internet Connection
http://www.tellurian.com (888)TELLURIAN

"Courage is resistance to fear, mastery of fear - not absence of 
fear" -- Mark Twain



More information about the bind-users mailing list