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:23] – lunetikk | linux:general:troubleshooting [2019/01/24 17:04] – [Cant mount Windowsshares (CIFS) on Linux] 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 91: | Line 130: | ||
mysqld would have been started with the following arguments: | mysqld would have been started with the following arguments: | ||
- | --user=mysql --pid-file=/ | + | --user=mysql --pid-file=/ |
</ | </ | ||
- | Compare the defaults for " | + | Compare the defaults for " |
< | < | ||
Line 124: | Line 163: | ||
The connection should work now. | The connection should work now. | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | ==== Cant mount Windowsshares (CIFS) on Linux ==== | ||
+ | |||
+ | === Description === | ||
+ | |||
+ | Mounting your share leads to the following error | ||
+ | |||
+ | < | ||
+ | mount error(9): Bad file descriptor | ||
+ | </ | ||
+ | |||
+ | === Reason === | ||
+ | |||
+ | Microsoft released an Update (January 8, 2019 (Monthly Rollup)) which broke smb2.0 and 2.1 connections.\\ | ||
+ | |||
+ | The issue affect Windows 7 and Windows Server 2008 (R2). | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | === Fix === | ||
+ | |||
+ | Microsoft released a fix to fix their update... m( | ||
+ | < | ||
+ | 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. | ||
+ | This does not affect domain accounts in the local " | ||
+ | </ | ||
+ | |||
+ | Download KB4487345 and install the fix: [[http:// | ||
\\ | \\ | ||
\\ | \\ | ||