Sometimes happens when arrow keys stop working as expected in ubuntu, up arrow which usually stand for search back in history become printscreen and other arrows stop working at all, you can't move cursor, etc.
Fix is easy:
$ sudo udevadm trigger --subsystem-match=input --action=change
Source:
$ '/usr/lib64/nagios/plugins/custom_checks/nrpe_nsclient/nrpe_nsclient.sh' '-H' 'supermega.giga.host.com' -p 5665 -c check_ms_iis_application_pool --args 'DefaultAppPool'
Get-WmiObject : Invalid namespace "root\WebAdministration"
At C:\Program Files\NSClient++\scripts\check_ms_iis_application_pool.ps1:320
char:40
+ ... ProcessId = Get-WmiObject -NameSpace 'root\WebAdministration' -class ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-WmiObject], Management
Exception
+ FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.C
ommands.GetWmiObjectCommand
OK: Application Pool Started but no process is assigned yet "DefaultAppPool" with 0 Applications. {CPU: 0%}{Memory: 0MB} |'pool_cpu'=0%;;;0;100 'pool_memory'=0MB;;;0 'app_count'=0
Resolution:
You may not have IIS Management Scripts and Tools installed on server(s). You can install it from Server Manager -> Web Server Role -> Role Services -> Management Tools -> IIS Management Scripts and Tools. Make sure you have checked option "IIS Management Scripts and Tools" option
https://stackoverflow.com/questions/41451689/invalid-namespace-root-webadministration-on-iis-7-0
Long story short:
You need to set type field in the users table to 3:
update users set type=3 where userid=66;
in /var/log/dnf.log :
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/dnf/repo.py", line 573, in load
ret = self._repo.load()
File "/usr/lib64/python3.6/site-packages/libdnf/repo.py", line 397, in load
return _repo.Repo_load(self)
RuntimeError: Unknown option
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 67, in main
return _main(base, args, cli_class, option_parser_class)
File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 106, in _main
return cli_run(cli, base)
File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 122, in cli_run
cli.run()
File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 1038, in run
self._process_demands()
File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 741, in _process_demands
load_available_repos=self.demands.available_repos)
File "/usr/lib/python3.6/site-packages/dnf/base.py", line 405, in fill_sack
self._add_repo_to_sack(r)
File "/usr/lib/python3.6/site-packages/dnf/base.py", line 140, in _add_repo_to_sack
repo.load()
File "/usr/lib/python3.6/site-packages/dnf/repo.py", line 580, in load
raise dnf.exceptions.RepoError(str(e))
dnf.exceptions.RepoError: Unknown option
2024-02-27T17:10:37+0000 CRITICAL Error: Unknown option
Missing packages:
python3-librepo
librepo
Install/update:
wget https://dl.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/Packages/l/librepo-1.14.2-4.el8.x86_64.rpm
wget https://dl.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/Packages/p/python3-librepo-1.14.2-4.el8.x86_64.rpm
rpm -U python3-librepo-1.14.2-4.el8.x86_64.rpm librepo-1.14.2-4.el8.x86_64.rpm