Error map

sudo: >>> /etc/sudoers: syntax error near line 25 <<< sudo: parse error in /etc/sudoers near line 25 sudo: no valid sudoers sources found, quitting

Linux · layer 6, Platform & cloud

Open the full error page →

Centre: this error. First ring: errors it is linked with (8). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

sudo: >>> /etc/sudoers: syntax error near line 25 <<< — sudo: parse error in /etc/sudoers near line 25 sudo: no valid sudoers sources found, quitting (Linux)sudo: >>> /…unknown instruction — Dockerfile parse error line N: unknown instruction (Docker)unknown instructionsudo: unable to resolve host — sudo: unable to resolve host <hostname>: Name or service not known (Linux)sudo: unable to res…sudoers — user is not in the sudoers file. This incident will be reported. (Linux)sudoerssudo: 3 incorrect password attempts / pam_faillock: account locked — sudo: 3 incorrect password attempts (Linux)sudo: 3 incorrect p…sudo with Touch ID stops working after macOS update — sudo: a password is required (pam_tid.so removed) (macOS)sudo with Touch ID …syntax error: unexpected end of file (bash script) — script.sh: line 25: syntax error: unexpected end of file (Linux)syntax error: unexp…fatal: bad config line 5 in file .git/config — fatal: bad config line 12 in file /home/user/.gitconfig (Git)fatal: bad config l…crontab: "(none)":N: bad minute / errors in crontab file, can't install — "/tmp/crontab.abc":3: bad minute errors in crontab file, can't install. Do you want to retry the same edit? (Linux)crontab: "(none)":N…Parse error — PHP Parse error: syntax error, unexpected … (PHP)Parse errorIndentationError — IndentationError: unexpected indent / expected an indented block (Python)IndentationErrorELIFECYCLE — npm ERR! code ELIFECYCLE / Command failed with exit code 1 (npm)ELIFECYCLEENOTFOUND — Error: getaddrinfo ENOTFOUND host / Name or service not known (API)ENOTFOUNDapi_version_invalid — API Error: Invalid or unsupported API version (API)api_version_invalidfeature_not_enabled — API Error: Feature not enabled for this account (feature_not_enabled / not available on your plan) (API)feature_not_enabledEACCES — Linux: Permission denied (Linux)EACCESdpkg lock — E: Could not get lock /var/lib/dpkg/lock-frontend — is another process using it? (Linux)dpkg lockAccessDeniedException — java.nio.file.AccessDeniedException: /path (Java)AccessDeniedExcepti…Authentication token manipulation error — passwd: Authentication token manipulation error (Linux)Authentication toke…error: insufficient permission for adding an object to repository database — error: insufficient permission for adding an object to repository database .git/objects (Git)error: insufficient…E: Failed to fetch ... Hash Sum mismatch — E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/main/binary-amd64/Packages.gz Hash Sum mismatch Hashes of expected file: SHA256:... (Linux)E: Failed to fetch …is damaged and can’t be opened — macOS: “App” is damaged and can’t be opened. You should move it to the Trash. (macOS)is damaged and can’…Operation not permitted (macOS privacy) — macOS: Operation not permitted — Terminal/app lacks Full Disk Access (TCC privacy protection) (macOS)Operation not permi…rm/mv: Operation not permitted (System Integrity Protection) — macOS: rm: /usr/bin/python: Operation not permitted — even with sudo (macOS)rm/mv: Operation no…nginx: [emerg] unexpected end of file, expecting ";" or "}" — Nginx: nginx: [emerg] unexpected end of file, expecting ";" or "}" in /etc/nginx/conf.d/site.conf:42 (Nginx / Apache)nginx: [emerg] unex…nginx: directive is not terminated by ";" — Nginx: nginx: [emerg] directive "proxy_pass" is not terminated by ";" in /etc/nginx/sites-enabled/app:15 (Nginx / Apache)nginx: directive is…AH00526: Syntax error on line of apache config — Apache: AH00526: Syntax error on line 12 of /etc/apache2/sites-enabled/site.conf: Invalid command 'Foo', perhaps misspelled or defined by a module not included in the server configuration (Nginx / Apache)AH00526: Syntax err…not a git repository — fatal: not a git repository (or any of the parent directories): .git (Git)not a git repositoryauthor identity unknown — Author identity unknown *** Please tell me who you are. (Git)author identity unk…error: There was a problem with the editor 'vi' — error: There was a problem with the editor 'vi'. Please supply the message using either -m or -F option. (Git)error: There was a …lock — Certbot: Another instance of Certbot is already running (SSL / TLS)lockfatal: bad boolean config value 'x' for 'core.autocrlf' — fatal: bad boolean config value 'yes please' for 'core.filemode' (Git)fatal: bad boolean …cron job fails: Operation not permitted (needs Full Disk Access for cron) — /usr/sbin/cron: Operation not permitted (macOS)cron job fails: Ope…

