Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
so we can see what apt/dpkg are doing while things are hanging?
You can also check these logs to see if apt/dpkg had any errors: /var/log/dpkg.log and /var/log/apt/term.log
April: Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
kg2857 wrote: ↑Sun Mar 31, 2024 9:28 pm
Maybe kill the ncpa service processes and rerun the upgrade.
Unfortunately that is part of the 'infinite loop' I'm currently in. I kill all the related processes, but then uninstall/reinstall spins them back up and they never complete.
bbahn wrote: ↑Mon Apr 01, 2024 9:58 am
It looks like each of those processes are in interruptible sleep, which means they're waiting on an event to complete.
Can you check
so we can see what apt/dpkg are doing while things are hanging?
You can also check these logs to see if apt/dpkg had any errors: /var/log/dpkg.log and /var/log/apt/term.log
April: Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
ncpa
1 upgraded, 0 newly installed, 0 to remove and 46 not upgraded.
1 not fully installed or removed.
Need to get 0 B/26.4 MB of archives.
After this operation, 75.9 MB of additional disk space will be used.
Reading changelogs... Done
(Reading database ... 173923 files and directories currently installed.)
Preparing to unpack .../ncpa_3.0.2-1_amd64.deb ...
Try to stop services with systemctl
Try to stop services with service
Progress: [ 20%] [####################..................................................................................]
service --status-all
So, this command on its own hangs indefinitely. I'm now working on that, which will very likely resolve the issue (which is probably not related to ncpa at all with the exception of this command being run as part of the installation process).
April: Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.