1、问题:
错误:Cannot repository metadata (repomd.xml) for repository: influxdb.
Please verify its path and try again
解决:
打开/etc/yum.repos.d/xxxxxx.repo文件;
将enabled=1改成enabled=0
2、问题:
sendmail.mc:10: m4: cannot open `/usr/share/sendmail-cf/m4/cf.m4’: No
such file or directory
解决:说明需要安装sendmail-cf
yum install sendmail-cf
3、问题:
bash: mail: command not found
解决:显然mailx没有安装,于是:
yum -y install mailx
3、查看sendmail日志
cat /var/log/maillog
4、问题:
[root@localhost mail]# service sendmail restart
Shutting down sendmail: [ OK ]
Shutting down sm-client: [ OK ]
Starting sendmail: 554 5.0.0 /etc/mail/s