安装完lnmp 1.4 之后 crontab -l 提示错误
阿里云HKB的机器,机器装好系统后自带的有 crontab ,执行crontab -l 也是正常的提示http://p1.bqimg.com/1949/7ad1bcc531a2014a.png
但是安装好 lnmp 之后,给刚添加的网站安装 let`s encrypt ssl 的时候会提示找不到 crontab
http://p1.bqimg.com/1949/5af50da2f034c0af.png
然后我执行一遍 crontab -l 竟然提示 错误。。。。
http://p1.bqimg.com/1949/cf6c90c2bd57abde.png
难道是lnmp 1.4 在安装的时候把crontab给我删了吗。。。。
[ 本帖最后由 huahuaniu 于 2017-2-11 17:46 编辑 ] aliyun的centos测试过没有问题,你上传安装日志看一下
回复 2# 的帖子
请问安装日志在哪个地方,我又装了一遍,还是这样,
安装前crontab好好的,安装后就提示错误了,
回复 3# 的帖子
置顶帖反馈必读有说明回复 4# 的帖子
军哥,日志发上来了,在帖子里回复 4# 的帖子
我又安装了好几次,装完lnmp1.4后执行crontab -l,都是找不到命令Resolving Dependencies
--> Running transaction check
---> Package mysql-libs.x86_64 0:5.1.73-8.el6_8 will be erased
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: 2:postfix-2.6.6-6.el6_7.1.x86_64
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: 2:postfix-2.6.6-6.el6_7.1.x86_64
--> Processing Dependency: mysql-libs for package: 2:postfix-2.6.6-6.el6_7.1.x86_64
--> Running transaction check
---> Package postfix.x86_64 2:2.6.6-6.el6_7.1 will be erased
--> Processing Dependency: /usr/sbin/sendmail for package: redhat-lsb-core-4.0-7.el6.centos.x86_64
--> Processing Dependency: /usr/sbin/sendmail for package: cronie-1.4.4-16.el6_8.2.x86_64
--> Running transaction check
---> Package cronie.x86_64 0:1.4.4-16.el6_8.2 will be erased
--> Processing Dependency: cronie = 1.4.4-16.el6_8.2 for package: cronie-anacron-1.4.4-16.el6_8.2.x86_64
---> Package redhat-lsb-core.x86_64 0:4.0-7.el6.centos will be erased
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.0 for package: redhat-lsb-printing-4.0-7.el6.centos.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.0 for package: redhat-lsb-graphics-4.0-7.el6.centos.x86_64
--> Running transaction check
---> Package cronie-anacron.x86_64 0:1.4.4-16.el6_8.2 will be erased
---> Package redhat-lsb.x86_64 0:4.0-7.el6.centos will be erased
--> Processing Dependency: redhat-lsb(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-compat-4.0-7.el6.centos.x86_64
---> Package redhat-lsb-graphics.x86_64 0:4.0-7.el6.centos will be erased
---> Package redhat-lsb-printing.x86_64 0:4.0-7.el6.centos will be erased
--> Running transaction check
---> Package redhat-lsb-compat.x86_64 0:4.0-7.el6.centos will be erased
--> Processing Dependency: /etc/cron.d for package: crontabs-1.10-33.el6.noarch
--> Processing Dependency: /etc/cron.d for package: sysstat-9.0.4-31.el6.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package crontabs.noarch 0:1.10-33.el6 will be erased
---> Package sysstat.x86_64 0:9.0.4-31.el6 will be erased
--> Finished Dependency Resolution
这依赖关系好像有问题,有几个软件并无依赖关系
自己再yum install crontabs 一下
回复 7# 的帖子
恩恩,好的,我再试试,,,
页:
[1]