Question

sudo: unable to resolve host(none)

Hi team,

I am trying to resolve all the possible ways it is not resolved.

i am getting thousands of emails like given below

1 Cron<admin@(none)>sudo/usr/loacl/vesta/bin/v-update-sys-rrd body of mail is sudo: unable to resolve host(none)

  1. Cron<admin@none)>sudo/usr/loacl/vesta/bin/v-backup-users body of mail is sudo: unable to resolve host(none)

  2. Cron<admin@(none)>sudo/usr/loacl/vesta/bin/v-update-queue-backup body of mail is sudo: unable to resolve host(none)

  3. Cron<admin@(none)>sudo/usr/loacl/vesta/bin/v-update-user-state=s body of mail is sudo: unable to resolve host(none)

5 Cron<admin@(none)>sudo/usr/loacl/vesta/bin/v-update-queue traffic body of mail is sudo: unable to resolve host(none)

please help me anybody to solve this problem.

Thanks krishna murthy

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Could you post the contents of /etc/hostname and /etc/hosts ?

Make sure the file /etc/hostname contains the name of your droplet while /etc/hosts looks something like:

127.0.0.1	localhost
127.0.1.1	your-droplets-name

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters