Influxdb on ubuntu Xu4

Post Reply
Dombo71
Posts: 23
Joined: Wed Jun 14, 2017 3:34 am
languages_spoken: english / duttch
ODROIDs: Xu4 :-)
Has thanked: 0
Been thanked: 0
Contact:

Influxdb on ubuntu Xu4

Unread post by Dombo71 » Tue Jun 11, 2019 2:44 pm

Dear all..

I hope there is someone to help...
I run a lot of time the Xu4 and he works very fine
Only i try to setup influx with grafana, with this tutor:
https://www.howtoforge.com/tutorial/how ... untu-1804/

Looks running oke..:

Code: Select all

root@odroid:~# sudo service influxdb status
● influxdb.service - InfluxDB is an open-source, distributed, time series databa
   Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset:
   Active: active (running) since Tue 2019-06-11 07:42:40 CEST; 2s ago
     Docs: https://docs.influxdata.com/influxdb/
 Main PID: 16505 (influxd)
   CGroup: /system.slice/influxdb.service
           └─16505 /usr/bin/influxd -config /etc/influxdb/influxdb.conf

Jun 11 07:42:40 odroid systemd[1]: Started InfluxDB is an open-source, distribut
lines 1-9/9 (END)

Only when i try to use influx for crearing a Database i get:

Code: Select all

root@odroid:~# influx
Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: connect: connection refused
Please check your connection settings and ensure 'influxd' is running.
root@odroid:~#
When i do this on a Pi system everything works ok.
What is the problem on a Xu4?

Hope...

Thank!!!


Edit:
Strange part... not running a localhost:

Code: Select all

root@odroid:~# netstat -plntu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State                                                                        PID/Program name
tcp        0      0 127.0.0.1:53544         0.0.0.0:*               LISTEN                                                                       689/containerd
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN                                                                       821/mysqld
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN                                                                       20912/systemd-resol
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN                                                                       703/sshd
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN                                                                       31465/cupsd
tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN                                                                       600/mosquitto
tcp6       0      0 :::6144                 :::*                    LISTEN                                                                       21007/domoticz
tcp6       0      0 :::8080                 :::*                    LISTEN                                                                       21007/domoticz
tcp6       0      0 :::80                   :::*                    LISTEN                                                                       873/apache2
tcp6       0      0 :::22                   :::*                    LISTEN                                                                       703/sshd
tcp6       0      0 ::1:631                 :::*                    LISTEN                                                                       31465/cupsd
tcp6       0      0 :::3000                 :::*                    LISTEN                                                                       1143/grafana-server
tcp6       0      0 :::443                  :::*                    LISTEN                                                                       21007/domoticz
tcp6       0      0 :::1883                 :::*                    LISTEN                                                                       600/mosquitto
udp        0      0 127.0.0.53:53           0.0.0.0:*                                                                                            20912/systemd-resol
udp        0      0 0.0.0.0:68              0.0.0.0:*                                                                                            815/dhclient
udp        0      0 0.0.0.0:631             0.0.0.0:*                                                                                            31466/cups-browsed
udp        0      0 0.0.0.0:9898            0.0.0.0:*                                                                                            21007/domoticz
udp        0      0 0.0.0.0:39098           0.0.0.0:*                                                                                            521/avahi-daemon: r
udp        0      0 0.0.0.0:5353            0.0.0.0:*                                                                                            521/avahi-daemon: r
udp     9728      0 0.0.0.0:51021           0.0.0.0:*                                                                                            21007/domoticz
udp6       0      0 :::36901                :::*                                                                                                 521/avahi-daemon: r
udp6       0      0 :::5353                 :::*                                                                                                 521/avahi-daemon: r
root@odroid:~#

User avatar
mad_ady
Posts: 5971
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 101 times
Been thanked: 54 times
Contact:

Re: Influxdb on ubuntu Xu4

Unread post by mad_ady » Tue Jun 11, 2019 2:59 pm

Either it's not starting correctly (see its log or sudo journalctl -f -u influxdb), or it's not binding to a socket (see its config)

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 0 guests