Posts tagged "linux"
cryptsetup close CRYPT Fails With "Device CRYPT is still in use."
Problem: after unmounting a LuKS crypted device, "cryptsetup close" fails with "Deivce is still in use", even though it is not mounted anymore. ...
Pip Python TLS/SSL issues?
Problem: When installing any package with pip in a venv python environment you get this error: WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. We got this error on a Linux Debian machine, that had the latest Debian Bookworm running, but was an older ...
Reactivate old SSH host key types
Problem: ssh rejects connecting to old servers with this error: # ssh SRV Unable to negotiate with SRV port 22: no matching host key type found. Their offer: ssh-rsa or Unable to negotiate with SRV port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-...
How to Check If an RSA Cert Matches an RSA Key
Problem: you find a key and a cert file on your server, and want to check if the cert matches the key. Solution: Check the modulo (n=p*q) of both key and cert to see if they are equal. $ openssl rsa -modulus -noout -in yourrsa.key Modulus=C8BEE8B687CC... $ openssl x509 -modulus -noout -in yourrsa.crt Modulus=C8BEE8B...
DMAR Kernel Log Errors and RAID Controller Crash
Problem: After upgrading an old HP ProLiant DL320 G6 Server to Linux kernel 6.1 (Devuan 5, Debian12) the system crashes during reboot. You will see the following kernel output: DMAR: DRHD: handling fault status reg 2 DMAR: [DMA Read] Request device [00:1e.0] PASID ffffffff fault addr df63e000 [fault reas...
Interface down on Cisco Nexus switch with "dcxNoACKi"
Problem: After an update of a server to Devuan4/Debian11the switch shuts down the interfaces to the server with status "dcxNoACKi" 48 minutes after the reboot. Discussion: the switch is a Cisco Nexus 5000 switch. It implements "Data Center Bridging Capability Exchange (DCBX)". The server is a Dell server with X710 C...
Windows / Linux Timezone Settings
Problem: if you have Windows and Linux on the same computer, windows shows the wrong time shifted by your timezone (dst) after rebooting from Linux. Discussion: Linux stores UTC in the computers hardware clock usually. This makes multi user, multi timezone, and dst handling easy, because it knows hardware clock is a...
Devuan Update Fails with Signature Invalid
Problem: (5. September 2022) when fetching Devuan updates you get the following error: Err http://deb.devuan.org/merged beowulf InRelease The following signatures were invalid: EXPKEYSIG BB23C00C61FC752C Devuan Repository (Amprolla3 on Nemesis) repository@devuan.org Discussion: The devuan key to sign the repository ...
Smartd Reports "Reallocated_Sector_Ct" erroneously
Problem: In syslog you find a line like this: smartd[1514]: Device: /dev/sda [SAT], Failed SMART usage Attribute: 5 Reallocated_Sector_Ct. But when you check with "smartctl -a" you find a reallocated sector count of zero: # smartctl -a /dev/sda ... ID# ATTRIBUTE_NAME FLAG TYPE UPDATED WHEN_FAILED RAW_VALUE 5...
Devuan4/Debian11 usability annoyances
Problem: When pasting commandos to the shell, the shell no longer executes the command but shows the pasted text highlighted and shows the line feed but does not process it. Discussion: Devuan4 and Debian11 upgraded the readline library with a new default "feature" that should prevent noobs from accidentally pasting...