【问题标题】:PAM unable to dlopen(pam_slurm.so): libslurm.so.35: cannot open shared object file: No such file or directoryPAM 无法 dlopen(pam_slurm.so):libslurm.so.35:无法打开共享对象文件:没有这样的文件或目录
【发布时间】:2021-11-30 21:55:35
【问题描述】:

在新机器上安装 slurm 并尝试限制 ssh 访问后,我收到错误:

Oct 12 11:29:00 localhost sshd[5087]: PAM unable to dlopen(pam_slurm.so): libslurm.so.35: cannot open shared object file: No such file or directory
Oct 12 11:29:00 localhost sshd[5087]: PAM adding faulty module: pam_slurm.so
Oct 12 11:29:00 localhost sshd[5087]: fatal: Access denied for user test by PAM account configuration [preauth]

libslurm.so.35 位于 /usr/local/lib 中,也添加到 PATH 中。

但是,在不同的服务器上会出现以下错误:

Oct 11 19:08:12 node-cpu-02 pam_slurm[13762]: Unable to dlopen libslurm.so.35.0.0: libslurm.so.35.0.0: cannot open shared object file: No such file or directory
Oct 11 19:08:12 node-cpu-02 pam_slurm[13762]: access granted for user test (uid=3010)

但 ssh 限制有效。

有人遇到过类似的问题吗?

谢谢!

【问题讨论】:

    标签: ubuntu slurm hpc pam sshd


    【解决方案1】:

    解决方案只是重建 pam 模块

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-04-12
      • 2018-11-26
      • 2019-11-27
      • 2020-02-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多