Grafana not responding anymore

Discussion in 'Other technical not related to ADSBx Feeding' started by zingo, Feb 25, 2021.

  1. zingo

    zingo New Member

    Hello all,
    after some six months since last reinstall the Grafana dashboard has stopped responding.
    As far as I know I haven't changed anything since it worked.

    The 1090 map works fine, 8 hours map works fine as well as graphs1090, but the Grafana Dashboard, ie (ip):3000 ,is not responding at all.

    Restarting the Pi doesn't solve the problem.

    Checking with netstat shows that the port is not opened by any program.

    I tried restarting the Grafana-server by "sudo /etc/init.d/grafana-server start" and it tries to restart the server five times then aborts.

    This is in the syslog:

    systemd[1]: Started Grafana instance.
    grafana-server[9845]: SIGILL: illegal instruction
    grafana-server[9845]: PC=0x74e54 m=2 sigcode=1
    grafana-server[9845]: goroutine 0 [idle]:
    grafana-server[9845]: runtime.timeSleepUntil(0x99a8544d, 0x2451, 0x0)
    grafana-server[9845]: #011/usr/local/go/src/runtime/time.go:958
    grafana-server[9845]: runtime.sysmon()
    grafana-server[9845]: #011/usr/local/go/src/runtime/proc.go:4481 +0xb0
    grafana-server[9845]: runtime.mstart1()
    grafana-server[9845]: #011/usr/local/go/src/runtime/proc.go:1097 +0xa0
    grafana-server[9845]: runtime.mstart()
    grafana-server[9845]: #011/usr/local/go/src/runtime/proc.go:1062 +0x60
    grafana-server[9845]: goroutine 1 [runnable, locked to thread]:
    grafana-server[9845]: runtime.chanrecv(0x4076000, 0x0, 0x4000001, 0x34ee8)
    grafana-server[9845]: #011/usr/local/go/src/runtime/chan.go:422 +0x6f8
    grafana-server[9845]: runtime.chanrecv1(0x4076000, 0x0)
    grafana-server[9845]: #011/usr/local/go/src/runtime/chan.go:407 +0x20
    grafana-server[9845]: runtime.gcenable()
    grafana-server[9845]: #011/usr/local/go/src/runtime/mgc.go:216 +0x70
    grafana-server[9845]: runtime.main()
    grafana-server[9845]: #011/usr/local/go/src/runtime/proc.go:166 +0x114
    grafana-server[9845]: runtime.goexit()
    grafana-server[9845]: #011/usr/local/go/src/runtime/asm_arm.s:857 +0x4
    grafana-server[9845]: trap 0x6
    grafana-server[9845]: error 0x0
    grafana-server[9845]: oldmask 0x0
    grafana-server[9845]: r0 0x2451
    grafana-server[9845]: r1 0x99a8544d
    grafana-server[9845]: r2 0x34fb7c4d
    grafana-server[9845]: r3 0x3b9aca00
    grafana-server[9845]: r4 0x0
    grafana-server[9845]: r5 0x40541e0
    grafana-server[9845]: r6 0x1
    grafana-server[9845]: r7 0xa2
    grafana-server[9845]: r8 0x7
    grafana-server[9845]: r9 0x66b8a450
    grafana-server[9845]: r10 0x4000540
    grafana-server[9845]: fp 0x25c413c
    grafana-server[9845]: ip 0x1
    grafana-server[9845]: sp 0x66b89da0
    grafana-server[9845]: lr 0x5fe20
    grafana-server[9845]: pc 0x74e54
    grafana-server[9845]: cpsr 0x90000010
    grafana-server[9845]: fault 0x0
    systemd[1]: grafana-server.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
    systemd[1]: grafana-server.service: Failed with result 'exit-code'.
    systemd[1]: grafana-server.service: Service RestartSec=100ms expired, scheduling restart.
    systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 1.
    systemd[1]: Stopped Grafana instance.

    I am not sure quite how to interpret the error messages, e.g., the part /usr/local/go/src/runtime, since there is no such catalogue here. The "illegal instruction" and "invalid argument" seems not positive...

    Could it be that some file has been damaged or such? Can the Grafana dashboard be updated/repaired without breaking something else? I can live without the dashboard if the rest is working since I am not too exited climbing the roof right now to replace the SD-card ;-)

    Any ideas is most appreciated.

    /Christer
     
  2. wiedehopf

    wiedehopf Administrator Staff Member

    grafana isn't necessary.

    You can disable prometheus as well then.

    sudo systemctl disable --now prometheus
    sudo systemctl disable --now grafana-server
     
  3. wiedehopf

    wiedehopf Administrator Staff Member

  4. zingo

    zingo New Member

    Ok, thanks for quick feedback.
    As I wrote, I can live without Grafana as long as the rest works but it would be great to have it working again ;-)
    After all there are some interesting figures in the stats.
     
  5. Johnnytam

    Johnnytam New Member

    It used to work, but not anymore. It seems to find everything else fine, but it wont connect to the Internet when I hook it up to my Sony Blu-Ray player. Any ideas?
     
  6. wiedehopf

    wiedehopf Administrator Staff Member

    Can you elaborate what your setup is?