postfix 실행이 되지 않아서 systemctl 을 통해 확인을 해보았다.
상태 확인
[root@server ~]# systemctl start postfix.service
Job for postfix.service failed because the control process exited with error code. See "systemctl status postfix.service" and "journalctl -xe" for details.
[root@server ~]# 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 2018-04-13 14:39:14 KST; 10s ago
Process: 12901 ExecStart=/usr/sbin/postfix start (code=exited, status=1/FAILURE)
Process: 12898 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
Process: 12893 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=75)
Apr 13 14:39:12 server systemd[1]: Starting Postfix Mail Transport Agent...
Apr 13 14:39:12 server aliasesdb[12893]: /usr/sbin/postconf: fatal: parameter inet_interfaces: no local interface found for ::1
Apr 13 14:39:13 server aliasesdb[12893]: newaliases: fatal: parameter inet_interfaces: no local interface found for ::1
Apr 13 14:39:13 server postfix[12901]: fatal: parameter inet_interfaces: no local interface found for ::1
Apr 13 14:39:14 server systemd[1]: postfix.service: control process exited, code=exited status=1
Apr 13 14:39:14 server systemd[1]: Failed to start Postfix Mail Transport Agent.
Apr 13 14:39:14 server systemd[1]: Unit postfix.service entered failed state.
Apr 13 14:39:14 server systemd[1]: postfix.service failed.
설정파일에 문제가 없는지 확인
[root@office_zabbix postfix]# postfix check
postfix: fatal: parameter inet_interfaces: no local interface found for ::1
::1은 IPv6에서 사용하는 loopback 인터페이스 주소로 IPv4에서는 127.0.0.1을 사용하며, 서버에서 IPv6를 사용하지 않으므로 hosts 파일의 해당부분을 주석처리를 하였습니다.
'CentOS' 카테고리의 다른 글
NFS 서버 설치 (0) | 2018.04.16 |
---|---|
NIC UUID 확인 (0) | 2018.04.05 |
채널 본딩 (0) | 2018.04.04 |