Ubuntu – Bind9 won’t start on ubuntu 9.10

bindUbuntuubuntu-9.10

Ever since I've upgraded to ubuntu 9.10, bind9 won't start:

Setting up bind9 (1:9.6.1.dfsg.P1-3ubuntu0.2) ...
 * Starting domain name service... bind9                                 [fail] 
invoke-rc.d: initscript bind9, action "start" failed.
dpkg: error processing bind9 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 bind9
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any ideas?

Best Answer

Have you had the bind9 package installed before, done a non-purge removal and then afterwards removed files from /etc/bind/? If so, the solution is doing a full purge removal, allowing apt till reinstall configuration files)

$ sudo apt-get remove --purge bind9
$ sudo apt-get install bind9
Related Topic