CPNV-ES-MON1 / Zabbix

Zabbix
1 stars 0 forks source link

Sudo error: sudo: unable to resolve host Zabbix-Lin: Name or service not known #7

Closed mathiasgui closed 3 months ago

mathiasgui commented 3 months ago

an error occurs every time sudo is used image commands are still executed

mathiasgui commented 3 months ago

the problem is due to the host not recognising Zabbix-Lin, so you need to add it to the host file to redirect it to itself nano /etc/hosts

Add 127.0.0.1 Zabbix-Lin

image