This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
linux:general:troubleshooting [2018/08/28 17:27] – [ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'] lunetikk | linux:general:troubleshooting [2019/10/07 18:05] – lunetikk | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
+ | |||
+ | ==== Removing old kernels leads to broken symlinks ==== | ||
+ | |||
+ | === Description === | ||
+ | |||
+ | apt-get autoremove leads to a broken symlink which requires a reload of grub | ||
+ | |||
+ | < | ||
+ | apt-get autoremove | ||
+ | ... | ||
+ | The link / | ||
+ | Removing symbolic link vmlinuz.old | ||
+ | you may need to re-run your boot loader[grub] | ||
+ | The link / | ||
+ | Removing symbolic link initrd.img.old | ||
+ | you may need to re-run your boot loader[grub] | ||
+ | </ | ||
+ | |||
+ | === Reason === | ||
+ | |||
+ | Broken symlinks | ||
+ | |||
+ | === Fix === | ||
+ | |||
+ | Run " | ||
+ | < | ||
+ | update-grub | ||
+ | | ||
+ | Found linux image: / | ||
+ | Found initrd image: / | ||
+ | Found linux image: / | ||
+ | Found initrd image: / | ||
+ | Found memtest86+ image: / | ||
+ | Found memtest86+ image: / | ||
+ | done | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | \\ | ||
==== Linux starts in emergency mode - faulty logical volume (xfs) ==== | ==== Linux starts in emergency mode - faulty logical volume (xfs) ==== | ||
Line 94: | Line 133: | ||
</ | </ | ||
- | Compare the defaults for " | + | Compare the defaults for " |
< | < | ||
Line 124: | Line 163: | ||
The connection should work now. | The connection should work now. | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | ==== Bug: soft lockup in messages ==== | ||
+ | |||
+ | === Description === | ||
+ | |||
+ | You can find multiple "Bug: soft lockup" | ||
+ | |||
+ | < | ||
+ | May 25 07:23:59 XXXXXXX kernel: [13445315.881356] BUG: soft lockup - CPU#16 stuck for 23s! [yyyyyyy: | ||
+ | </ | ||
+ | |||
+ | === Reason === | ||
+ | |||
+ | >A 'soft lockup' | ||
+ | -SUSE KB [[https:// | ||
+ | |||
+ | === Fix === | ||
+ | |||
+ | __Solution 1:__ | ||
+ | |||
+ | Restart your system and/ or decrease your CPU load. | ||
+ | |||
+ | __Solution 2:__ | ||
+ | |||
+ | Increase the time (default 10) before soft lockups are fired. | ||
+ | |||
+ | <code shell ->echo 20 > / | ||
+ | or | ||
+ | <code shell -> | ||
+ | echo " | ||
+ | |||
+ | sysctl -p / | ||
+ | </ | ||
\\ | \\ | ||
\\ | \\ | ||