说明: 上传的log日志为开机启动日志,其中有个报错:[FAILED] Failed to start NFSv4 ID-name mapping service. See 'systemctl status nfs-idmapd.service' for details. root@firefly:~# systemctl status nfs-idmapd.service ● nfs-idmapd.service - NFSv4 ID-name mapping service Loaded: loaded (/lib/systemd/system/nfs-idmapd.service; static; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2023-06-05 07:17:45 UTC; 10min ago Process: 1646 ExecStart=/usr/sbin/rpc.idmapd $RPCIDMAPDARGS (code=exited, status=1/FAILURE) Jun 05 07:17:45 firefly systemd[1]: Starting NFSv4 ID-name mapping service... Jun 05 07:17:45 firefly rpc.idmapd[1648]: main: fcntl(/run/rpc_pipefs/nfs): Invalid argument Jun 05 07:17:45 firefly systemd[1]: nfs-idmapd.service: Control process exited, code=exited status=1 Jun 05 07:17:45 firefly systemd[1]: nfs-idmapd.service: Failed with result 'exit-code'. Jun 05 07:17:45 firefly systemd[1]: Failed to start NFSv4 ID-name mapping service. 1、nfs服务器启动失败root@firefly:~# service rpcbind status ● rpcbind.service - RPC bind portmap service Loaded: loaded (/lib/systemd/system/rpcbind.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2021-02-19 03:20:15 UTC; 2 years 3 months ago Docs: man:rpcbind(8) Main PID: 598 (rpcbind) Tasks: 1 (limit: 4596) CGroup: /system.slice/rpcbind.service └─598 /sbin/rpcbind -f -w Feb 19 03:20:15 firefly systemd[1]: Starting RPC bind portmap service... Feb 19 03:20:15 firefly systemd[1]: Started RPC bind portmap service. root@firefly:~# service nfs-kernel-server restart Job for nfs-server.service canceled. root@firefly:~# service nfs-kernel-server status ● nfs-server.service - NFS server and services Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2023-06-05 07:17:45 UTC; 3min 28s ago Process: 1653 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS) Process: 1652 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS) Process: 1651 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=1/FAILURE) Jun 05 07:17:45 firefly systemd[1]: Starting NFS server and services... Jun 05 07:17:45 firefly exportfs[1651]: exportfs: /etc/exports:2: unknown keyword "no_root_aquash" Jun 05 07:17:45 firefly systemd[1]: nfs-server.service: Control process exited, code=exited status=1 Jun 05 07:17:45 firefly systemd[1]: nfs-server.service: Failed with result 'exit-code'. Jun 05 07:17:45 firefly systemd[1]: Stopped NFS server and services. 共享目录创建后已配置到文件中 /etc/exports 2、启动nfs客户端也同样失败 root@firefly:~# service nfs-common restart Job for nfs-common.service failed because the control process exited with error code. See "systemctl status nfs-common.service" and "journalctl -xe" for details. root@firefly:~# service nfs-common status ● nfs-common.service - LSB: NFS support files common to client and server Loaded: loaded (/etc/init.d/nfs-common; generated) Active: failed (Result: exit-code) since Mon 2023-06-05 07:22:44 UTC; 14s ago Docs: man:systemd-sysv-generator(8) Process: 1701 ExecStart=/etc/init.d/nfs-common start (code=exited, status=1/FAILURE) Tasks: 1 (limit: 4596) CGroup: /system.slice/nfs-common.service └─1709 /sbin/rpc.statd Jun 05 07:22:44 firefly systemd[1]: Starting LSB: NFS support files common to client and server... Jun 05 07:22:44 firefly nfs-common[1701]: * Starting NFS common utilities Jun 05 07:22:44 firefly rpc.statd[1709]: Version 1.3.3 starting Jun 05 07:22:44 firefly sm-notify[1710]: Version 1.3.3 starting Jun 05 07:22:44 firefly nfs-common[1701]: ...fail! Jun 05 07:22:44 firefly systemd[1]: nfs-common.service: Control process exited, code=exited status=1 Jun 05 07:22:44 firefly systemd[1]: nfs-common.service: Failed with result 'exit-code'. Jun 05 07:22:44 firefly systemd[1]: Failed to start LSB: NFS support files common to client and serv 查看系统已载入的文件系统,已包含有nfs root@firefly:~# cat /proc/filesystems nodev sysfs nodev rootfs nodev ramfs nodev bdev nodev proc nodev cpuset nodev cgroup nodev cgroup2 nodev tmpfs nodev devtmpfs nodev configfs nodev debugfs nodev tracefs nodev securityfs nodev sockfs nodev pipefs nodev rpc_pipefs nodev devpts ext3 ext2 ext4 squashfs nodev hugetlbfs vfat iso9660 nodev nfs nodev nfs4 nodev nfsd ntfs nodev autofs fuseblk nodev fuse nodev fusectl nodev overlay xfs nodev pstore nodev mqueue btrfs nodev functionfs |
-
MobaXterm_COM6SiliconLabsCP210xUSBtoUARTBridgeCOM6_20230605_143505.zip
21.31 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1