2017. 12. 15 업데이트 로그
이번에는 이메일을 보낼 수 없는 문제를 확인하기 위해 Postfix 서비스 상태를 확인해봤습니다.
● postfix.service - LSB: Postfix Mail Transport Agent Loaded: loaded (/etc/init.d/postfix; bad; vendor preset: enabled) Drop-In: /run/systemd/generator/postfix.service.d └─50-postfix-$mail-transport-agent.conf Active: inactive (dead) since 금 2017-12-15 23:53:13 KST; 2s ago Docs: man:systemd-sysv-generator(8) Process: 15980 ExecStop=/etc/init.d/postfix stop (code=exited, status=0/SUCCESS) 12월 15 23:15:16 blending.kr systemd[1]: Started LSB: Postfix Mail Transport Agent. 12월 15 23:15:17 blending.kr postfix/master[3739]: daemon started -- version 3.1.0, configuration /etc/postfix 12월 15 23:18:13 blending.kr systemd[1]: Started LSB: Postfix Mail Transport Agent. 12월 15 23:53:13 blending.kr systemd[1]: Stopping LSB: Postfix Mail Transport Agent... 12월 15 23:53:13 blending.kr postfix[15980]: * Stopping Postfix Mail Transport Agent postfix 12월 15 23:53:13 blending.kr postfix[16000]: Postfix is running with backwards-compatible default settings 12월 15 23:53:13 blending.kr postfix[16000]: See http://www.postfix.org/COMPATIBILITY_README.html for details 12월 15 23:53:13 blending.kr postfix[16000]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload" 12월 15 23:53:13 blending.kr postfix[15980]: ...done. 12월 15 23:53:13 blending.kr systemd[1]: Stopped LSB: Postfix Mail Transport Agent.
확인결과 Postfix가 실행조차 하지 않았다는 것을 발견하고, 부팅 스크립트 /etc/rc.local을 확인해보았습니다.
rc-local.service를 journalctl -u로 로그 확인한 결과, 이번에는 /data 파티션의 파일 시스템인 zfs를 설정하던 중 문제가 발생한 것으로 파악되었습니다. 해당 라인은 지워버리고 나니, 그 다음줄 스크립트가 실행되지 않는 문제가 해결되어서 이제는 정상적으로 Postfix가 시작되는 것을 확인했습니다.