This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:general:troubleshooting [2019/01/24 17:04] – [Cant mount Windowsshares (CIFS) on Linux] lunetikk | linux:general:troubleshooting [2020/12/03 15:12] (current) – [Linux starts in emergency mode - faulty logical volume (xfs)] lunetikk | ||
---|---|---|---|
Line 94: | Line 94: | ||
Finally restart your system and pray... | Finally restart your system and pray... | ||
- | Have a look at this website for more xfs_repair related info\\ | ||
- | [[http:// | ||
\\ | \\ | ||
\\ | \\ | ||
Line 166: | Line 164: | ||
\\ | \\ | ||
- | ==== Cant mount Windowsshares (CIFS) on Linux ==== | + | ==== Bug: soft lockup in messages |
=== Description === | === Description === | ||
- | Mounting your share leads to the following error | + | You can find multiple "Bug: soft lockup" |
< | < | ||
- | mount error(9): Bad file descriptor | + | May 25 07:23:59 XXXXXXX kernel: [13445315.881356] BUG: soft lockup - CPU#16 stuck for 23s! [yyyyyyy: |
</ | </ | ||
=== Reason === | === Reason === | ||
- | Microsoft released | + | >A 'soft lockup' |
+ | -SUSE KB [[https:// | ||
- | The issue affect Windows 7 and Windows Server 2008 (R2). | + | === Fix === |
- | [[https:// | + | __Solution 1:__ |
- | [[https:// | + | Restart your system and/ or decrease your CPU load. |
- | === Fix === | + | __Solution 2:__ |
- | Microsoft released a fix to fix their update... m( | + | Increase the time (default 10) before soft lockups are fired. |
+ | |||
+ | <code bash >echo 20 > / | ||
+ | or | ||
+ | <code bash> | ||
+ | echo " | ||
+ | |||
+ | sysctl -p / | ||
+ | </ | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | |||
+ | ==== systemctl runs in timeout ==== | ||
+ | |||
+ | === Description === | ||
+ | |||
+ | In this example, installation of docker-ce with the following command doesnt work | ||
< | < | ||
- | This update resolves the issue where local users who are part of the local “Administrators“ group may not be able to remotely access shares on Windows 7 SP1 and Windows Server 2008 R2 machines after installing the January 8th, 2019 security updates. | + | curl -sSL https:// |
- | This does not affect domain accounts in the local "Administrators" | + | |
+ | # Executing docker install script, commit: f45d7c11389849ff46a6b4d94e0dd1ffebca32c1 | ||
+ | + sh -c apt-get update -qq >/ | ||
+ | + sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/ | ||
+ | + sh -c curl -fsSL " | ||
+ | + sh -c echo "deb [arch=amd64] https:// | ||
+ | + sh -c apt-get update -qq >/ | ||
+ | + [ -n ] | ||
+ | + sh -c apt-get install -y -qq --no-install-recommends docker-ce >/ | ||
+ | |||
+ | Broadcast message from systemd-journald@lunetikk (Wed 2019-10-23 00:22:12 CEST): | ||
+ | |||
+ | systemd[1]: Caught < | ||
+ | |||
+ | |||
+ | Broadcast message from systemd-journald@lunetikk (Wed 2019-10-23 00:22:12 CEST): | ||
+ | |||
+ | systemd[1]: Freezing execution. | ||
+ | |||
+ | E: Sub-process / | ||
</ | </ | ||
- | Download KB4487345 and install the fix: [[http://www.catalog.update.microsoft.com/Search.aspx?q=KB4487345|KB4487345]] | + | Rerun " |
+ | < | ||
+ | apt-get install docker-ce | ||
+ | Reading package lists... Done | ||
+ | Building dependency tree | ||
+ | Reading state information... Done | ||
+ | docker-ce is already the newest version (5:19.03.4~3-0~ubuntu-xenial). | ||
+ | After this operation, 0 B of additional disk space will be used. | ||
+ | Do you want to continue? | ||
+ | Setting up docker-ce (5:19.03.4~3-0~ubuntu-xenial) | ||
+ | Failed to execute operation: Connection timed out | ||
+ | Failed to execute operation: Connection timed out | ||
+ | Failed to retrieve unit state: Connection timed out | ||
+ | Failed to start docker.service: | ||
+ | See system logs and ' | ||
+ | invoke-rc.d: | ||
+ | Failed to get properties: Connection timed out | ||
+ | dpkg: error processing package docker-ce (--configure): | ||
+ | | ||
+ | Errors were encountered while processing: | ||
+ | | ||
+ | E: Sub-process / | ||
+ | </ | ||
+ | |||
+ | You cant reconfigure | ||
+ | < | ||
+ | dpkg-reconfigure docker-ce | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | Listing the units for " | ||
+ | < | ||
+ | systemctl status docke< | ||
+ | Failed to list unit files: Connection timed out | ||
+ | Failed to list units: Connection timed out | ||
+ | Failed to list unit files: Connection timed out | ||
+ | </ | ||
+ | |||
+ | === Reason === | ||
\\ | \\ | ||
+ | |||
+ | In my case, my disk was " | ||
+ | |||
+ | {{: | ||
+ | |||
+ | === Fix === | ||
+ | \\ | ||
+ | |||
+ | I was able to run " | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Reboot after this got me back onto my system and " | ||
+ | |||
\\ | \\ | ||