05-25-2020, 09:00 PM
Yeah cool ! Je vais pouvoir m'éclater à archiver tout pleins de valeurs :-)
En mode quick & durty:
[http]
# Determines whether HTTP endpoint is enabled.
enabled = true
# The bind address used by the HTTP service.
bind-address = ":8086"
# Determines whether user authentication is enabled over HTTP/HTTPS.
auth-enabled = false
# Enables authentication on the /ping, /metrics, and deprecated /status
ping-auth-enabled = false
sudo systemctl unmask influxdb
sudo systemctl enable influxdb
sudo systemctl start influxdb
Et paf:
root@intel-corei7-64:~# influx
Connected to http://localhost:8086 version unknown
InfluxDB shell version: unknown
> show databases;
ERR: no data received
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x7f2dd3caee0a]
goroutine 1 [running]:
regexp.(*Regexp).allMatches(0xc00042e1b0, 0xc000480240, 0xf, 0x0, 0x0, 0x0, 0x10, 0xc0006eb810)
/usr/lib/go/src/regexp/regexp.go:719 +0x12a
regexp.(*Regexp).FindAllStringSubmatchIndex(0xc00042e1b0, 0xc000480240, 0xf, 0xffffffffffffffff, 0x0, 0x0, 0x0)
/usr/lib/go/src/regexp/regexp.go:1163 +0xa6
github.com/influxdata/influxdb/vendor/github.com/influxdata/influxql.Sanitize(0xc000480240, 0xf, 0x4, 0xc000480200)
/home/raoul/calaos-os/tmp-glibc/work/corei7-64-oe-linux/influxdb/1.7.9-r0/build/src/github.com/influxdata/influxdb/vendor/github.com/influxdata/influxql/sanitize.go:35 +0x294
github.com/influxdata/influxdb/cmd/influx/cli.(*CommandLine).mainLoop(0xc000451180, 0x1a, 0x0)
/home/raoul/calaos-os/tmp-glibc/work/corei7-64-oe-linux/influx/1.7.9-r0/build/src/github.com/influxdata/influxdb/cmd/influx/cli/cli.go:268 +0x1db
github.com/influxdata/influxdb/cmd/influx/cli.(*CommandLine).Run(0xc000451180, 0x0, 0x0)
/home/raoul/calaos-os/tmp-glibc/work/corei7-64-oe-linux/influx/1.7.9-r0/build/src/github.com/influxdata/influxdb/cmd/influx/cli/cli.go:245 +0x9c3
main.main()
/home/raoul/calaos-os/tmp-glibc/work/corei7-64-oe-linux/influx/1.7.9-r0/build/src/github.com/influxdata/influxdb/cmd/influx/main.go:127 +0xa3b
Quelque soit la commande lancée, ça crash en panic.
> CREATE DATABASE BozDB;
ERR: Post http://localhost:8086/query?chunked=true...E+BozDB%3B: dial tcp [::1]:8086: connect: connection refused
panic: runtime error: makeslice: cap out of range
Bon ok, en quick and durty, vraiment durty
En mode quick & durty:
[http]
# Determines whether HTTP endpoint is enabled.
enabled = true
# The bind address used by the HTTP service.
bind-address = ":8086"
# Determines whether user authentication is enabled over HTTP/HTTPS.
auth-enabled = false
# Enables authentication on the /ping, /metrics, and deprecated /status
ping-auth-enabled = false
sudo systemctl unmask influxdb
sudo systemctl enable influxdb
sudo systemctl start influxdb
Et paf:
root@intel-corei7-64:~# influx
Connected to http://localhost:8086 version unknown
InfluxDB shell version: unknown
> show databases;
ERR: no data received
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x7f2dd3caee0a]
goroutine 1 [running]:
regexp.(*Regexp).allMatches(0xc00042e1b0, 0xc000480240, 0xf, 0x0, 0x0, 0x0, 0x10, 0xc0006eb810)
/usr/lib/go/src/regexp/regexp.go:719 +0x12a
regexp.(*Regexp).FindAllStringSubmatchIndex(0xc00042e1b0, 0xc000480240, 0xf, 0xffffffffffffffff, 0x0, 0x0, 0x0)
/usr/lib/go/src/regexp/regexp.go:1163 +0xa6
github.com/influxdata/influxdb/vendor/github.com/influxdata/influxql.Sanitize(0xc000480240, 0xf, 0x4, 0xc000480200)
/home/raoul/calaos-os/tmp-glibc/work/corei7-64-oe-linux/influxdb/1.7.9-r0/build/src/github.com/influxdata/influxdb/vendor/github.com/influxdata/influxql/sanitize.go:35 +0x294
github.com/influxdata/influxdb/cmd/influx/cli.(*CommandLine).mainLoop(0xc000451180, 0x1a, 0x0)
/home/raoul/calaos-os/tmp-glibc/work/corei7-64-oe-linux/influx/1.7.9-r0/build/src/github.com/influxdata/influxdb/cmd/influx/cli/cli.go:268 +0x1db
github.com/influxdata/influxdb/cmd/influx/cli.(*CommandLine).Run(0xc000451180, 0x0, 0x0)
/home/raoul/calaos-os/tmp-glibc/work/corei7-64-oe-linux/influx/1.7.9-r0/build/src/github.com/influxdata/influxdb/cmd/influx/cli/cli.go:245 +0x9c3
main.main()
/home/raoul/calaos-os/tmp-glibc/work/corei7-64-oe-linux/influx/1.7.9-r0/build/src/github.com/influxdata/influxdb/cmd/influx/main.go:127 +0xa3b
Quelque soit la commande lancée, ça crash en panic.
> CREATE DATABASE BozDB;
ERR: Post http://localhost:8086/query?chunked=true...E+BozDB%3B: dial tcp [::1]:8086: connect: connection refused
panic: runtime error: makeslice: cap out of range
Bon ok, en quick and durty, vraiment durty
Calaos v1.1.20 sur Advantech x86 | Calaos Home écran tactile RS232 | Wago 750-841 | DMX RGB LED
Calaos-OS v2.0 sur Advantech x86 | Clé USB
Squeezebox | Raspberry & Scripts maison
Calaos-OS v2.0 sur Advantech x86 | Clé USB
Squeezebox | Raspberry & Scripts maison