Wednesday, 5 December 2012

Overcome Problem Couldn't get host name In Sever

While updating centos server or installing new server  we will  get error like [Red5] Couldn't get host name! org.quartz. Scheduler Exception: Couldn't get host name! [See nested exception: java.net.UnknownHostException]

It's nothing we forget to configure host name in hosts file.We can overcome these by  configuring host name in hosts file 

If you going to access locally  means just configure like this

# Do not remove the following line, or various programs

# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost




or going to access outside means you have  configure like this

# Do not remove the following line, or various programs

# that require network functionality will fail.

your static ip  host name

Ex for host name www.google.com

1 comment:

  1. Hello... for someone that visit that post, here is a possible solution about that:

    https://cwiki.apache.org/confluence/display/SYNCOPE/FAQ#FAQ-Igettheerror%22org.quartz.impl.StdSchedulerFactory-Couldn%27tgenerateinstanceId!org.quartz.SchedulerException:Couldn%27tgethostname!%22

    Regards!

    ReplyDelete