Symptoms

The following error appears in the atlassian-confluence.log:

2011-03-16 18:20:03,021 ERROR [main] [net.sf.ehcache.Cache] <clinit> Unable to set localhost. This prevents creation of a GUID. Cause was: <hostname>: <hostname>
java.net.UnknownHostException: <hostname>: <hostname>
    at java.net.InetAddress.getLocalHost(InetAddress.java:1354)
    at net.sf.ehcache.Cache.<clinit>(Cache.java:145)

Cause

The local hostname (or COMPUTERNAME - Windows) that is running Confluence is not in the host file or is not resolvable via DNS lookup.

Resolution

Change the local hostname (or COMPUTERNAME in Windows) that is running Confluence to match the host file, or enter the local hostname into the hosts file.
windows

C:\Windows\System32\drivers\etc\hosts

linux/unix environments

/etc/hosts

 We strongly recommend placing the hostname in the host file as fail-safe for DNS server failure.

Alternatively, make the hostname resolvable via DNS.

最新文章

  1. 使用NuGet助您玩转代码生成数据————Entity Framework 之 Code First
  2. EntityFrameWork使用MySql数据库分页的BUG
  3. matlab中的卷积——filter,conv之间的区别
  4. MVC 随记
  5. 多个github帐号的SSH key切换
  6. 嘻哈帮天通苑_poppin——张锋
  7. JS。 问题类型:穷举,迭代。两个关键词:break和continue
  8. SharePoint 跨域还原网站一则
  9. linux log find 查询
  10. Lunix中文乱码解决方案
  11. 拉格朗日对偶(Lagrange duality)
  12. JZ2440开发笔记(2)——minicom的安装和配置使用【转】
  13. Android-webView的loadUrl
  14. Effective C++:条款14:在中小企业资源管理copying表现
  15. 数据库中的null问题
  16. COCOS2D-JS入门-web端项目部署
  17. 用html +js+css 实现页面轮播图效果
  18. Deepin 15.4 安装 Double Commander
  19. C# 线程本地存储 调用上下文 逻辑调用上下文
  20. hive命令的执行方式

热门文章

  1. call与apply函数
  2. hdu 1963 Investment 多重背包
  3. 清空系统日志shell scripts——自学笔记
  4. u-boot ctr0.S详解 包含_main函数
  5. sql存在一个表而不在另一个表中的数据
  6. mongodb学习之路1
  7. Translation001——android
  8. cordova ios
  9. php服务器探针
  10. jquery定义表格宽度