Local DNS server not working properly

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Local DNS server not working properly

Postby bigfoot65 » Fri Dec 14, 2012 6:16 am

We are investigating the issue. Not sure what the root cause may be yet, but hope to resolve soon. Please accept our sincere apology for any inconvenience.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

cdcrawford
Posts: 13
Joined: Fri Dec 14, 2012 7:29 am

Re: Local DNS server not working properly

Postby cdcrawford » Fri Dec 14, 2012 9:12 am

I have this issue as well.

This issue also persists after an fresh reinstall of Amahi/Ubuntu. It appears to an issue with the repo.

This is the information that I pulled the server post install, and the installation error that I believe is related.

Installation Logs:
http://paste.ubuntu.com/1430261/

Errors during Install:
cdcrawford@SilkSpectre:~$ sudo hda-install -f K8RP6YC
[sudo] password for cdcrawford:
Verbose log file at '/root/hda-install-121213-145421.log'.
Retrieving install code ...
Install code looks good
Starting MySQL
Initializing MySQL
Initializing Storage Pooling ...
/usr/bin/hda-install:293:in `write': Broken pipe (Errno::EPIPE)
from /usr/bin/hda-install:293:in `puts'
from /usr/bin/hda-install:293:in `initialize_greyhole'
from /usr/lib/ruby/1.8/open-uri.rb:32:in `open_uri_original_open'
from /usr/lib/ruby/1.8/open-uri.rb:32:in `open'
from /usr/bin/hda-install:291:in `initialize_greyhole'
from /usr/bin/hda-install:951:in `do_full_install'
from /usr/bin/hda-install:1421:in `main'
from /usr/bin/hda-install:1424

In my experience, the issue occurred on the evening of the 12th, or the morning of the 13th. I first noticed that I was not able to access any of the applications/web apps that I have installed on the server. They failed, citing a DNS lookup issue.

If you need any information, please let me know.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Local DNS server not working properly

Postby bigfoot65 » Fri Dec 14, 2012 9:27 am

Our testing indicated the same problem. Hope to have a solution soon. Thanks for the info.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

jiml
Posts: 28
Joined: Wed Jan 13, 2010 1:13 am

Re: Local DNS server not working properly

Postby jiml » Fri Dec 14, 2012 10:20 am

Having same problem.

Just found these mails when I logged onto root, it might help as it seems to be relevant.

Code: Select all

From root@hda Fri Dec 14 12:43:24 2012 Return-Path: <root@hda> X-Original-To: root Delivered-To: root@hda From: root@hda (Cron Daemon) To: root@hda Subject: Cron <root@hda> /var/hda/web-apps/apps-proxy/html/refresh_httpd_conf.php Content-Type: text/plain; charset=ANSI_X3.4-1968 X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/root> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=root> Date: Fri, 14 Dec 2012 12:43:05 +0000 (GMT) Status: R ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) sh: 1: /sbin/service: not found

Code: Select all

From root@hda Fri Dec 14 12:44:04 2012 Return-Path: <root@hda> X-Original-To: root Delivered-To: root@hda From: root@hda (Cron Daemon) To: root@hda Subject: Cron <root@hda> /var/hda/web-apps/apps-proxy/html/refresh_httpd_conf.php Content-Type: text/plain; charset=ANSI_X3.4-1968 X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/root> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=root> Date: Fri, 14 Dec 2012 12:44:04 +0000 (GMT) Status: R sh: 1: /sbin/service: not found
Jim!

Ubuntu 12.04 (64bit)

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Local DNS server not working properly

Postby bigfoot65 » Fri Dec 14, 2012 10:36 am

Thanks. We appreciate the info.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

gbonilla
Posts: 2
Joined: Fri Dec 14, 2012 11:11 am

Re: Local DNS server not working properly

Postby gbonilla » Fri Dec 14, 2012 11:11 am

+1 to the list of people. I'm glad to have found this thread, I've been slaving away all morning trying to get it to work.

drdoooom
Posts: 1
Joined: Fri Dec 14, 2012 3:31 pm

Re: Local DNS server not working properly

Postby drdoooom » Fri Dec 14, 2012 3:34 pm

having the same issue as of a few days ago. did the network troubleshooter (see below).

what's seems off is the router ip, which when using traceroute seems to resolve to (67.215.65.132), rather than my gateway ip (192.168.1.1).

anyway, any help is appreciated.

thank you.

Step 1: Your HDA IP address is 192.168.1.10
Step 2: Your HDA domain name is home.com
Step 3: Your router IP address is 192.168.1.1
Step 4: Your HDA DNS server is working fine for local hostnames.
Step 5: Your router is NOT accessible from your HDA server.

Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
10.8.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

h001.home.com (192.168.1.1) at 00:22:6b:91:98:45 [ether] on eth0
redacted1.home.com (192.168.1.117) at 78:e4:00:5b:7f:25 [ether] on eth0
redacted2-arch.home.com (192.168.1.143) at f4:6d:04:a1:a9:82 [ether] on eth0
redacted3.home.com (192.168.1.115) at 00:26:c6:51:4e:f8 [ether] on eth0
android-2baadf154001ac62.home.com (192.168.1.101) at f8:0c:f3:fe:d3:81 [ether] on eth0

traceroute to router (67.215.65.132), 5 hops max, 60 byte packets
1 h001.home.com (192.168.1.1) 0.238 ms
2 7.7.204.1 (7.7.204.1) 8.953 ms
3 66.185.90.73 (66.185.90.73) 12.673 ms
4 69.63.248.226 (69.63.248.226) 18.519 ms
5 gw02.bloor.phub.net.cable.rogers.com (66.185.80.9) 12.253 ms

gbonilla
Posts: 2
Joined: Fri Dec 14, 2012 11:11 am

Re: Local DNS server not working properly

Postby gbonilla » Fri Dec 14, 2012 4:20 pm

It's back up and running. Thanks a lot!

Atomic
Posts: 15
Joined: Mon Nov 28, 2011 4:14 pm

Re: Local DNS server not working properly

Postby Atomic » Fri Dec 14, 2012 5:11 pm

Mine appears to also be working now, will test all apps and aliases tomorrow to confirm.

[ Post made via Android ] Image

cdcrawford
Posts: 13
Joined: Fri Dec 14, 2012 7:29 am

Re: Local DNS server not working properly

Postby cdcrawford » Fri Dec 14, 2012 7:10 pm

Anything that was build, like this morning, works.

Anything new that I add, doesn't work. Any ideas?

Edit: Restarted my HDA services. All good now!

Thanks for pushing the fix quickly!

Who is online

Users browsing this forum: No registered users and 9 guests