Re: crond

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





> Date: Friday, July 28, 2023 12:12:04 +0200
> From: Patrick Dupre <pdupre@xxxxxxx>
>
> Sorry, I am wrong.
> crond is OK,
> but sendmail is wrong.
> 
>  Subject: Unit failed
> ░░ Defined-By: systemd
> ░░ Support:
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ 
> ░░ The unit sendmail.service has entered the 'failed' state
> with result 'timeout'. Jul 28 12:08:42 homere systemd[1]: Failed to
> start sendmail.service - Sendmail Mail Transport Agent. ░░
> Subject: A start job for unit sendmail.service has failed ░░
> Defined-By: systemd
> ░░ Support:
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ 
> ░░ A start job for unit sendmail.service has finished with a
> failure. ░░ 
> ░░ The job identifier is 19979 and the job result is failed.
> 
> 
> systemctl status sendmail
> × sendmail.service - Sendmail Mail Transport Agent
>      Loaded: loaded (/usr/lib/systemd/system/sendmail.service;
> enabled; preset: disabled)     Drop-In:
> /usr/lib/systemd/system/service.d
>              └─10-timeout-abort.conf
>      Active: failed (Result: timeout) since Fri 2023-07-28 12:08:42
> CEST; 2min 45s ago     Process: 76753 ExecStartPre=/etc/mail/make
> (code=exited, status=0/SUCCESS)     Process: 76754
> ExecStartPre=/etc/mail/make aliases (code=exited, status=0/SUCCESS)
>     Process: 76758 ExecStart=/usr/sbin/sendmail -bd $SENDMAIL_OPTS
> $SENDMAIL_OPTARG (code=killed, signal=TERM)         CPU: 10ms
> 
> Jul 28 12:07:57 homere systemd[1]: Starting sendmail.service -
> Sendmail Mail Transport Agent... Jul 28 12:07:57 homere
> sendmail[76758]: My unqualified host name (homere) unknown;
> sleeping for retry Jul 28 12:08:42 homere systemd[1]:
> sendmail.service: start operation timed out. Terminating. Jul 28
> 12:08:42 homere systemd[1]: sendmail.service: Failed with result
> 'timeout'. Jul 28 12:08:42 homere systemd[1]: Failed to start
> sendmail.service - Sendmail Mail Transport Agent.
> 
>> 

Sendmail wants a system name that resolves, not just a hostname that
doesn't. Ideally this would be a FQDN. If you are only sending this
mail to your local systems you could potentially deal with this by
putting the hostname in the local machine's /etc/hosts file and then
adjusting things so that your target system will accept mail from
names that don't resolve.

Jul 28 12:07:57 homere sendmail[76758]: My unqualified host name
(homere) unknown; sleeping for retry
Jul 28 12:08:42 homere systemd[1]: sendmail.service: start operation
timed out. Terminating.
Jul 28 12:08:42 homere systemd[1]: sendmail.service: Failed with
result 'timeout'.

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux