Page 1 of 1

Invalid input: not a valid hostname

Posted: Tue Dec 16, 2008 9:35 am
by Shaun
Hi... :(

I'm trying to upgrade a 11.04 install to 11.2, but I keep running into the same problem. I'm running the install in cli mode, and when I'm asked what the SMTP server hostname is, install rejects it. e.g.

SMTP Server hostname [xxx.yyy.com:587]

invalid input: not a valid hostname.

Now xxx.yyy.com is listed in /etc hosts, and the ip is pingable by name. This machine is normally connected to internet DNS, but during this test upgrade, has been removed. The name xxx.yyy.com is an internal name to our company, an is not available externally.

I'm confused, because the system works perfectly well before the upgrade, so it's obviously happy with it's name, it just seems to be the installer that complains.

Any help greatly appreciated.

Posted: Tue Dec 16, 2008 12:43 pm
by schmoe90
Does it work without the :587? That's not what I'd expect if I asked for your hostname...

Posted: Tue Dec 16, 2008 1:02 pm
by Shaun
Isn't the :587 bit the port number it's expecting?

Posted: Tue Dec 16, 2008 5:57 pm
by schmoe90
It's not asking for a port number though, from what you've posted, it's asking for a hostname. Does it work without the port number?

Posted: Thu Jan 08, 2009 10:21 am
by Shaun
Sorry - you're right - if you remove the port number, it's fine. Thanks All.