2019独角兽企业重金招聘Python工程师标准>>>

+ 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 111
Traceback (most recent call last):File "<string>", line 1, in <module>File "/usr/lib64/python2.7/socket.py", line 224, in methreturn 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

No portmap or rpcbind service is running on this host相关推荐

  1. Authorization not available. Check if polkit service is running or see debug message for more inform

    问题 在CentOS想使用Docker,但是安装完后Docker客户端无法连接到Docker守护进程 输入: systemctl status docker 显示: Authorization not ...

  2. 【Linux】Authorization not available. Check if polkit service is running or see debug message

    问题 centos7开机报错提示welcome to emergency mode!after logging in- CentOS7 开机出现welcome to emergency mode的解决 ...

  3. Cannot connect to the Docker daemon. Is the docker daemon running on this host?

    在centOS系统安装好了docker,想部署一个项目,但是发现运行docker info 时报错 问题 错误信息如下 Cannot connect to the Docker daemon. Is ...

  4. Cannot connect to the Docker daemon. Is 'docker daemon' running on this host?

    if first time to install docker, be noted the docker engine started as root copied from: http://blog ...

  5. 非root用户出现Cannot connect to the Docker daemon. Is the docker daemon running on this host?

    Linux版本:centos  7.4.1708 docker版本:1.12.6 用yum命令安装完docker后,非root用户运行docker命令的时候老是提示"Cannot conne ...

  6. Debezium报错处理系列之二十九:Make sure that an instance of SQL Server is running on the host and accepting TCP

    Debezium报错处理系列之二十九:Make sure that an instance of SQL Server is running on the host and accepting TCP ...

  7. centos7启动服务uthorization not available. Check if polkit service is running or see debug message for

    事件经过 有一次远程帮助别人解决的一个问题 当时那个人给发了一个samba服务启动报错的截图 还有一个翻译图 报错信息中提到了一个polkit服务,下面先普及一下关于这个服务的知识 polkit是一个 ...

  8. Authorization not available. Check if polkit service is running or see debug message for more

     问题场景: 组建的raid1 被删除后,重启 重启完成后发现所有服务都无法正常启动.此时发现进入linux系统时候并未输入用户名称,只输入密码,其实此时进入了系统的单用户模式. Linux下的启动方 ...

  9. 参数调整 新部署rac_CDH5部署三部曲之三:问题总结

    本文是<CDH5部署三部曲>的终篇,前面两章完成了CDH5集群的部署和启动,本章将实战中遇到的问题做个总结,如果碰巧您也遇到过这些问题,希望本文能给您一些参考: 系列文章链接 <CD ...

最新文章

  1. android 阴影背景显示文字_公众号排版如何做出“果冻”文字效果?
  2. mysql中explain的用法
  3. 直线分割平面(动态规划递推)
  4. 应用程序标准输入输出、Shell、程序界面的关系
  5. 200 万年薪的博士,华为到底看重什么?
  6. FFmpeg学习(0)——使用ffmpeg视频切片并加密
  7. 作业(数组)---运行环境winTC(二)
  8. 探店「无聊猿」BAYC 主题餐厅:食物都很棒,口味超预期,有点小贵
  9. 【EPS\AI】12款教师节手绘海报矢量模版素材
  10. PHP实现的敏感词过滤方法
  11. python控制流实例_python学习笔记系列----(二)控制流
  12. Halcon入门教程手册
  13. ExtCertPathValidatorException: Could not validate certificate: null
  14. App地推活动的效果差?可能是地推业绩统计效率低惹的祸
  15. 多线程爬虫爬取电影天堂资源
  16. c语言平台答案,C语言平台答案.docx
  17. unrecognized relocation (0x2a) in section `.text`
  18. 正确处理Ordered Broadcasts
  19. [爱情] [奋斗][主演:佟大为 李小璐][赵宝刚2007励剑之作][更新至24集]
  20. steemit、亿书、币乎与IVERYONE对比

热门文章

  1. FJ省队集训DAY2 T2
  2. Eclipse下maven使用嵌入式(Embedded)Neo4j创建Hello World项目
  3. 《C语言及程序设计》实践参考——输出小星星(全解)
  4. 使用RequireJS优化Web应用前端
  5. 解决office2003无法卸载的问题
  6. Exchange修改单封邮件大小命令
  7. ES6:Set数据结构
  8. php内容模型概念,方便新建各种类型表
  9. SQL Server中SET赋值和SELECT赋值的区别
  10. MapReduce-深度剖析