Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2003 11:36:22 +1100
From:      JacobRhoden <jrhoden@unimelb.edu.au>
To:        Mantas Kriauciunas <mntkz@mntkz.net>, freebsd-questions@freebsd.org
Subject:   Re: error during mysql323-server installation, how to configure hostname command.
Message-ID:  <200301231136.22872.jrhoden@unimelb.edu.au>
In-Reply-To: <200301230022.h0N0MIEc028217@mntkz.net>
References:  <200301230022.h0N0MIEc028217@mntkz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 23 January 2003 11:22, Mantas Kriauciunas wrote:
> Sorry, the host 'mntkz' 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

The other option would be to do what it says, that is, configure your=20
'hostname' The hostname is what you set in your /etc/rc.conf file and is =
set=20
at boot time, you can also reset your hostname as superuser, using the=20
'hostname' command.  Mysql is probably wanting your hostname to be a host=
name=20
that can be resolved to an ip address.=20

One way to do this is to edit your /etc/hosts file and enter something li=
ke:
192.168.0.10=09mntkz

The reason I suggest that ip address is because 192.168.*.* is reserved f=
or=20
people with computers who dont have a _real_ ip address and hostname.

Regards,
Jacob
=20
Jacob Rhoden            Phone: +61 3 8344 6102
ITS Division            Email: jrhoden@unimelb.edu.au
Melbourne University   Mobile: +61 403 788 386

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301231136.22872.jrhoden>