我无法在cloudera中启动nfs网关。它给了我错误 Supervisor returned FATAL. Please check the role log file, stderr, or stdout
但我能在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号,但没用。你知道我该怎么办吗?
2条答案
按热度按时间zed5wv101#
您需要运行rpcbind:
r1zk6ea12#
在最新的rhel版本中使用
systemctl
命令反省和控制系统。旧的/etc/init.d/脚本仍然可以用于某些服务,以实现遗留支持和向后兼容性。