Cannot get canonical host name for server
来源:互联网 发布:借钱通过高的软件 编辑:程序博客网 时间:2024/05/16 06:11
在linux下安装was 6.1程序,安装成功后,需要添加概要文件,添加概要文件时可能会报出“Cannot get canonical host name for server”的错误。即was不能找到主机名。
1.修改/etc/sysconfig/networ文件
# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=yourname (在这修改hostname,把yourname换成你想用的名字)
2.修改/etc/hosts里面的名字
# vi /etc/hosts
127.0.0.1 localhost.localdomain localhost (在这修改hostname,把末尾的localhost换成你想用的名字)
3.最后在终端下执行:
#hostname ***** (*****为修改后的hostname,即你想用的名字)
特别提示:三处修改的名字要保持一致,否则会出现问题。切记。
1.修改/etc/sysconfig/networ文件
# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=yourname (在这修改hostname,把yourname换成你想用的名字)
2.修改/etc/hosts里面的名字
# vi /etc/hosts
127.0.0.1 localhost.localdomain localhost (在这修改hostname,把末尾的localhost换成你想用的名字)
3.最后在终端下执行:
#hostname ***** (*****为修改后的hostname,即你想用的名字)
特别提示:三处修改的名字要保持一致,否则会出现问题。切记。
0 0
- Cannot get canonical host name for server
- 在linux下安装was 6.1程序 Cannot get canonical host name for server
- Couldn't get host name
- JDBC连接MySQL抛Can`t get host name for your address异常的处理
- CentOs :yum apt-get cannot find a valid baseurl for repo: base curl:unknown host
- java.sql.SQLException: Unknown server host name
- Server Host Cannot be null解决方法
- socket测试-get host name error和/etc/hosts配置
- org.quartz.SchedulerException: Couldn't get host name!
- cannot find class for bean with name ''
- cannot get remote repository refs REMOTE HOST IDENTIFICATION HAS CHANGED
- Java Class 介绍 canonical name, simple name and class name
- Java中的canonical name、simple name和class name
- How to get the SQL Server name (Database server)?
- ArcGISServer9.3 出现"Server Host Cannot be null"的错误
- id: cannot find name for group ID 528
- cannot find class [xxx] for bean with name
- Cannot find interface declarartion for 'nsobject' & Unknow type name 'NSString'
- erlang、clojure快速排序对比
- 无线热点(WifiAP)的新建与连接
- 使用ffmpeg库的初始化过程
- FileList方法自学程序
- Leetcode_remove-duplicates-from-sorted-list-ii
- Cannot get canonical host name for server
- Exit Status
- TCP状态转换图详解
- error LNK2019: 无法解析的外部符号
- 面向对象的网络开发包 ACE
- 【python】Python性能鸡汤
- linux rar
- 理解MySQL——索引与优化
- 数据结构--AC自动机--hdu 2896