链接:http://ccl.cse.nd.edu/operations/condor/hostname.shtml

Common Hostname Problem on Linux

Newly installed Linux machines often have a common configuration problem that breaks several distributed systems, including Condor. Many programs need to determine their own IP address so that they can tell other machines how to contact them. This doesn't work with the default /etc/hosts on many Linux machines, which looks like this:

Incorrect /etc/hosts:

127.0.0.1 machinename localhost localhost.localdomain

When a program attempts to determine it's own IP address, it will think it to be the loopback address 127.0.0.1. When it communicates that address to other machines, everyone gets confused. There are two solutions to this problem. You can either put the proper IP address in /etc/hosts, or you can leave it out entirely, and let DNS figure it out.

Correct /etc/hosts Option A:

127.0.0.1 localhost localhost.localdomain
1.2.3.4 machinename

Correct /etc/hosts Option B:

127.0.0.1 localhost localhost.localdomain

After making this change, either reboot the machine or run condor_restart -master to reset Condor.

最新文章

  1. 深入研究Visual studio 2017 RC新特性
  2. PHP无限极分类
  3. 如何处理Win7连接vpn时报错789的问题
  4. java 版的复利计算器(张俊毅 周修文)
  5. 项目源码--Android天气日历精致UI源码
  6. ALTER TABLE causes auto_increment resulting key 'PRIMARY'
  7. Integer做WeakHashMap的Key应注意的问题
  8. laraval框架model注意事项
  9. CODEVS 1090 加分二叉树
  10. Ubuntu下解压rar文件的方法
  11. 自己写的carousel
  12. 在 MVC6 中创建 Web API
  13. ggplot2 theme相关设置—矩形设置(rect)
  14. ASP渲染下拉框使时间依次减少
  15. ThinkPHP系统变量,常量,序列化,反序列化,缓存
  16. Python开发【前端篇】CSS
  17. cache 缓存的处理
  18. Mybaits动态Sql
  19. 程序员进阶之算法练习:LeetCode专场
  20. py requests.get

热门文章

  1. 如何正确使用const(常量),define(宏)
  2. Spoj SUBLEX - Lexicographical Substring Search
  3. 十. 图形界面(GUI)设计2.框架窗口
  4. WebStrom配置多个项目的Dweployment时,设置默认的启动配置
  5. jsonObject关于xml,json,bean之间的转换关系
  6. 设计模式之单例模式(php实现)
  7. 【原创】SpringBoot & SpringCloud 快速入门学习笔记(完整示例)
  8. 2017.6.8 spring-ldap基本使用总结
  9. Linux中MySQL数据库max_allowed_packet的调整
  10. requirejs主流程解读