showmount: can't get address for localhost
来源:互联网 发布:北京朝阳有线网络电视 编辑:程序博客网 时间:2024/05/01 07:34
# showmount -e
showmount: can't get address for localhost
showmount: can't get address for localhost
可能的原因
a) Portmap没有正常启动启动
b) 当NFS Server 上面的/etc/hosts文件中的域名与本机IP不对称时,会出现无法导出共享目录的现象。即exportfs 命令导出共享时间极长,导致无法导出,或者showmount –e命令显示本机共离时显示” showmount: can't get address for localhost”错误。
#vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1 localhost.localdomain localhost
# that require network functionality will fail.
::1 localhost.localdomain localhost
改成如下:
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1 localhost.localdomain localhost
127.0.0.1 localhost.localdomain localhost
# that require network functionality will fail.
::1 localhost.localdomain localhost
127.0.0.1 localhost.localdomain localhost
然后就好了
[root@localhost ~]# showmount -e
Export list for localhost:
/root/Desktop/NFS_Server() 192.168.64.1
Export list for localhost:
/root/Desktop/NFS_Server() 192.168.64.1
- showmount: can't get address for localhost
- [CentOS5.5] _X11TransSocketINETConnect() can't get address for localhost:6001: Name
- ERROR 1042 (HY000): Can't get hostname for your address
- ERROR 1042 (HY000): Can't get hostname for your address
- 数据库-mysql-Can't get hostname for your address
- MySQL:1042 can't get hostname for your address
- MySQL 1042, "Can't get hostname for your address" 解决
- Mysql can't get hostname for you address解决方案
- 关于MySQL问题:can't get hostname for your address
- Can't get hostname for your address找不到主机名
- MySQL数据库连接错误:Can't get hostname for your address
- Mysql问题:can't get hostname for your address
- MySqL遇到Can't get hostname for your address解决办法
- Rhyme/ Mysql "Can't get hostname for your address" 问题解决
- Mysql 5.5.3 bug:Can't get hostname for your address
- Mysql 访问,提示无法连接Can't get hostname for your address Error 1042
- 通过远程连接Mysql数据库,提示“can't get hostname for your address”
- MySQL错误1042-Can't get hostname for your address解决方法
- java for循环的几种写法
- 代码统计
- uC/OS-II 学习笔记之:任务的优先级别和任务数
- ant编译程序提示非法字符: \65279
- SQL Sever 2008 R2安装指南
- showmount: can't get address for localhost
- Rigidbody.ClosestPointOnBounds 到边界框的最近点
- Linux ALSA声卡驱动之六:ASoC架构中的Machine
- 树莓派运行PHP脚本
- 如何诊断Windows CE的应用程序崩溃
- eval与Function
- jQuery插件的开发
- Linux ALSA声卡驱动之七:ASoC架构中的Codec
- Rigidbody.detectCollisions 碰撞检测