Also, It throws some error message when I tried to execute command below.
# systemctl restart 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.
[nagios@nagios2 ~]$ sudo journalctl -xe
[sudo] password for nagios:
Jul 01 12:03:56 nagios2 nagios[19601]: job 55678 (pid=11725): read() returned error 11
Jul 01 12:03:56 nagios2 nagios[19600]: wproc: Core Worker 19601: job 55678 (pid=11725) timed out. Killing it
Jul 01 12:03:56 nagios2 nagios[19600]: wproc: CHECK job 55678 from worker Core Worker 19601 timed out after 30.01s
Jul 01 12:03:56 nagios2 nagios[19600]: wproc: host=sulfur; service=(null);
Jul 01 12:03:56 nagios2 nagios[19600]: wproc: early_timeout=1; exited_ok=0; wait_status=0; error_code=62;
Jul 01 12:03:56 nagios2 nagios[19600]: Warning: Check of host 'sulfur' timed out after 30.01 seconds
Jul 01 12:03:57 nagios2 nagios[19600]: wproc: Core Worker 19601: job 55678 (pid=11725): Dormant child reaped
Jul 01 12:05:16 nagios2 dhclient[9462]: DHCPDISCOVER on eno2 to 255.255.255.255 port 67 interval 3 (xid=0x491cfe60)
Jul 01 12:05:19 nagios2 dhclient[9462]: DHCPDISCOVER on eno2 to 255.255.255.255 port 67 interval 5 (xid=0x491cfe60)
Jul 01 12:05:24 nagios2 dhclient[9462]: DHCPDISCOVER on eno2 to 255.255.255.255 port 67 interval 7 (xid=0x491cfe60)
Jul 01 12:05:31 nagios2 dhclient[9462]: DHCPDISCOVER on eno2 to 255.255.255.255 port 67 interval 8 (xid=0x491cfe60)
Jul 01 12:05:39 nagios2 dhclient[9462]: DHCPDISCOVER on eno2 to 255.255.255.255 port 67 interval 10 (xid=0x491cfe60)
Jul 01 12:05:49 nagios2 dhclient[9462]: DHCPDISCOVER on eno2 to 255.255.255.255 port 67 interval 14 (xid=0x491cfe60)
Jul 01 12:06:03 nagios2 dhclient[9462]: DHCPDISCOVER on eno2 to 255.255.255.255 port 67 interval 12 (xid=0x491cfe60)
Jul 01 12:06:15 nagios2 dhclient[9462]: DHCPDISCOVER on eno2 to 255.255.255.255 port 67 interval 2 (xid=0x491cfe60)
Jul 01 12:06:17 nagios2 dhclient[9462]: No DHCPOFFERS received.
Jul 01 12:06:17 nagios2 dhclient[9462]: No working leases in persistent database - sleeping.
Jul 01 12:06:20 nagios2 polkitd[5302]: Registered Authentication Agent for unix-process
204185302 (system bus name :1.13884 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesk
Jul 01 12:06:23 nagios2 polkitd[5302]: Operator of unix-process
204185302 successfully authenticated as unix-user:root to gain ONE-SHOT authorization for action org.freedesktop.systemd1.manage-unit
Jul 01 12:06:23 nagios2 systemd[1]: Starting Postfix Mail Transport Agent...
-- Subject: Unit postfix.service has begun start-up
-- Defined-By: systemd
-- Support:
http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit postfix.service has begun starting up.
Jul 01 12:06:23 nagios2 aliasesdb[12058]: /usr/sbin/postconf: warning: valid_hostname: invalid character 32(decimal): nagios2
Jul 01 12:06:23 nagios2 aliasesdb[12058]: /usr/sbin/postconf: fatal: unable to use my own hostname
Jul 01 12:06:24 nagios2 postfix/sendmail[12061]: warning: valid_hostname: invalid character 32(decimal): nagios2
Jul 01 12:06:24 nagios2 aliasesdb[12058]: newaliases: warning: valid_hostname: invalid character 32(decimal): nagios2
Jul 01 12:06:24 nagios2 aliasesdb[12058]: newaliases: fatal: unable to use my own hostname
Jul 01 12:06:24 nagios2 postfix/sendmail[12061]: fatal: unable to use my own hostname
Jul 01 12:06:24 nagios2 postfix[12068]: warning: valid_hostname: invalid character 32(decimal): nagios2
Jul 01 12:06:24 nagios2 postfix[12068]: fatal: unable to use my own hostname
Jul 01 12:06:25 nagios2 systemd[1]: postfix.service: control process exited, code=exited status=1
Jul 01 12:06:25 nagios2 systemd[1]: Failed to start Postfix Mail Transport Agent.
-- Subject: Unit postfix.service has failed
-- Defined-By: systemd
-- Support:
http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit postfix.service has failed.
--
-- The result is failed.
Jul 01 12:06:25 nagios2 systemd[1]: Unit postfix.service entered failed state.
Jul 01 12:06:25 nagios2 systemd[1]: postfix.service failed.
Jul 01 12:06:25 nagios2 polkitd[5302]: Unregistered Authentication Agent for unix-process
204185302 (system bus name :1.13884, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en
Jul 01 12:06:59 nagios2 nagios[19602]: job 55688 (pid=12082): read() returned error 11
Jul 01 12:06:59 nagios2 nagios[19600]: wproc: Core Worker 19602: job 55688 (pid=12082) timed out. Killing it
Jul 01 12:06:59 nagios2 nagios[19600]: wproc: CHECK job 55688 from worker Core Worker 19602 timed out after 30.01s
Jul 01 12:06:59 nagios2 nagios[19600]: wproc: host=rancid; service=(null);
Jul 01 12:06:59 nagios2 nagios[19600]: wproc: early_timeout=1; exited_ok=0; wait_status=0; error_code=62;
Jul 01 12:06:59 nagios2 nagios[19600]: Warning: Check of host 'rancid' timed out after 30.01 seconds
Jul 01 12:06:59 nagios2 nagios[19600]: wproc: Core Worker 19602: job 55688 (pid=12082): Dormant child reaped
Jul 01 12:07:12 nagios2 sudo[12153]: nagios : TTY=pts/0 ; PWD=/home/nagios ; USER=root ; COMMAND=/bin/journalctl -xe
Jul 01 12:07:12 nagios2 sudo[12153]: pam_unix(sudo:session): session opened for user root by labuser(uid=0)