Thanks Chris, it was as easy as adding the hostname to /etc/hosts to fix.

hossman_lucene wrote:
> 
> : Anyone encounter a problem when changing their hostname?  (via
> : /etc/conf.d/hostname or just the hostname command)  I'm getting this
> error
> : when going to the admin screen, I have a feeling it's a simple fix.  It
> : seems to work when it thinks the machine's name is just 'localhost'.
> 
> i don't think this is a tomcat or solr issue ... it looks like a basic
> java/dns issue (that can most likely be reproduced with a 4 line
> commandline java app for testing)
> 
> Take a look at the InetAddress jvadocs, specificly the info on Caching. my
> guess is either:
> 
> 1) your reverse name lookup doesn't match the name you are using which
> causes the getLocalHost call to freak out becuase it can't do a DNS lookup
> on the hostname it thinks it is.
> 2) you changed the name while the JVM was running, and the "forever" cache
> is returning a name that no longer exists.
> 
> 
> 
> -Hoss
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-machine-hostname-and-Solr-Tomcat-tf3816176.html#a10862835
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to