I run a Odroid xu4 with ubuntu 18.04…
I try to install influx n this machine with different tutors…
Only the strange part… Influx is running only i cannot doe anything with influx root@odroid:~# 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 Sun 2019-06-02 21:14:07 CEST; 94ms ago
Docs: InfluxDB OSS 2.6 Documentation
Main PID: 7917 (influxd)
CGroup: /system.slice/influxdb.service
└─7917 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
Jun 02 21:14:07 odroid systemd[1]: Started InfluxDB is an open-source, distribut
So everything looks ok…
Only when i try to go insertof Influx error: 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.
I did try the tutor on Influx website.
Not working
I try some youtube not working
I still does not understand what there is going wrong.
Strange part, i cannot see any influx config file…
So i hope there is some help here, for a bricklayer…
if there is no configfile the service should fail to start ,
do you see a file : /etc/influxdb/influxdb.conf ?
can you see the influxd process running with a ps ?
You could stop the service and try to start influxd with the command you see in the service startup messages and see what happens : /usr/bin/influxd -config /etc/influxdb/influxdb.conf
And when i run this:
/usr/bin/influxd -config
This is what i see…
code>
Jun 03 17:51:28 odroid systemd[1]: Started InfluxDB is an open-source, distributed, time series database.
pi@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.
pi@odroid:~$ /usr/bin/influxd -config
flag needs an argument: -config
Runs the InfluxDB server.
Usage: influxd run [flags]
-config <path>
Set the path to the configuration file.
This defaults to the environment variable INFLUXDB_CONFIG_PATH,
~/.influxdb/influxdb.conf, or /etc/influxdb/influxdb.conf if a file
is present at any of these locations.
Disable the automatic loading of a configuration file using
the null device (such as /dev/null).
-pidfile <path>
Write process ID to a file.
-cpuprofile <path>
Write CPU profiling information to a file.
-memprofile <path>
Write memory usage information to a file.
run: flag needs an argument: -config
pi@odroid:~$
So there is something going wrong…
Influx is running without een cfg file???
So all the tutor etc sayas that ther emust be a config…
Is isntall it like the website from Influxdb
Perhaps you can help me with a other problem…
Where is influx DB?
I do have a infux db on a other Pi…
And i will have this old data into my new Odroid.
I found some tutor on the web.
Only looks very simple for me to place the old db with ftp to the new db…
If the database was started without a config file you can find the directories in the home dir of the user who started the database in .influxdb. I guess you start the database with the user pi ?
You can copy the data , meta and wal directories…
And the configfile …
Only a other strange part…
I install grafana, looks all ok
pi@odroid:~$ sudo apt install grafana -y
Reading package lists… Done
Building dependency tree
Reading state information… Done
grafana is already the newest version (6.2.5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Job for grafana-server.service failed because of unavailable resources or another system error.
See “systemctl status grafana-server.service” and “journalctl -xe” for details.
pi@odroid:~$
Did make no sense
pi@odroid:~ sudo apt install grafana -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
grafana is already the newest version (6.2.5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@odroid:~ ^C
pi@odroid:~$