error during mysql323-server installation, how to configure hostname command.

2003-01-22 Thread Mantas Kriauciunas
Hey!
when i try to 'make install' mysql323-server i get:
===   Generating temporary packing list
/usr/local/bin/mysql_install_db
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
*** Error code 1

Stop in /usr/ports/databases/mysql323-server.

--
how to fix this? if i do --force on mysql_install_db then make install doesn't work 
anymore, and i can't start mysql server because of few problems, i guess it doesn't 
install up to the end.

Thanks for reading my problem!
mNTKz

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: error during mysql323-server installation, how to configure hostname command.

2003-01-22 Thread JacobRhoden
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 
'hostname' The hostname is what you set in your /etc/rc.conf file and is set 
at boot time, you can also reset your hostname as superuser, using the 
'hostname' command.  Mysql is probably wanting your hostname to be a hostname 
that can be resolved to an ip address. 

One way to do this is to edit your /etc/hosts file and enter something like:
192.168.0.10mntkz

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

Regards,
Jacob
 
Jacob RhodenPhone: +61 3 8344 6102
ITS DivisionEmail: [EMAIL PROTECTED]
Melbourne University   Mobile: +61 403 788 386

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message