NEMSLinux / nems-scripts

0 stars 0 forks source link

Livestatus isn't available after a fresh installation of NEMS #5

Open napalmpiri opened 2 months ago

napalmpiri commented 2 months ago

After a fresh installation of NEMS, the entries in the 'Reporting' menu don't work, as /usr/local/nagios/var/rw/live.sock isn't found. nagios.log shows:

[1713884703] Error: Could not load module '/usr/local/lib/mk-livestatus/livestatus.o' -> libboost_system.so.1.67.0: cannot open shared >object file: No such file or directory [1713884703] Error: Failed to load module '/usr/local/lib/mk-livestatus/livestatus.o'. [1713884703] Error: Module loading failed. Aborting.

installing libboost-system1.67.0:arm64 thru apt seems to fix the issue.

[1713884724] livestatus: fl_socket_path=[/usr/local/nagios/var/rw/live.sock], fl_mkeventd_socket_path=[/usr/local/nagios/var/rw/mkeventd/status] [1713884724] livestatus: Livestatus 1.4.0p37 by Mathias Kettner. Socket: '/usr/local/nagios/var/rw/live.sock'

NEMS Platform: Pine A64+ 2GB NEMS Version Running: 1.5.2 NEMS Version Available for Pine A64+ 2GB: 1.5.2

NEMSLinux commented 2 months ago

Oh, wow - that is an OLD version of NEMS Linux. Thanks for posting your fix. Should I port NEMS Linux 1.7 to that board? I was always disappointed that so few people use anything other than RPi, but if there's demand for it I'd LOVE to support Pine64 and its users. 1.7 is MILES better than 1.5.2 (check it out on a Raspberry Pi if you have one handy).

napalmpiri commented 2 months ago

I am not sure you should, given the fact that I recall the A64 is near EOL. Even A64 LTS will stop shipping in 2025 as far as I see at glance. The only compelling reason I see is that the board is cheap (42,40 CAD in Italy) comparing to the other board and may appeal some users wishing to try with little investment. Users shall move to a recent board. I was reporting only because may save some time to someone. I had no RPi laying around so I tried on my A64, but given the choice, I would stick to Rpi. Thanks! And have a good day.

Giuseppe

Il mar 23 apr 2024, 23:50 NEMS Linux @.***> ha scritto:

Oh, wow - that is an OLD version of NEMS Linux. Thanks for posting your fix. Should I port NEMS Linux 1.7 to that board? I was always disappointed that so few people use anything other than RPi, but if there's demand for it I'd LOVE to support Pine64 and its users. 1.7 is MILES better than 1.5.2 (check it out on a Raspberry Pi if you have one handy).

— Reply to this email directly, view it on GitHub https://github.com/NEMSLinux/nems-scripts/issues/5#issuecomment-2073524015, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJVU5UXPO3EVMGQ5YW63IDY63JTJAVCNFSM6AAAAABGVIUBGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZTGUZDIMBRGU . You are receiving this because you authored the thread.Message ID: @.***>