The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: hostname lookup.
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  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 hostname lookup.   new
zteknofreak 23-03-02 01:07 
 Re: hostname lookup.   new
Dan Langille 23-03-02 02:19 
 Re: hostname lookup.   new
zteknofreak 28-05-02 23:56 

 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum