Friday, April 13, 2012

djbdns (TinyDns) not starting in Kloxo (Solved / fixed)

After switching from named to tinyDNS in kloxo. The djbdns is not working.
# /etc/init.d/djbdns restart
Stopping Djbdns:
Starting Djbdns:
# /etc/init.d/djbdns status
tinydns is stopped
Also tried to stop and start but still no luck.
 #service djbdns stop
Stopping Djbdns:
# service djbdns start
Starting Djbdns:
service djbdns status
tinydns is stopped

Check if the ip is entered correctly in the following file.
# echo "xxx.xxx.x.xx" >> /var/tinydns/env/IP; chattr +i /var/tinydns/env/IP
# cat /var/tinydns/env/IP
  xxx.xxx.x.xx

Also check if the path is correct in the files /usr/local/lxlabs/kloxo/file/djbdns.init and /etc/init.d/djbdns. Open each file and check the line
Qmailtcp=/usr/local/bin/tcpserver
In my case the location of tcpserver was /usr/bin/tcpserver. Hence i changed this to
Qmailtcp=/usr/bin/tcpserver
Note: Change this is both files.

Now login to kloxo and take Administration --> Servers --> localhost --> Services. Everything should be in green. :)


7 comments:

Muhammad said...

Thanks a lot!

Unknown said...

Np Mate :)

Unknown said...

Anytime Dude .. Have a great day :)

Anonymous said...

Check if the ip is entered correctly in the following file.

What file?

Unknown said...

This file --> /var/tinydns/env/IP.

Anonymous said...

Great article! thanks a lot.
after doing lots of search in kloxo forum, your website solved my problem.
it seems /usr/local/bin/tcpserver is something they should fix.
Unfortunately kloxo turned to an awful panel recently.

Unknown said...

Thanks buddy :D

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews