Your machine must NOT be named localhost

Sep 21st, 2008 | Filed under gentoo

If you receive error similar to this one (in this case during mysql installation):

* ERROR: dev-db/mysql-5.0.60-r1 failed.
* Call stack:
*               ebuild.sh, line   49:  Called pkg_setup
*               ebuild.sh, line 1244:  Called mysql_pkg_setup
*            mysql.eclass, line  481:  Called die
* The specific snippet of code:
*      [[ "${HOSTNAME}" == "localhost" ]] && die “Your machine must NOT be named localhost”
*  The die message:
*   Your machine must NOT be named localhost

Make sure you have hostname variable set in /etc/conf.d/hostname file

Tags: ,

No comments yet.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word