nfs 서비스 시작 실패: NFSv2/3 잠금에 대한 NFS 상태 모니터를 시작하지 못했습니다.

2678 단어
오늘 문제가 발생했습니다. 서버가 다시 시작되면 nfs 서비스가 시작되지 않고 닫을 수도 없습니다.시스템 로그 보고서의 다음 오류를 보려면 다음과 같이 하십시오.
Aug 10 17:08:53 prod-r3-slt-s-01 systemd: Started Preprocess NFS configuration.
Aug 10 17:08:53 prod-r3-slt-s-01 systemd: Starting NFS status monitor for NFSv2/3 locking....
Aug 10 17:08:53 prod-r3-slt-s-01 systemd: Starting NFSv4 ID-name mapping service...
Aug 10 17:08:53 prod-r3-slt-s-01 rpc.statd[20430]: Version 1.3.0 starting
Aug 10 17:08:53 prod-r3-slt-s-01 systemd: Starting NFS Mount Daemon...
Aug 10 17:08:53 prod-r3-slt-s-01 rpc.statd[20430]: Flags: TI-RPC
Aug 10 17:08:53 prod-r3-slt-s-01 rpc.mountd[20431]: Could not bind socket: (98) Address already in use
Aug 10 17:08:53 prod-r3-slt-s-01 rpc.mountd[20431]: Could not bind socket: (98) Address already in use
Aug 10 17:08:53 prod-r3-slt-s-01 rpc.mountd[20431]: Could not bind socket: (98) Address already in use
Aug 10 17:08:53 prod-r3-slt-s-01 rpc.mountd[20431]: Could not bind socket: (98) Address already in use
Aug 10 17:08:53 prod-r3-slt-s-01 rpc.mountd[20431]: mountd: No V2 or V3 listeners created!
Aug 10 17:08:53 prod-r3-slt-s-01 systemd: Started NFS Mount Daemon.
Aug 10 17:08:53 prod-r3-slt-s-01 rpc.mountd[20432]: Version 1.3.0 starting
Aug 10 17:08:53 prod-r3-slt-s-01 systemd: Started NFSv4 ID-name mapping service.
Aug 10 17:08:53 prod-r3-slt-s-01 rpc.statd[20430]: Failed to register (statd, 1, udp): svc_reg() err: RPC: Remote system error - No route to host
Aug 10 17:08:53 prod-r3-slt-s-01 rpc.statd[20430]: Failed to register (statd, 1, tcp): svc_reg() err: RPC: Remote system error - No route to host
Aug 10 17:08:53 prod-r3-slt-s-01 rpc.statd[20430]: Failed to register (statd, 1, udp6): svc_reg() err: RPC: Remote system error - No route to host
Aug 10 17:08:53 prod-r3-slt-s-01 rpc.statd[20430]: Failed to register (statd, 1, tcp6): svc_reg() err: RPC: Remote system error - No route to host
Aug 10 17:08:53 prod-r3-slt-s-01 rpc.statd[20430]: failed to create RPC listeners, exiting
Aug 10 17:08:53 prod-r3-slt-s-01 systemd: rpc-statd.service: control process exited, code=exited status=1
Aug 10 17:08:53 prod-r3-slt-s-01 systemd: Failed to start NFS status monitor for NFSv2/3 locking..
Aug 10 17:08:53 prod-r3-slt-s-01 systemd: Unit rpc-statd.service entered failed state.
Aug 10 17:08:53 prod-r3-slt-s-01 systemd: rpc-statd.service failed.
Aug 10 17:08:53 prod-r3-slt-s-01 systemd: Starting NFS server and services...

그리고 외국 사이트를 보면 해결 방법을 찾았다.
systemctl enable rpcbind
systemctl start rpcbind
systemctl start nfs-server

사이트 출처:https://bbs.archlinux.org/viewtopic.php?id=193410
다음으로 전송:https://www.cnblogs.com/pig66/p/10420991.html

좋은 웹페이지 즐겨찾기