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 Fri 2017-04-21 21:32:59 CST; 5s ago
  Process: 8785 ExecStart=/usr/sbin/postfix start (code=exited, status=1/FAILURE)
  Process: 8783 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
  Process: 8780 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=75)

Apr 21 21:32:57 iZd2ibnn6ajh9jZ systemd[1]: Starting Postfix Mail Transport Agent...
Apr 21 21:32:57 iZd2ibnn6ajh9jZ aliasesdb[8780]: /usr/sbin/postconf: fatal: parameter inet_interfaces: no local interface found for ::1
Apr 21 21:32:58 iZd2ibnn6ajh9jZ aliasesdb[8780]: newaliases: fatal: parameter inet_interfaces: no local interface found for ::1
Apr 21 21:32:58 iZd2ibnn6ajh9jZ postfix[8785]: fatal: parameter inet_interfaces: no local interface found for ::1
Apr 21 21:32:59 iZd2ibnn6ajh9jZ systemd[1]: postfix.service: control process exited, code=exited status=1
Apr 21 21:32:59 iZd2ibnn6ajh9jZ systemd[1]: Failed to start Postfix Mail Transport Agent.
Apr 21 21:32:59 iZd2ibnn6ajh9jZ systemd[1]: Unit postfix.service entered failed state.
Apr 21 21:32:59 iZd2ibnn6ajh9jZ systemd[1]: postfix.service failed.
解决方法:
修改 /etc/postfix/main.cf的设置  

inet_protocols = ipv4  
inet_interfaces = all  

ffmpeg下载m3u8为mp4

ffmpeg -i "https://www.test.com/a.m3u8" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 test.mp4

阅读全文

docker安装 elasticsearch,filebeat,kibana 日志系统

参考文档 参考:https://github.com/maxyermayank/docker-compose-elasticsearch-kibana/blob/master/docker-compose.yml 参考:https://www.elastic.co/guid...

阅读全文

docker 安装 gitlab

命令安装 启动命令 docker run --detach \ --hostname 127.0.0.1 \ --publish 8181:8181 \ --name gitlab \ --restart always \ --volume /apps/do...

阅读全文

欢迎留言