fatal: parameter inet_interfaces: no local interface found for ::1
https://codinfox.github.io/dev/2015/04/08/postfix-cannot-start/
Solution is straightforward:
- open
/etc/postfix/main.cf - comment out
inet_interfaces: all - add
inet_protocol: ipv4
[root@test logs]# vim /usr/sbin/postconf
[root@test logs]# vim /etc/postfix/main.cf
[root@test logs]# systemctl status postfix.service
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2018-08-22 20:00:52 CST; 3min 1s ago
Aug 22 20:00:50 test systemd[1]: Starting Postfix Mail Transport Agent...
Aug 22 20:00:50 test aliasesdb[5051]: /usr/sbin/postconf: fatal: parameter inet_interfaces: no local interface found for ::1
Aug 22 20:00:51 test aliasesdb[5051]: newaliases: fatal: parameter inet_interfaces: no local interface found for ::1
Aug 22 20:00:51 test postfix/sendmail[5054]: fatal: parameter inet_interfaces: no local interface found for ::1
Aug 22 20:00:51 test postfix[5059]: fatal: parameter inet_interfaces: no local interface found for ::1
Aug 22 20:00:52 test systemd[1]: postfix.service: control process exited, code=exited status=1
Aug 22 20:00:52 test systemd[1]: Failed to start Postfix Mail Transport Agent.
Aug 22 20:00:52 test systemd[1]: Unit postfix.service entered failed state.
Aug 22 20:00:52 test systemd[1]: postfix.service failed.
[root@test logs]# systemctl stop postfix
[root@test logs]# systemctl start postfix
[root@test logs]# systemctl status postfix.service
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2018-08-22 20:04:09 CST; 5s ago
Process: 5496 ExecStart=/usr/sbin/postfix start (code=exited, status=0/SUCCESS)
Process: 5493 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
Process: 5486 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=0/SUCCESS)
Main PID: 5569 (master)
CGroup: /system.slice/postfix.service
├─5569 /usr/libexec/postfix/master -w
├─5570 pickup -l -t unix -u
└─5571 qmgr -l -t unix -u
Aug 22 20:04:08 test systemd[1]: Starting Postfix Mail Transport Agent...
Aug 22 20:04:09 test postfix/postfix-script[5567]: starting the Postfix mail system
Aug 22 20:04:09 test postfix/master[5569]: daemon started -- version 2.10.1, configuration /etc/postfix
Aug 22 20:04:09 test systemd[1]: Started Postfix Mail Transport Agent.
[root@test logs]#
fatal: parameter inet_interfaces: no local interface found for ::1的更多相关文章
- mail发邮件报错 "send-mail: fatal: parameter inet_interfaces: no local interface found for ::1"
发送邮件: [root@itfswelog123]# echo '测试邮件标题' | mail -s "数据库挂啦.挂啦.起床啦 " xx@163.com 出现异常: [r ...
- send-mail: fatal: parameter inet_interfaces: no local interface found for ::1
转载:http://blog.csdn.net/csdnones/article/details/50717934 发送邮件: [root@iZ23whn33jnZ log]# echo '这是邮件标 ...
- CentOS 7下启动postfix服务报错:fatal: parameter inet_interfaces: no local interface found for ::1
sed -i 's/inet_interfaces = localhost/inet_interfaces = all' /etc/postfix/main.cf service postfix re ...
- 解决send-mail: fatal: parameter inet_interfaces: no local interface found for ::1
1:检查sendmail服务的状态 service sendmail status 2:开启sendmail服务 service sendmail start3:关闭sendmail服务 servic ...
- CentOS下crontab执行java程序
阿里云CentOS收不到邮件 在crontab里配置执行脚本,脚本用来执行java程序,死活不执行.单独执行脚本可以运行. 查看crontab的日志文件,/var/log/cron,发现没有收到cro ...
- 使用mutt自动发送邮件
1.Mutt安装及环境配置 1.1.安装 sudo yum install mutt 比如你要设置邮件的发信人,需要做: sudo vim /etc/Muttrc set envelope_from= ...
- Gitlab--安装及汉化
简介 gitlab是一个利用 Ruby on Rails 开发的开源应用程序,实现一个自托管的Git 项目仓库,可通过Web界面迚行访问公开的戒者私人项目.Ruby on Rails 是一个可以使你开 ...
- MySQL高可用方案--MHA部署及故障转移
架构设计及必要配置 主机环境 IP 主机名 担任角色 192.168.192.128 node_master MySQL-Master| ...
- centos下send-mail出错
当在脚本中执行发邮件操作得时候出现以下错误:send-mail: fatal: parameter inet_interfaces: no local interface found for ::1 ...
随机推荐
- Codeforces 934 A.Compatible Pair
http://codeforces.com/contest/934 A. A Compatible Pair time limit per test 1 second memory limit p ...
- c实现的trim函数
功能:去掉字符串首尾的空格,换行符等空白. 代码: #include <string.h> #include <stdio.h> #include <ctype.h> ...
- iPhone 证书导出分享给多个开发人员操作
1.应用程序->实用工具->keychain Access->操作如图1 2.将上图导出的证书.AppleWWDRCA.cer.mythlinkDeveloper.mobilepro ...
- vue doubleclick 鼠标双击事件
Vue-dblclick事件(此外事件还有mouseover,mouseout,click,mousdown...): v-on:dblclick="函数" v-on:click/ ...
- Java HashMap学习笔记
1.HashMap数据结构 在java编程语言中,最基本的结构就是两种,一个是数组,另外一个是模拟指针(引用),所有的数据结构都可以用这两个基本结构来构造的,HashMap也不例外.HashMap实际 ...
- ffmpeg一些filter使用方法、以及一些功能命令
1.加字幕 命令:ffmpeg -i <input> -filter_complex subtitles=filename=<SubtitleName>-y <outpu ...
- myeclipse2014破解
去年出现的struts2 bug问题,在过去的项目中一直没做调整,前段时间发现受到影响了.本想这个bug都已经这么长时间了,工具中的包应该也已经被替换了吧,于是下载了最新的myeclipse2014, ...
- react 调用 function 的写法 及 解决 react onClick 方法自动执行
1.react 调用方法的写法 (1)方式一 onClick={this.getFetchData.bind(this,item.id)} (2)方式二 getFetchData(e){ this.s ...
- TNS-01201: Listener cannot find executablen 错误
近期在启动监听器的时候收到了TNS-01201: Listener cannot find executable...的错误提示.这个错误还真是一个一直没有碰到过的错误.咋一看还真不明确是怎么一回事呢 ...
- bash 的环境配置文件
http://www.cnblogs.com/ggjucheng/archive/2012/11/01/2750179.html bash 的环境配置文件 你是否会觉得奇怪,怎么我们什么动作都没有进行 ...