ENOTUNIQ
Linux / POSIXERRORNotableNetworkHIGH confidence

Name Not Unique on Network

Production Risk

Indicates hostname/address conflicts on the network.

What this means

ENOTUNIQ (errno 76) is returned when a network name or address is not unique, typically in RFS or distributed filesystem contexts.

Why it happens
  1. 1Duplicate hostname or address on a RFS/distributed network
How to reproduce

RFS operation with duplicate network name.

trigger — this will error
trigger — this will error
// errno = ENOTUNIQ when name not unique on network

expected output

Name not unique on network (ENOTUNIQ)

Fix

Ensure unique hostnames/addresses

WHEN When ENOTUNIQ occurs

Ensure unique hostnames/addresses
# Check for duplicate hostnames
nmap -sn 192.168.1.0/24 | grep $(hostname)
# Assign a unique hostname
hostnamectl set-hostname unique-hostname

Why this works

Network names must be unique for distributed filesystem operations.

Sources
Official documentation ↗

Linux Programmer Manual errno(3)

Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev

← All Linux / POSIX errors