• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    error on getting ping status

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 13 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      janjanson
      last edited by jkandasa

      Hi I did the installation as described in
      https://mycontroller.org/docs/installation/quick-installation/executable-binary/
      and
      https://mycontroller.org/docs/getting-started/install-influxdb/

      • the http://192.168.1.102:8086/ shows :
        404 page not found

      • my question:
        WTF? did someone follow the installation instructions?

      --- DETAILS ---

      • the influx installed, up and running, listening on 8088
      journalctl -xeu influxdb.service
      čen 18 01:00:38 fs systemd[1]: Started influxdb.service - InfluxDB is an open-source, distributed, time series database.
      ░░ Subject: A start job for unit influxdb.service has finished successfully
      ░░ Defined-By: systemd
      ░░ Support: http://www.ubuntu.com/support
      ░░ 
      ░░ A start job for unit influxdb.service has finished successfully.
      ░░ 
      ░░ The job identifier is 410858.
      čen 18 01:00:38 fs (influxd)[2674091]: influxdb.service: Referenced but unset environment variable evaluates to an empty string: INFLUXD_OPTS
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.516483Z lvl=info msg="InfluxDB starting" log_id=0xC1ocy0000 version=1.6.7~rc0 branch=unknown commit=unknown
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.516501Z lvl=info msg="Go runtime" log_id=0xC1ocy0000 version=go1.21.0 maxprocs=20
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.528847Z lvl=info msg="Using data dir" log_id=0xC1ocy0000 service=store path=/var/lib/influxdb/data
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.528873Z lvl=info msg="Compaction settings" log_id=0xC1ocy0000 service=store max_concurrent_compactions=10 throughput_bytes_per_second=50331648 throughput_burst_bytes=50331648
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.528882Z lvl=info msg="Open store (start)" log_id=0xC1ocy0000 service=store trace_id=0xC1od00001 op_name=tsdb_open op_event=start
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.530558Z lvl=info msg="Reading file" log_id=0xC1ocy0000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/1/_00001.wal size=810049
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557838Z lvl=info msg="Opened shard" log_id=0xC1ocy0000 service=store trace_id=0xC1od00001 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/1 duration=27.763ms
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557891Z lvl=info msg="Open store (end)" log_id=0xC1ocy0000 service=store trace_id=0xC1od00001 op_name=tsdb_open op_event=end op_elapsed=29.010ms
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557904Z lvl=info msg="Opened service" log_id=0xC1ocy0000 service=subscriber
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557910Z lvl=info msg="Starting monitor service" log_id=0xC1ocy0000 service=monitor
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557915Z lvl=info msg="Registered diagnostics client" log_id=0xC1ocy0000 service=monitor name=build
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557919Z lvl=info msg="Registered diagnostics client" log_id=0xC1ocy0000 service=monitor name=runtime
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557926Z lvl=info msg="Registered diagnostics client" log_id=0xC1ocy0000 service=monitor name=network
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557929Z lvl=info msg="Registered diagnostics client" log_id=0xC1ocy0000 service=monitor name=system
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557944Z lvl=info msg="Starting precreation service" log_id=0xC1ocy0000 service=shard-precreation check_interval=10m advance_period=30m
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557949Z lvl=info msg="Starting snapshot service" log_id=0xC1ocy0000 service=snapshot
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557954Z lvl=info msg="Starting continuous query service" log_id=0xC1ocy0000 service=continuous_querier
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557961Z lvl=info msg="Starting HTTP service" log_id=0xC1ocy0000 service=httpd authentication=false
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557966Z lvl=info msg="opened HTTP access log" log_id=0xC1ocy0000 service=httpd path=stderr
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557966Z lvl=info msg="Storing statistics" log_id=0xC1ocy0000 service=monitor db_instance=_internal db_rp=monitor interval=10s
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.558044Z lvl=info msg="Listening on HTTP" log_id=0xC1ocy0000 service=httpd addr=[::]:8086 https=false
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.558055Z lvl=info msg="Starting retention policy enforcement service" log_id=0xC1ocy0000 service=retention check_interval=30m
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.558092Z lvl=info msg="Listening for signals" log_id=0xC1ocy0000
      čen 18 01:04:46 fs influxd[2674091]: [httpd] ::1 - - [18/Jun/2025:01:04:46 +0200] "GET /ping HTTP/1.1" 204 0 "-" "InfluxDBShell/1.6.7~rc0" 76933d91-4bcf-11f0-8001-000000000000 22
      čen 18 01:04:54 fs influxd[2674091]: ts=2025-06-17T23:04:54.271110Z lvl=info msg="Executing query" log_id=0xC1ocy0000 service=query query="SHOW DATABASES"
      čen 18 01:04:54 fs influxd[2674091]: [httpd] ::1 - - [18/Jun/2025:01:04:54 +0200] "POST /query?chunked=true&db=&epoch=ns&q=show+databases HTTP/1.1" 200 121 "-" "InfluxDBShell/1.6.7~rc0" 7b04c993-4bcf-11f0-8002-000000000000 548
      
      • I created db :
      honza@fs:/opt/apps/mycontroller$ influx
      Connected to http://localhost:8086 version 1.6.7~rc0
      InfluxDB shell version: 1.6.7~rc0
      > show databases
      name: databases
      name
      ----
      _internal
      mycontroller
      > exit
      
      • I see error in executable/logs/mycontroller.log :
            2025-06-18T01:00:45.747+0200    info    helper/helper.go:29     welcome to MyController server :)
            2025-06-18T01:00:45.747+0200    info    helper/helper.go:33     version information     {"versionInfo": "{version:2.0.0, buildDate:2023-06-18T17:25:41+00:00, gitCommit:1e3e51e914ec115a2157630e081e95b29e8002fb, goVersion:go1.20.5, compiler:gc, platform:linux, arch:amd64, hostId:}", "loggerConfig": {"Mode":"record_all","Encoding":"console","Level":{"Core":"info","WebHandler":"info","Storage":"info","Metric":"warn"},"EnableStacktrace":false}}
            2025-06-18T01:00:45.747+0200    error   metric_influxdb influxdb_v2/client.go:214       error on getting ping status    {"error": "Get \"http://127.0.0.1:8080/ping\": dial tcp 127.0.0.1:8080: connect: connection refused"}
            2025-06-18T01:00:45.747+0200    error   helper/server.go:112    error on getting metric database        {"error": "Get \"http://127.0.0.1:8080/ping\": dial tcp 127.0.0.1:8080: connect: connection refused"}
            2025-06-18T01:00:45.747+0200    fatal   cmd/root.go:38  error on starting server        {"error": "Get \"http://127.0.0.1:8080/ping\": dial tcp 127.0.0.1:8080: connect: connection refused"}
      
      J 1 Reply Last reply Reply Quote 0
      • J Offline
        janjanson @janjanson
        last edited by

        sorry the stupid forum made some idiotic formating from my text... no intentions... plus I must wait to post this message

        jkandasaJ 1 Reply Last reply Reply Quote 0
        • jkandasaJ Offline
          jkandasa @janjanson
          last edited by jkandasa

          @janjanson welcome to MyController forum. the forum responsive for Markdown language.

          Looks like you have entered a wrong port number on the mycontroller.yaml file for the influx db. You are running influxdb on 8086 but on the configuration file it is set to 8080

          you should have something like this

          database:
            metric:
              disabled: false
              type: influxdb
              uri: http://127.0.0.1:8086 # must be updated with your host ip address
          

          BTW, MyController supports InfluxDB 1.8.x or above. MtyController have not tested with influx db 1.6.x

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          2

          Online

          606

          Users

          531

          Topics

          3.4k

          Posts
          Copyright © 2015-2025 MyController.org | Contributors | Localization