sudo: unable to resolve host

While I was trying to install Mcrypt PHP I got the following error sudo: unable to resolve host.

root@scw-db0acc:/home/webroot/my# sudo php5enmod mcrypt
sudo: unable to resolve host scw-XXXX

I had to edit /etc/hosts and add the following entry to it: scw-XXXX



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.