Diagnostic code
ZBX-E0421
no data directory to keep the store in
- Kind
- error
- Blame
- environment
- Exit code
- 2 (125 in zbx run)
What it means
zbx keeps its store under $XDG_DATA_HOME/zbx/store, or ~/.local/share/zbx/store when that is not set. Neither variable names an absolute directory here, so there is nowhere to put the store.
Set HOME, or point XDG_DATA_HOME at a directory you can write to.
Offline
The same text, without a network:
zbx explain E0421