Hallo everyone,
so I got basically 2 problems and I´m not sure if they are related.
Before everything worked fine.
It all began with switching my router to a fritz.box. That resulted in a new IP for my hda. With fritz you can´t set a certain IP while using DHCP, you can only lock a certain IP to a device.
So after the change I wasn´t able to access my internalsites for apps and the hda was shown as offline in the control panel at amahi.org.
I changed the IP range, so that the gateway is the same again and talked to cpg in IRC and he changed my hda's IP in the control panel.
After that the hda was shown as online again.
But still no chance to access the internal sites, not by short URLS, I changed the DNS aliases.
I want to use my routers DHCP and the DNS from the hda. I read through the FAQ, but no accessing via short or long urls.
I tried turning on the hdas DHCP but still nothing.
After I switched back to my routers DHCP the hda lost the internet connection and I had to restart, since it is shown as offline in the control panel.
But the hda has internet access, news are shown in the dashboard, I can download apps and i can ping IPs and URLs.
The only app I can access is plex via IP and port.
A fresh install is not really an option I got way to much data on the server and it would be a real hassel to disconnect all the greyhole drives etc.
So 2 questions, how can I access my app sites again and how do I get my hda to show up as online again.
Thank you in advance!
Greeting!
Can´t access appsites and server shown as offline in control panel
Re: Can´t access appsites and server shown as offline in control panel
This sounds like a DNS issue possibly.
First of all, let's start with the URL from the following command:
Next, recommend you take a look at the network troubleshooting guidance in the wiki.
Once the root cause of your issue can be pinpointed, should be able to resolve it.
First of all, let's start with the URL from the following command:
Code: Select all
fpaste --sysinfo
Once the root cause of your issue can be pinpointed, should be able to resolve it.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Can´t access appsites and server shown as offline in control panel
Ok I did all of the above, but before posting the results one more thing.
30 minutes ago everything was more or less normal when accessing the hda via SSH oder browser the connection was more or less instant, I was able to ping everything and yum update went smooth.
Then I activated the hda's DNS and set my router to the IP of the hda.
Now, when connecting it takes nearly a minute and the server lost the internet connection.
I can still ping IP adresses, but no URLS and also not hda.
I also can access the server via //hda form windows...
Something is blocking yum, too
Because it can´t connect to the update server.
That happens all the time...
What's super strange is, that the DNS seems to work, otherwise I wouldn´t be able to resolve any URLs, but despite the fact, that the hda seems not to have any internetconnection and the ping to hda hangs, the DNS part is functional...
After disabling the DNS in amahi and a restart I was able to do the tests, here are the outputs:
http://paste.fedoraproject.org/297707/32714014
I can ping fine, except hda and I cann access the hda via browser with http://hda
Here are the outputs from troubleshooting:
If I´ll active the DNS again nslookup etc just hangs with no output.
Thank you for your help
30 minutes ago everything was more or less normal when accessing the hda via SSH oder browser the connection was more or less instant, I was able to ping everything and yum update went smooth.
Then I activated the hda's DNS and set my router to the IP of the hda.
Now, when connecting it takes nearly a minute and the server lost the internet connection.
I can still ping IP adresses, but no URLS and also not hda.
Code: Select all
[root@localhost ~]# fpaste --sysinfo
Gathering system info...........................Uploading (12.1KiB)...
Error Uploading: [Errno -2] Name or service not known
Something is blocking yum, too
Code: Select all
ps aux | grep yum
root 22991 0.0 0.2 423268 23256 ? Sl 15:33 0:00 /usr/bin/python /bin/yum -y install hda-*
root 23983 0.0 0.0 114680 1012 pts/1 S+ 15:36 0:00 grep --color=au to yum
That happens all the time...
What's super strange is, that the DNS seems to work, otherwise I wouldn´t be able to resolve any URLs, but despite the fact, that the hda seems not to have any internetconnection and the ping to hda hangs, the DNS part is functional...
After disabling the DNS in amahi and a restart I was able to do the tests, here are the outputs:
http://paste.fedoraproject.org/297707/32714014
I can ping fine, except hda and I cann access the hda via browser with http://hda
Code: Select all
[root@localhost ~]# ping hda
ping: unknown host hda
[root@localhost ~]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=58 time=18.2 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=58 time=17.4 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=58 time=17.7 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=58 time=17.6 ms
^C
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 17.406/17.768/18.213/0.303 ms
[root@localhost ~]# ping yahoo.com
PING yahoo.com (98.139.183.24) 56(84) bytes of data.
64 bytes from ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=1 ttl=50 time=118 ms
64 bytes from ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=2 ttl=50 time=114 ms
64 bytes from ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=3 ttl=50 time=112 ms
64 bytes from ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=4 ttl=50 time=113 ms
64 bytes from ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=5 ttl=50 time=121 ms
64 bytes from ir2.fp.vip.bf1.yahoo.com (98.139.183.24): icmp_seq=6 ttl=50 time=114 ms
^C
--- yahoo.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5006ms
rtt min/avg/max/mdev = 112.949/115.941/121.937/3.277 ms
Code: Select all
[root@localhost ~]# nslookup hda
Server: 192.168.2.1
Address: 192.168.2.1#53
** server can't find hda: NXDOMAIN
[root@localhost ~]# cat /etc/resolv.conf
# Generated by NetworkManager
domain fritz.box
search fritz.box
nameserver 192.168.2.1
[root@localhost ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 0c:c4:7a:32:cf:8a brd ff:ff:ff:ff:ff:ff
inet 192.168.2.21/24 brd 192.168.2.255 scope global em1
valid_lft forever preferred_lft forever
inet6 fe80::ec4:7aff:fe32:cf8a/64 scope link
valid_lft forever preferred_lft forever
3: em2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 0c:c4:7a:32:cf:8b brd ff:ff:ff:ff:ff:ff
[root@localhost ~]# service named status
Redirecting to /bin/systemctl status named.service
named.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
[root@localhost ~]# systemctl status dnsmasq
dnsmasq.service - DNS caching server.
Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled)
Active: active (running) since Sa 2015-12-05 15:50:44 CET; 5min ago
Main PID: 1203 (dnsmasq)
CGroup: name=systemd:/system/dnsmasq.service
└─1203 /usr/sbin/dnsmasq -k
Dez 05 15:50:44 localhost.localdomain systemd[1]: Starting DNS caching server....
Dez 05 15:50:44 localhost.localdomain systemd[1]: Started DNS caching server..
Dez 05 15:50:44 localhost.localdomain dnsmasq[1203]: started, version 2.66 cachesize 150
Dez 05 15:50:44 localhost.localdomain dnsmasq[1203]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth
Dez 05 15:50:44 localhost.localdomain dnsmasq[1203]: using nameserver 8.8.4.4#53
Dez 05 15:50:44 localhost.localdomain dnsmasq[1203]: using nameserver 8.8.8.8#53
Dez 05 15:50:44 localhost.localdomain dnsmasq[1203]: read /etc/hosts - 2 addresses
[root@localhost ~]# netstat -an | grep :53
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN
tcp6 0 0 :::53 :::* LISTEN
udp 0 0 0.0.0.0:53 0.0.0.0:*
udp 0 0 0.0.0.0:5353 0.0.0.0:*
udp6 0 0 :::53 :::*
Thank you for your help
Last edited by Samsa on Sat Dec 05, 2015 8:30 am, edited 1 time in total.
Re: Can´t access appsites and server shown as offline in control panel
Can you now provide the URL?
I really think this Fritz Box is your issue. Since everything was working fine before, there may be a firewall or something in between that is causing the issues.
Is this a brand of router?
I really think this Fritz Box is your issue. Since everything was working fine before, there may be a firewall or something in between that is causing the issues.
Is this a brand of router?
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Can´t access appsites and server shown as offline in control panel
Which URL?
Fritz box is the brand yes. It's the common one in Germany.
I have full rights assigned for the hda in the router and the firewall
Fritz box is the brand yes. It's the common one in Germany.
I have full rights assigned for the hda in the router and the firewall
Re: Can´t access appsites and server shown as offline in control panel
Code: Select all
fpaste --sysinfo
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Can´t access appsites and server shown as offline in control panel
The url was in my 2nd post :
http://paste.fedoraproject.org/297707/32714014
http://paste.fedoraproject.org/297707/32714014
Re: Can´t access appsites and server shown as offline in control panel
Oh sorry, missed that LOL
I see you are running Amahi 7 on Fedora 19. Have you considered upgrading to Amahi 8 on Fedora 21. We do not provide support for Amahi 7 any longer. It's in maintenance status which basically means no updates to the platform or apps, no new apps, etc.
I really think this has something to do with the new modem/router. Firewall could be part of it. Recommend you try removing as much restriction as you can on the network to see if that helps.
Also have you tried cycling your network? That would involve shutting it all down, then powering up the modem/router followed by the HDA, then clients.
I see you are running Amahi 7 on Fedora 19. Have you considered upgrading to Amahi 8 on Fedora 21. We do not provide support for Amahi 7 any longer. It's in maintenance status which basically means no updates to the platform or apps, no new apps, etc.
I really think this has something to do with the new modem/router. Firewall could be part of it. Recommend you try removing as much restriction as you can on the network to see if that helps.
Also have you tried cycling your network? That would involve shutting it all down, then powering up the modem/router followed by the HDA, then clients.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Can´t access appsites and server shown as offline in control panel
Yeah. I'm afraid of upgrading. I got nearly 20Tb of data on that server.
I will try switching of the firewall and see what happens.
Yes. I cycled the network a couple of times already.
Thank you so far for your help
I will try switching of the firewall and see what happens.
Yes. I cycled the network a couple of times already.
Thank you so far for your help
Re: Can´t access appsites and server shown as offline in control panel
No problem.
If you upgrade, you would need to disconnect your data drives anyway so you could not lose anything. It's only data that is not on those drives that would need to be backed up.
If you upgrade, you would need to disconnect your data drives anyway so you could not lose anything. It's only data that is not on those drives that would need to be backed up.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Who is online
Users browsing this forum: No registered users and 65 guests