网站制作学习网Linux→正文:crontab pam_limits.so: failed to map segment from shared object: Canno
字体:

crontab pam_limits.so: failed to map segment from shared object: Canno

Linux 2023/4/24 18:16:23  点击:不统计

<文章来源:www.forasp.cn网站制作学习>

在linux 自定义了crontab 开始执行,过了一阵crontab无法执行
通过查看crontab status 发现问题
命令行运行:
service crond status -l
结果:
Redirecting to /bin/systemctl status  -l crond.service
crond.service - Command Scheduler
   Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2023-01-29 16:46:02 CST; 2 months 24 days ago
 Main PID: 551 (crond)
   CGroup: /system.slice/crond.service
           └─551 /usr/sbin/crond -n
 
Apr 24 17:32:02 C20211215104933 crond[7596]: PAM unable to dlopen(/lib64/security/pam_limits.so): /lib64/security/pam_limits.so: failed to map segment from shared object: Cannot allocate memory
Apr 24 17:32:02 C20211215104933 crond[7596]: PAM adding faulty module: /lib64/security/pam_limits.so
Apr 24 17:32:02 C20211215104933 crond[7596]: PAM unable to dlopen(/lib64/security/pam_env.so): /lib64/security/pam_env.so: failed to map segment from shared object: Cannot allocate memory
Apr 24 17:32:02 C20211215104933 crond[7596]: PAM adding faulty module: /lib64/security/pam_env.so
Apr 24 17:32:02 C20211215104933 crond[7596]: PAM unable to dlopen(/lib64/security/pam_faildelay.so): /lib64/security/pam_faildelay.so: failed to map segment from shared object: Cannot allocate memory
Apr 24 17:32:02 C20211215104933 crond[7596]: PAM adding faulty module: /lib64/security/pam_faildelay.so
Apr 24 17:32:02 C20211215104933 crond[7596]: PAM unable to dlopen(/lib64/security/pam_deny.so): /lib64/security/pam_deny.so: failed to map segment from shared object: Cannot allocate memory
Apr 24 17:32:02 C20211215104933 crond[7596]: PAM adding faulty module: /lib64/security/pam_deny.so
 
发现 提示无法分配内存所致,是内存不够了,而且发现使用的是交换分区了。
 
后来重启服务器后,释放内存后,可以使用crontab 了。

<%77w%77%2Ef%6F%72p%73%70%2Ec%6E>

·上一篇:nginx 设置禁止搜索引擎蜘蛛爬取内容 >>    ·下一篇:nginx 多域名正则匹配 >>
推荐文章
最新文章