Directly related (8)

Two steps away (24)

Parse errorPHP

PHP Parse error: syntax error, unexpected …

PHP can’t parse the file because of a syntax mistake — the real error is often on the line before the one reported.

IndentationErrorPython

IndentationError: unexpected indent / expected an indented block

Python’s block structure is broken — inconsistent indentation or mixed tabs and spaces.

ELIFECYCLEnpm

npm ERR! code ELIFECYCLE / Command failed with exit code 1

An npm script (build, start, test, postinstall) exited with an error. ELIFECYCLE is only the wrapper — the real error is printed…

ENOTFOUNDAPI

Error: getaddrinfo ENOTFOUND host / Name or service not known

DNS lookup for the hostname failed — the name is wrong, doesn’t exist, or this machine can’t resolve it.

api_version_invalidAPI

API Error: Invalid or unsupported API version

The API version you requested — in the URL, a header or the SDK config — doesn’t exist or has been retired.

feature_not_enabledAPI

API Error: Feature not enabled for this account (feature_not_enabled / not available on your plan)

The endpoint or option exists, but your account, plan, region or project hasn’t been granted access to it.

EACCESLinux

Linux: Permission denied

Your user (or the service user) lacks read/write/execute permission on a file, directory or one of its parents.

dpkg lockLinux

E: Could not get lock /var/lib/dpkg/lock-frontend — is another process using it?

apt can’t run because another package operation (often automatic updates) holds the dpkg lock.

AccessDeniedExceptionJava

java.nio.file.AccessDeniedException: /path

The OS denied a file operation to the Java process.

Authentication token manipulation errorLinux

passwd: Authentication token manipulation error

passwd couldn’t update the password — the root filesystem is read-only, /etc/shadow has wrong permissions/attributes, or a PAM ru…

error: insufficient permission for adding an object to repository databaseGit

error: insufficient permission for adding an object to repository database .git/objects

Some object files are owned by another user (often root).

E: Failed to fetch ... Hash Sum mismatchLinux

E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/main/binary-amd64/Packages.gz Hash Sum mismatch Hashes of expected file: SHA256:...

The downloaded index doesn't match its checksum.

is damaged and can’t be openedmacOS

macOS: “App” is damaged and can’t be opened. You should move it to the Trash.

Gatekeeper blocked an app that isn’t properly signed/notarized or was modified after download (quarantine attribute).

Operation not permitted (macOS privacy)macOS

macOS: Operation not permitted — Terminal/app lacks Full Disk Access (TCC privacy protection)

macOS privacy protection (TCC) blocked access to protected folders (Desktop, Documents, Downloads, Mail, Photos, external volumes…

rm/mv: Operation not permitted (System Integrity Protection)macOS

macOS: rm: /usr/bin/python: Operation not permitted — even with sudo

System Integrity Protection blocks changes to protected system locations, even for root.

nginx: [emerg] unexpected end of file, expecting ";" or "}"Nginx / Apache

Nginx: nginx: [emerg] unexpected end of file, expecting ";" or "}" in /etc/nginx/conf.d/site.conf:42

The config ends while a block or directive is still open — a missing `}` or `;`.

nginx: directive is not terminated by ";"Nginx / Apache

Nginx: nginx: [emerg] directive "proxy_pass" is not terminated by ";" in /etc/nginx/sites-enabled/app:15

A directive's arguments run into the next line because the `;` is missing (or a quote is unbalanced).

AH00526: Syntax error on line of apache configNginx / Apache

Apache: AH00526: Syntax error on line 12 of /etc/apache2/sites-enabled/site.conf: Invalid command 'Foo', perhaps misspelled or defined by a module not included in the server configuration

Apache's config has a syntax problem or a directive from a module that isn't loaded.

not a git repositoryGit

fatal: not a git repository (or any of the parent directories): .git

You ran a Git command outside a Git working tree.

author identity unknownGit

Author identity unknown *** Please tell me who you are.

Git doesn’t know your name and email for commits.

error: There was a problem with the editor 'vi'Git

error: There was a problem with the editor 'vi'. Please supply the message using either -m or -F option.

Git couldn't open your configured editor to collect a message or todo list.

lockSSL / TLS

Certbot: Another instance of Certbot is already running

A previous certbot process (or cron/systemd timer) holds the lock file, so a new run refuses to start.

fatal: bad boolean config value 'x' for 'core.autocrlf'Git

fatal: bad boolean config value 'yes please' for 'core.filemode'

A boolean Git setting has an invalid value.

cron job fails: Operation not permitted (needs Full Disk Access for cron)macOS

/usr/sbin/cron: Operation not permitted

cron lacks Full Disk Access.