【问题标题】:Cannot start NFS Gateway - Hadoop无法启动 NFS 网关 - Hadoop
【发布时间】:2014-06-01 16:08:43
【问题描述】:

我无法在 Cloudera 中启动 NFS 网关。它给了我错误Supervisor returned FATAL. Please check the role log file, stderr, or stdout

但我可以在标准输出中观察到的唯一奇怪的事情是

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

我尝试将端口 111 更改为 1111,但没有帮助。有什么想法我应该怎么做?

【问题讨论】:

    标签: hadoop hdfs cloudera


    【解决方案1】:

    您需要运行 rpcbind:

    sudo service rpcbind start
    

    【讨论】:

      【解决方案2】:

      在最新的 RHEL 版本中,使用 systemctl 命令自省和控制 systemd。

         systemctl status rpcbind.service # Check status of rpcbind
         systemctl start rpcbind.service  # Start rpcbind
         systemctl stop rpcbind.service   # Stop rpcbind 
      

      旧的 /etc/init.d/ 脚本仍可用于某些服务,以实现旧版支持和向后兼容性。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2015-06-17
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2018-11-23
        相关资源
        最近更新 更多