博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
No portmap or rpcbind service is running on this host
阅读量:5974 次
发布时间:2019-06-19

本文共 2103 字,大约阅读时间需要 7 分钟。

hot3.png

+ echo 'No portmap or rpcbind service is running on this host. Please start portmap or rpcbind service before attempting to start the NFS Gateway role on this host.'

问题:

Centos7 安装CDH时报错:

+ make_scripts_executable+ find /opt/cloudera-manager/cm-5.14.1/run/cloudera-scm-agent/process/193-hdfs-NFSGATEWAY -regex '.*\.\(py\|sh\)$' -exec chmod u+x '{}' ';'+ '[' DATANODE_MAX_LOCKED_MEMORY '!=' '' ']'+ ulimit -l+ export HADOOP_IDENT_STRING=hdfs+ HADOOP_IDENT_STRING=hdfs+ '[' -n '' ']'+ '[' mkdir '!=' nfs3 ']'+ acquire_kerberos_tgt hdfs.keytab+ '[' -z hdfs.keytab ']'+ '[' -n '' ']'+ '[' validate-writable-empty-dirs = nfs3 ']'+ '[' file-operation = nfs3 ']'+ '[' bootstrap = nfs3 ']'+ '[' failover = nfs3 ']'+ '[' transition-to-active = nfs3 ']'+ '[' initializeSharedEdits = nfs3 ']'+ '[' initialize-znode = nfs3 ']'+ '[' format-namenode = nfs3 ']'+ '[' monitor-decommission = nfs3 ']'+ '[' jnSyncWait = nfs3 ']'+ '[' nnRpcWait = nfs3 ']'+ '[' -safemode = '' -a get = '' ']'+ '[' monitor-upgrade = nfs3 ']'+ '[' finalize-upgrade = nfs3 ']'+ '[' rolling-upgrade-prepare = nfs3 ']'+ '[' rolling-upgrade-finalize = nfs3 ']'+ '[' nnDnLiveWait = nfs3 ']'+ '[' monitor-offline = nfs3 ']'+ '[' refresh-datanode = nfs3 ']'+ '[' mkdir = nfs3 ']'+ '[' nfs3 = nfs3 ']'+ connect_to_port 111+ PORT=111+ python -c 'import socket; import sys; s = socket.socket(socket.AF_INET); s.settimeout(5.0); s.connect((sys.argv[1], int(sys.argv[2]))); s.close();' localhost 111Traceback (most recent call last):  File "
", line 1, in
File "/usr/lib64/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args)socket.error: [Errno 111] Connection refused+ '[' 1 -ne 0 ']'+ echo 'Cannot connect to port 111.'+ return 1+ '[' 1 -eq 1 ']'+ echo 'No portmap or rpcbind service is running on this host. Please start portmap or rpcbind service before attempting to start the NFS Gateway role on this host.'+ exit 1

解决方法:

要启动rpcbind

安装:

yum install nfs-utils rpcbind

查看状态:

systemctl status rpcbind.service

启动:

systemctl start rpcbind.service

转载于:https://my.oschina.net/lwenhao/blog/3021836

你可能感兴趣的文章
我的友情链接
查看>>
通哥运维笔记之Linux系统管理(一)
查看>>
CentOS 6.x 快速安装L2TP ***
查看>>
mysql主主复制(双主复制)配置步骤
查看>>
JS中事件绑定
查看>>
linux支持中文
查看>>
C#基本类(二)
查看>>
powerpoint2013新增哪些功能?年终总结ppt模板
查看>>
猴子吃桃问题
查看>>
火狐浏览器插件(XPI 文件)签名指南
查看>>
采用TurboGate邮件网关防止邮箱被盗用
查看>>
0基础python容易学吗?
查看>>
SylixOS网络性能测试
查看>>
DATETIME, DATE和TIMESTAMP
查看>>
2018-11-26
查看>>
2018 KDD CUP支付宝安全团队Deep X斩获两项大奖
查看>>
安装 PHP7
查看>>
PHPCMS V9静态化HTML生成设置及URL规则优化
查看>>
关闭SQL Server 数据库所有使用连接
查看>>
tkinter events format
查看>>