🐧 Linux Errors

35 error notes

linuxintermediate

Fix "Operation not permitted" When Root Can't Delete or Modify Files (chattr Immutable Flag)

rm: cannot remove 'config.conf': Operation not permitted
linuxchattrrootpermission
linuxintermediate

Fixing the 'GLIBC_2.34 Not Found' Error: 4 Practical Solutions

/lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.34' not found
glibclinuxdevopssysadmin
linuxbeginner

Fixing 'umount: target is busy' Error on Linux

umount: /mnt/data: target is busy.
linuxumountfuserlsof
linuxintermediate

Fixing 'No route to host' Errors: A Linux Network Troubleshooting Guide

ssh: connect to host 192.168.1.100 port 22: No route to host
linuxnetworkingsshsysadmin
linuxintermediate

Fixing 'kernel: NMI watchdog: BUG: soft lockup' on Linux Servers

kernel: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s!
linuxkernelwatchdogsoft-lockup
linuxbeginner

Fixing the 'upper limit on inotify watches reached' Error on Linux

Failed to watch /path/to/dir; upper limit on inotify watches reached!
inotifysysctllinux-kerneldevops
linuxintermediate

How to Fix 'Disk quota exceeded' Errors on Linux

Disk quota exceeded
quotadiskstorageedquota
linuxintermediate

Fixing the 'bash: fork: Cannot allocate memory' Error on Linux

bash: fork: Cannot allocate memory
linuxbashsysadminulimit
linuxbeginner

Fix Cron Job Not Running: "no MTA installed, discarding output" on Linux

no MTA installed, discarding output
croncrontabschedulerdaemon
linuxbeginner

Fix 'WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!' SSH Error on Linux

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
sshknown_hostshost-keysecurity
linuxbeginner

Fix 'ln: failed to create symbolic link: File exists' on Linux

ln: failed to create symbolic link '/usr/local/bin/node': File exists
lnsymlinksymbolic-linkfilesystem
linuxintermediate

Fix 'bash: fork: retry: Resource temporarily unavailable' β€” Max User Processes Limit on Linux

bash: fork: retry: Resource temporarily unavailable
ulimitforkprocesslimits
linuxintermediate

Fix 'gpg: keyserver receive failed: General error' When Adding GPG Key on Ubuntu/Debian

gpg: keyserver receive failed: General error
gpgaptkeyserverubuntu
linuxbeginner

Fixing the 'sudo: unable to resolve host' Warning on Linux

sudo: unable to resolve host myhostname: Name or service not known
sudohostnamelinux-adminnetworking
linuxbeginner

Fixing 'E: Package has no installation candidate' on Ubuntu (python3-pip)

E: Package 'python3-pip' has no installation candidate
aptubuntupythonlinux-admin
linuxbeginner

Fixing Elasticsearch Error: vm.max_map_count [65530] is too low

max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
elasticsearchlinuxdockerdevops
linuxintermediate

Fixing 'error while loading shared libraries': A Guide to Missing .so Files

error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
linuxopensslshared-librariesubuntu
linuxintermediate

Fix 'mount: wrong fs type, bad option, bad superblock' on Linux

mount: /mnt/data: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error
mountfilesystemdiskfsck
linuxbeginner

Fix SSH "Connection refused" Error: ssh connect to host Connection refused

ssh: connect to host: Connection refused
sshsshdfirewall
linuxbeginner

Fixing the 'locale: Cannot set LC_ALL to default locale' Error on Linux

locale: Cannot set LC_ALL to default locale: No such file or directory
linuxsshubuntudocker
linuxintermediate

Stop the Linux OOM Killer from Crashing Your Apps

Out of memory: Kill process 4821 (java) score 512 or sacrifice child Killed process 4821 (java) total-vm:2048000kB, anon-rss:1024000kB
oommemorykerneloom-killer
linuxintermediate

Fix 'Failed to connect to bus: No such file or directory' on Linux

Failed to connect to bus: No such file or directory
dbussystemdenvironmentgui
linuxbeginner

How to Fix the 'User is not in the sudoers file' Error on Linux

User is not in the sudoers file. This incident will be reported.
linuxsudosysadminubuntu
linuxbeginner

Fixing 'bash: command not found': A Step-by-Step Guide for Linux & macOS

bash: <command>: command not found
linuxbashterminalsysadmin
linuxintermediate

Solving the 'Too Many Open Files' Error on Linux

Too many open files
linux-adminulimitdevopsperformance
linuxintermediate

Fixing 'Too Many Authentication Failures' When Connecting SSH to a Server

Received disconnect from 192.168.1.100 port 22:2: Too many authentication failures Authentication failed.
sshauthenticationopensshlinux
linuxintermediate

Fix 'dpkg: error processing package' When Installing or Updating Software on Ubuntu/Debian

dpkg: error processing package nginx (--configure) dpkg: dependency problems prevent configuration of nginx
dpkgaptpackage-managerubuntu
linuxbeginner

Fix '/bin/bash^M: bad interpreter: No such file or directory' β€” CRLF Line Endings in Bash Scripts

/bin/bash^M: bad interpreter: No such file or directory
bashcrlfline-endingdos2unix
linuxbeginner

Fix 'bash: ./app: cannot execute binary file: Exec format error' on Linux

bash: ./app: cannot execute binary file: Exec format error
bashbinaryarchitecturearm
linuxintermediate

Fix 'Temporary failure in name resolution' on Linux

Temporary failure in name resolution
linuxnetworkdnsname resolution
linuxintermediate

Fix 'Read-only file system' Error on Linux (touch: cannot touch: Read-only file system)

touch: cannot touch '/var/log/app.log': Read-only file system
filesystemmountfstabread-only
linuxintermediate

Fix 'Job for service.service failed because the control process exited with error code' on Linux

Job for <service_name>.service failed because the control process exited with error code.
linuxsystemdservicetroubleshooting
linuxbeginner

Fix "No space left on device" Error on Linux

No space left on device
diskdfducleanup
linuxbeginner

Fixing 'bash: ./script.sh: Permission denied' When Running Bash Scripts

bash: ./script.sh: Permission denied
bashchmodpermissionlinux
linuxbeginner

Fixing 'E: Could not get lock /var/lib/dpkg/lock-frontend' on Ubuntu/Debian

E: Could not get lock /var/lib/dpkg/lock-frontend
aptdpkgubuntu