Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

www.webdp.net, Event 9 IIS log failed to write entry, wwwxxx jeffs, Catastrophic failure Unexpected method call sequence. 0x8000ffff (-2147418113)., ksh lock a file, [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_DBC failed, sed: -e expression #1, char 1: unterminated address regex, procmail + change subject, w2ksp4.exe download, /proc/kallsyms format

Links

XODOX
Impressum

#1: Suggestion : Better error message for hostname resolution error during MySQL installation

Posted on 2010-08-22 11:10:56 by Jaikiran Pai

--0-625843300-1282468256=:83966
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hello everyone,

Recently, while installing MySQL, I ran into an error[1] which complained a=
bout the hostname:
-----------
Neither host 'blahblah' nor 'localhost' could be looked up with
/usr/bin/resolveip
Please configure the 'hostname' command to return a correct
hostname.
If you want to solve this at a later stage, restart this script
with the --force option
-----------

I looked a bit into the scripts/mysql_install_db script and was able to fig=
ure out what the "real" issue was (as explained in that blog[1]). In short,=
the /usr/bin/resolveip is a non-existent command (due to incorrect path).=
=20

So, in such cases, would it be possible to print out a better error message=
which would tell the users what the real problem is? Something like:

"/usr/bin/resolveip" command not found.=20
Make sure basedir (and other variables) point to the right location.=20
Tip: resolveip can be located in the bin folder of MySQL download location.

[1] http://tinyurl.com/35l5lvg

regards,
-Jaikiran

--0-625843300-1282468256=:83966--

Report this message