Job nfs-server.service/start failed with result ‘dependency’

NFS 服务器服务无法从以下错误启动

# systemctl status nfs-server.service
nfs-server.service - NFS server and services
Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; disabled; vendor preset: disabled)
Active: inactive (dead)

Sep 16 12:41:22 host01 systemd[1]: Dependency failed for NFS server and services.
Sep 16 12:41:22 host01 systemd[1]: Job nfs-server.service/start failed with result 'dependency'.
Sep 16 12:42:00 host01 systemd[1]: Dependency failed for NFS server and services.
Sep 16 12:42:00 host01 systemd[1]: Job nfs-server.service/start failed with result 'dependency'.
Sep 16 12:44:23 host01 systemd[1]: Dependency failed for NFS server and services.
Sep 16 12:44:23 host01 systemd[1]: Job nfs-server.service/start failed with result 'dependency'.
Sep 16 12:48:12 host01 systemd[1]: Dependency failed for NFS server and services.
Sep 16 12:48:12 host01 systemd[1]: Job nfs-server.service/start failed with result 'dependency'.

cat /var/log/message消息文件中显示以下错误:

var/log/messages:Sep 30 05:41:25 host01 systemd: Starting Preprocess NFS configuration...
var/log/messages:Sep 30 05:41:25 host01 systemd: Mounting NFSD configuration filesystem...
var/log/messages:Sep 30 05:41:25 host01 systemd: Started Preprocess NFS configuration.
var/log/messages:Sep 30 05:41:25 host01 systemd: Starting NFSv4 ID-name mapping service...
var/log/messages:Sep 30 05:41:25 host01 systemd: Starting NFS status monitor for NFSv2/3 locking....
var/log/messages:Sep 30 05:41:25 host01 systemd: Started NFSv4 ID-name mapping service.
var/log/messages:Sep 30 05:41:25 host01 systemd: Started NFS status monitor for NFSv2/3 locking..
var/log/messages:Sep 30 05:41:25 host01 kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
var/log/messages:Sep 30 05:41:25 host01 kernel: [<ffffffffc0623192>] ? ftrace_define_fields_nfsd_stateid_class+0xc6/0xc6 [nfsd]
var/log/messages:Sep 30 05:41:25 host01 kernel: [<ffffffffc0623192>] ? ftrace_define_fields_nfsd_stateid_class+0xc6/0xc6 [nfsd]
var/log/messages:Sep 30 05:41:25 host01 kernel: [<ffffffffc05d8b22>] nfsd_reply_cache_init+0xa2/0x100 [nfsd]
var/log/messages:Sep 30 05:41:25 host01 kernel: [<ffffffffc06231f0>] init_nfsd+0x5e/0xe6e [nfsd]
var/log/messages:Sep 30 05:41:25 host01 kernel: nfsd: failed to allocate reply cache
var/log/messages:Sep 30 05:41:25 host01 mount: mount: unknown filesystem type 'nfsd'
var/log/messages:Sep 30 05:41:25 host01 systemd: proc-fs-nfsd.mount mount process exited, code=exited status=32
var/log/messages:Sep 30 05:41:25 host01 systemd: Failed to mount NFSD configuration filesystem.
var/log/messages:Sep 30 05:41:25 host01 systemd: Dependency failed for NFS server and services.
var/log/messages:Sep 30 05:41:25 host01 systemd: Dependency failed for NFS Mount Daemon.
var/log/messages:Sep 30 05:41:25 host01 systemd: Job nfs-mountd.service/start failed with result 'dependency'.
var/log/messages:Sep 30 05:41:25 host01 systemd: Job nfs-server.service/start failed with result 'dependency'.
var/log/messages:Sep 30 05:41:25 host01 systemd: Unit proc-fs-nfsd.mount entered failed state.

诊断


Module nfsd is not loaded to the running kernel.

# lsmod |grep -i nfsd |wc -l
0
    • Fails to probe module nfsd

 

# modprobe -nvvv nfsd modprobe: INFO: custom logging function 0x40a3e0 registered modprobe: FATAL: Module nfsd not found.

  • 与模块 dep 相关的文件已经存在。

-rw-r–r– 1 root root 273118 Aug 22 04:27 /usr/lib/modules/3.10.0-1127.19.1.el7.x86_64/modules.dep
-rw-r–r– 1 root root 381993 Aug 22 04:27 /usr/lib/modules/3.10.0-1127.19.1.el7.x86_64/modules.dep.bin
-rw-r–r– 1 root root    569 Aug 22 04:27 /usr/lib/modules/3.10.0-1127.19.1.el7.x86_64/modules.softdep

  • 安装新内核后,系统未重新启动。但是,重新启动系统后问题仍然存在。

解决方案


给TA买糖
共{{data.count}}人
人已赞赏
笔记

如何使用NetworkManager设置IPv4和IPv6 DNS服务的执行顺序

2021-3-26 20:57:30

笔记

一个从服务器经销商到系统集成工程师的理想

2021-3-26 21:37:02

此心远送浑河岸,斟别酒,唱阳关,临别无语空长叹,酒已阑,曲未残,人初散,心长怀去后,杳鱼雁,对遥山,当时无计锁雕鞍,去后思量悔应晚,别时容易见时难!
29 条回复 A文章作者 M管理员
  1. 郑旭炼

    。。。

  2. 左左

    不错,靠谱

  3. wilson

    666

  4. 无

    牛啊

  5. cqqxx

    666

  6. 听闻

    666

  7. 、

    666

  8. yezi

    666

  9. 怡然短靴

    哈哈哈哈哈

  10. 羽毛无聊

    哈哈哈哈哈

  11. 心情时尚

    过来逛逛

  12. 御姐动人

    主题不错!

  13. 太阳可耐

    点个赞

  14. Texas

    666

  15. 旅途

    ….

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索