cannot perform readlinkat() on the mount namespace file descriptor of the init process: Permission denied

Installed kernel 4.18 on my Ubuntu recently, since then snap packages broke with the following error. It has something to do with the AppArmor exception rule for ptrace for what I could gather.

The workaround for now is to upgrade your snap core to the beta channel.


Solved: mysql Fatal error: Can’t open and lock privilege tables: Table ‘’ doesn’t exist

Ran into a mysql issue at work today after an unplanned power outage took the server down. The error was “Fatal error: Can’t open and lock privilege tables: Table ‘’ doesn’t exist” everytime we tried to start mysql. Looked like the system tables were gone. The fix; We recreated the system tables in the mysql data directory…

Error: 25099. Unzipping Core Files Failed

Been getting this error every time I try to update my Java. Here’s the workaround. 1. Uninstall all existing Java 2. Deleted the Java folder. “C:\Program Files\Java\jre6” 3. Run the installer again. Should complete.

Protocol major versions differ: 1 vs. 2

Protocol major versions differ: 1 vs. 2.  The error above normally comes up when you try to ssh into a machine which has it’s allowed ssh protocol versions locked down to a single version, today it’s normally version 2. In the /etc/ssh/sshd_config file there’s a “Protocol” parameter which governs the allowed protocol version. It’s normally…

cannot allocate memory error

Had a weird memory error my Linux servers at work today. These were heavy duty machines running  heavy jobs throughout the day. /var/log/messages kept reporting that the kernel had no more memory to process new jobs. Most of the errors read ” cannot allocate memory “ Some digging around later we found the fix. Kernel…