Beberapa
waktu lalu, saya dan rekan saya pernah mencoba menginstal DNS server
menggunakan paket bind9 di ubuntu server 9.04. banyak kali saya berhasil
melakukan instalasi dan konfigurasi mulai dari file /etc/bind/named.conf.local,
file /etc/bind/fitrin.host dan /etc/bind/fitrin.rev, dan ketika di restart,
dengan /etc/init.d/bind9 restart
hasilnya cukup memuaskan,
* Stopping domain name service… bind [OK]
* Starting domain name service… bind [OK]
Tapi, kamu pernah mengalami kasus seperti
ini?
pusing memang. . ketika instalasi anda
berhasil dengan lancar dan konfigurasinya telah anda lakukan dengan benar,
tiba-tiba ketika anda merestart servis bind9, hasilnya. . .
* Stopping domain name service… bind
rndc: connect failed: 127.0.0.1#953:
connection refused [fail]
* Starting domain name service… bind [fail]
Sudah berulang-ulang saya melakukan
aptitude purge bind9. namun, hasilnya sama. .
Setelah itu, saya coba googling, dan saya
menemukan jawaban seperti ini. .
Dengan menjalankan perintah
named -g -p 53
27-Okt-201013:19:59.057 starting BIND
9.4.2-P2.1 -g -p 53
27-Okt-201013:19:59.058 found 2 CPUs, using 2 worker threads
27-Okt-201013:19:59.061 loading configuration from ‘/etc/bind/named.conf’
27-Okt-201013:19:59.061 /etc/bind/named_ehcp.conf:140: zone ‘forumkita.us.to’: already exists previous definition: /etc/bind/named_ehcp.conf:128
27-Okt-201013:19:59.062 /etc/bind/named_ehcp.conf:152: zone ‘forumkita.us.to’: already exists previous definition: /etc/bind/named_ehcp.conf:128
27-Okt-201013:19:59.062 loading configuration: failure
27-Okt-201013:19:59.062 exiting (due to fatal error)
27-Okt-201013:19:59.058 found 2 CPUs, using 2 worker threads
27-Okt-201013:19:59.061 loading configuration from ‘/etc/bind/named.conf’
27-Okt-201013:19:59.061 /etc/bind/named_ehcp.conf:140: zone ‘forumkita.us.to’: already exists previous definition: /etc/bind/named_ehcp.conf:128
27-Okt-201013:19:59.062 /etc/bind/named_ehcp.conf:152: zone ‘forumkita.us.to’: already exists previous definition: /etc/bind/named_ehcp.conf:128
27-Okt-201013:19:59.062 loading configuration: failure
27-Okt-201013:19:59.062 exiting (due to fatal error)
Ternyata, kesalahannya waktu itu adalah
terdapat di baris yang kedua, yaitu terdapat pengulangan nama domain, dan
langkah selanjutnya adalah menghapus domain yang menumpuk itu. .
Jika sudah, cek lagi dan hasilnya adalah
seperti ini. .
27-Okt-201013:25:07.633 starting BIND
9.4.2-P2.1 -g -p 53
27-Okt-201013:25:07.633 found 2 CPUs, using 2 worker threads
27-Okt-201013:25:07.636 loading configuration from ‘/etc/bind/named.conf’
27-Okt-201013:25:07.638 listening on IPv6 interfaces, port 53
27-Okt-201013:25:07.639 listening on IPv4 interface lo, 127.0.0.1#53
27-Okt-201013:25:07.641 listening on IPv4 interface eth0, 113.98.163.244#53
27-Okt-201013:25:07.695 automatic empty zone: 254.169.IN-ADDR.ARPA
27-Okt-201013:25:07.695 automatic empty zone: 2.0.192.IN-ADDR.ARPA
27-Okt-201013:25:07.695 automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
27-Okt-201013:25:07.695 automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 .0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
27-Okt-201013:25:07.696 automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 .0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
27-Okt-201013:25:07.696 automatic empty zone: D.F.IP6.ARPA
27-Okt-201013:25:07.696 automatic empty zone: 8.E.F.IP6.ARPA
27-Okt-201013:25:07.696 automatic empty zone: 9.E.F.IP6.ARPA
27-Okt-201013:25:07.696 automatic empty zone: A.E.F.IP6.ARPA
27-Okt-201013:25:07.696 automatic empty zone: B.E.F.IP6.ARPA
27-Okt-201013:25:07.699 none:0: open: /etc/bind/rndc.key: permission denied
27-Okt-201013:25:07.699 couldn’t add command channel 127.0.0.1#953: permission denied
27-Okt-201013:25:07.699 none:0: open: /etc/bind/rndc.key: permission denied
27-Okt-201013:25:07.699 couldn’t add command channel ::1#953: permission denied
27-Okt-201013:25:07.710 ignoring config file logging statement due to -g option
27-Okt-201013:25:07.721 zone 0.in-addr.arpa/IN: loaded serial 1
27-Okt-201013:25:07.721 zone 127.in-addr.arpa/IN: loaded serial 1
27-Okt-201013:25:07.722 zone 255.in-addr.arpa/IN: loaded serial 1
27-Okt-201013:25:07.723 zone pcnetland.co.cc/IN: loaded serial 655
27-Okt-201013:25:07.724 zone domainname.com/IN: loaded serial 542
27-Okt-201013:25:07.724 zone antonbi.web.id/IN: loaded serial 819
27-Okt-201013:25:07.725 zone blogskarose.web.id/IN: loaded serial 823
27-Okt-201013:25:07.725 zone ros-in.hotels.web.id/IN: loaded serial 644
27-Okt-201013:25:07.726 zone ictbantul.web.id/IN: loaded serial 48
27-Okt-201013:25:07.726 zone skarose.web.id/IN: loaded serial 211
27-Okt-201013:25:07.727 zone sutran.web.id/IN: loaded serial 278
27-Okt-201013:25:07.727 zone localhost/IN: loaded serial 2
27-Okt-201013:25:07.728 zone smk2sewon.info.tm/IN: loaded serial 552
27-Okt-201013:25:07.728 zone forumkita.us.to/IN: loaded serial 675
27-Okt-201013:25:07.729 zone ngomong2.us.to/IN: loaded serial 612
27-Okt-201013:25:07.730 running
27-Okt-201013:26:13.810 shutting down
27-Okt-201013:26:13.811 no longer listening on ::#53
27-Okt-201013:26:13.812 no longer listening on 127.0.0.1#53
27-Okt-201013:26:13.812 no longer listening on 113.98.163.244#53
27-Okt-201013:26:13.815 exiting
27-Okt-201013:25:07.633 found 2 CPUs, using 2 worker threads
27-Okt-201013:25:07.636 loading configuration from ‘/etc/bind/named.conf’
27-Okt-201013:25:07.638 listening on IPv6 interfaces, port 53
27-Okt-201013:25:07.639 listening on IPv4 interface lo, 127.0.0.1#53
27-Okt-201013:25:07.641 listening on IPv4 interface eth0, 113.98.163.244#53
27-Okt-201013:25:07.695 automatic empty zone: 254.169.IN-ADDR.ARPA
27-Okt-201013:25:07.695 automatic empty zone: 2.0.192.IN-ADDR.ARPA
27-Okt-201013:25:07.695 automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
27-Okt-201013:25:07.695 automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 .0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
27-Okt-201013:25:07.696 automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 .0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
27-Okt-201013:25:07.696 automatic empty zone: D.F.IP6.ARPA
27-Okt-201013:25:07.696 automatic empty zone: 8.E.F.IP6.ARPA
27-Okt-201013:25:07.696 automatic empty zone: 9.E.F.IP6.ARPA
27-Okt-201013:25:07.696 automatic empty zone: A.E.F.IP6.ARPA
27-Okt-201013:25:07.696 automatic empty zone: B.E.F.IP6.ARPA
27-Okt-201013:25:07.699 none:0: open: /etc/bind/rndc.key: permission denied
27-Okt-201013:25:07.699 couldn’t add command channel 127.0.0.1#953: permission denied
27-Okt-201013:25:07.699 none:0: open: /etc/bind/rndc.key: permission denied
27-Okt-201013:25:07.699 couldn’t add command channel ::1#953: permission denied
27-Okt-201013:25:07.710 ignoring config file logging statement due to -g option
27-Okt-201013:25:07.721 zone 0.in-addr.arpa/IN: loaded serial 1
27-Okt-201013:25:07.721 zone 127.in-addr.arpa/IN: loaded serial 1
27-Okt-201013:25:07.722 zone 255.in-addr.arpa/IN: loaded serial 1
27-Okt-201013:25:07.723 zone pcnetland.co.cc/IN: loaded serial 655
27-Okt-201013:25:07.724 zone domainname.com/IN: loaded serial 542
27-Okt-201013:25:07.724 zone antonbi.web.id/IN: loaded serial 819
27-Okt-201013:25:07.725 zone blogskarose.web.id/IN: loaded serial 823
27-Okt-201013:25:07.725 zone ros-in.hotels.web.id/IN: loaded serial 644
27-Okt-201013:25:07.726 zone ictbantul.web.id/IN: loaded serial 48
27-Okt-201013:25:07.726 zone skarose.web.id/IN: loaded serial 211
27-Okt-201013:25:07.727 zone sutran.web.id/IN: loaded serial 278
27-Okt-201013:25:07.727 zone localhost/IN: loaded serial 2
27-Okt-201013:25:07.728 zone smk2sewon.info.tm/IN: loaded serial 552
27-Okt-201013:25:07.728 zone forumkita.us.to/IN: loaded serial 675
27-Okt-201013:25:07.729 zone ngomong2.us.to/IN: loaded serial 612
27-Okt-201013:25:07.730 running
27-Okt-201013:26:13.810 shutting down
27-Okt-201013:26:13.811 no longer listening on ::#53
27-Okt-201013:26:13.812 no longer listening on 127.0.0.1#53
27-Okt-201013:26:13.812 no longer listening on 113.98.163.244#53
27-Okt-201013:26:13.815 exiting
Bind berjalan normal. . .
Selamat!!!
8 comments:
Cara menghapus domain yg menumpuk gimana?
Cara menghapus domain yg menumpuk gimana?
gan cara hapusnya gimana
bermanfaat (y)
makasih gan!!
masalah saya terpecahkan
Gimana Caranya ??
Gimana Caranya ??
Post a Comment