|
Author: zteknofreak
Date: 23-03-02 01:07
i too am having the hostname error:
/usr/local/bin/mysql_install_db
Sorry, the host 'zteknofreak' could not be looked up.
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
*** Error code 1
Stop in /usr/ports/databases/mysql323-server.
*** Error code 1
Stop in /usr/ports/databases/mysql323-server.
*** Error code 1
Stop in /usr/ports/databases/mysql323-server.
freebsd4.4
problem is that my resolv.conf file looks great. everything that i've found on the web says edit resolv.conf. not working for me. blech. tired. no more.
|
|
Reply To This Message
|
|
Author: Dan Langille
Date: 23-03-02 02:19
zteknofreak wrote:
>
> i too am having the hostname error:
> /usr/local/bin/mysql_install_db
first, why are you running that command? Oh, looking below, it looks like you are installing the port....
> Sorry, the host 'zteknofreak' could not be looked up.
> Please configure the 'hostname' command to return a correct
> hostname.
What does this command return? : hostname
> problem is that my resolv.conf file looks great. everything
> that i've found on the web says edit resolv.conf. not working
> for me. blech. tired. no more.
Don't worry about /etc/resolv.conf until we know what hostname returns. Perhaps adding an entry in /etc/hosts is what you need to do. Put in the value returned by hostname and the IP address.
|
|
Reply To This Message
|
|
Author: zteknofreak
Date: 28-05-02 23:56
<snip>
Don't worry about /etc/resolv.conf until we know what hostname returns. Perhaps adding an entry in /etc/hosts is what you need to do. Put in the value returned by hostname and the IP address.
</snip>
forgot to update, sorry 'bout that. working with friend, this is exactly what we did as a workaround. the problem is that in the port it does a hostname -s, which strips everything after the first '.' and then tries to do a hostname lookup on it, and promptly fails.
|
|
Reply To This Message
|
|