服务器操作系统版本如下所示:
[root@anolis etc]# cat /etc/os-release
NAME="Anolis OS"
VERSION="8.6"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.6"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.6"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
rpcbind服务的状态:
[root@anolis etc]# systemctl status rpcbind.service
● rpcbind.service - RPC Bind
Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-10-28 21:12:41 CST; 34min ago
Docs: man:rpcbind(8)
Main PID: 38243 (rpcbind)
Tasks: 1 (limit: 23363)
Memory: 1.1M
CGroup: /system.slice/rpcbind.service
└─38243 /usr/bin/rpcbind -w -f
10月 28 21:12:41 anolis systemd[1]: rpcbind.service: Succeeded.
10月 28 21:12:41 anolis systemd[1]: Stopped RPC Bind.
10月 28 21:12:41 anolis systemd[1]: Starting RPC Bind...
10月 28 21:12:41 anolis systemd[1]: Started RPC Bind.
nfs服务的状态:
[root@anolis etc]# systemctl status nfs-utils.service
● nfs-utils.service - NFS server and client services
Loaded: loaded (/usr/lib/systemd/system/nfs-utils.service; static; vendor preset: disabled)
Active: active (exited) since Fri 2022-10-28 21:12:51 CST; 34min ago
Process: 38283 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 38283 (code=exited, status=0/SUCCESS)
10月 28 21:12:51 anolis systemd[1]: nfs-utils.service: Succeeded.
10月 28 21:12:51 anolis systemd[1]: Stopped NFS server and client services.
10月 28 21:12:51 anolis systemd[1]: Stopping NFS server and client services...
10月 28 21:12:51 anolis systemd[1]: Starting NFS server and client services...
10月 28 21:12:51 anolis systemd[1]: Started NFS server and client services.
防火墙也放行了相关服务:
[root@anolis etc]# firewall-cmd --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: ens32
sources:
services: cockpit dhcpv6-client mountd nfs rpc-bind ssh
ports: 10050/tcp
protocols:
forward: no
显示共享目前却始终报如下错误:
[root@anolis etc]# showmount -e
rpc mount export: RPC: Unable to receive; errno = Connection refused
请问,如何这种问题如何解决?