job for sendmail.service failed because a configured resource limit was exceeded

General support questions
Post Reply
tomcoughlan
Posts: 4
Joined: 2019/11/05 14:39:55

job for sendmail.service failed because a configured resource limit was exceeded

Post by tomcoughlan » 2019/11/05 14:44:54

Hi

New here and hope I posted in the right seection.

Freshinstall of 7.6 and when trying to start sendmail, I get this error:

Redirecting to /bin/systemctl start sendmail.service
Job for sendmail.service failed because a configured resource limit was exceeded. See "systemctl status sendmail.service" and "journalctl -xe" for details

Does anyone have any idea to resolve this? Or point me in the right direction?

Any help would be appreciated.

User avatar
TrevorH
Forum Moderator
Posts: 26942
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: job for sendmail.service failed because a configured resource limit was exceeded

Post by TrevorH » 2019/11/05 17:54:06

Job for sendmail.service failed because a configured resource limit was exceeded. See "systemctl status sendmail.service" and "journalctl -xe" for details
And did you?
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

tomcoughlan
Posts: 4
Joined: 2019/11/05 14:39:55

Re: job for sendmail.service failed because a configured resource limit was exceeded

Post by tomcoughlan » 2019/11/05 20:45:37

Yes, see below. Bear in mind I am learning as I go...thanks for the patience. Ive looked around and cant seem to find exactly what to do

[root@allpointsdetailing ~]# systemctl status sendmail.service
● sendmail.service - Sendmail Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/sendmail.service; disabled; vendor pr eset: disabled)
Active: inactive (dead)


[root@allpointsdetailing ~]# journalct1
-bash: journalct1: command not found
[root@allpointsdetailing ~]# journalctl -xe
Nov 05 15:36:44 allpointsdetailing.com sshd[20898]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=193.105.134.95
Nov 05 15:36:45 allpointsdetailing.com sshd[20898]: Failed password for invalid user admin from 193.105.134.95 port 10379 ssh2
Nov 05 15:36:54 allpointsdetailing.com sshd[20898]: Disconnecting: Change of username or service not allowed: (admin,ssh-connection) -> (support,ssh-connection) [preauth]
Nov 05 15:36:58 allpointsdetailing.com sshd[20900]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=180.76.58.76 user=root
Nov 05 15:36:58 allpointsdetailing.com sshd[20900]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
Nov 05 15:37:00 allpointsdetailing.com sshd[20900]: Failed password for root from 180.76.58.76 port 58506 ssh2
Nov 05 15:37:00 allpointsdetailing.com postfix/smtpd[20622]: warning: hostname ip-38-54.ZervDNS does not resolve to address 92.118.38.54: Name or service not known
Nov 05 15:37:00 allpointsdetailing.com postfix/smtpd[20622]: connect from unknown[92.118.38.54]
Nov 05 15:37:00 allpointsdetailing.com sshd[20900]: Received disconnect from 180.76.58.76 port 58506:11: Bye Bye [preauth]
Nov 05 15:37:00 allpointsdetailing.com sshd[20900]: Disconnected from 180.76.58.76 port 58506 [preauth]
Nov 05 15:37:09 allpointsdetailing.com sshd[20902]: Invalid user support from 193.105.134.95 port 5234
Nov 05 15:37:09 allpointsdetailing.com sshd[20902]: input_userauth_request: invalid user support [preauth]
Nov 05 15:37:10 allpointsdetailing.com sshd[20902]: pam_unix(sshd:auth): check pass; user unknown
Nov 05 15:37:10 allpointsdetailing.com sshd[20902]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=193.105.134.95
Nov 05 15:37:12 allpointsdetailing.com sshd[20902]: Failed password for invalid user support from 193.105.134.95 port 5234 ssh2
Nov 05 15:37:16 allpointsdetailing.com saslauthd[542]: pam_unix(smtp:auth): check pass; user unknown
Nov 05 15:37:16 allpointsdetailing.com saslauthd[542]: pam_unix(smtp:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
Nov 05 15:37:16 allpointsdetailing.com sshd[20902]: Disconnecting: Change of username or service not allowed: (support,ssh-connection) -> (admin,ssh-connection) [preauth]
Nov 05 15:37:17 allpointsdetailing.com saslauthd[542]: DEBUG: auth_pam: pam_authenticate failed: User not known to the underlying authentication module
Nov 05 15:37:17 allpointsdetailing.com saslauthd[542]: do_auth : auth failure: [user=jesse@allpointsdetailing.com] [service=smtp] [realm=allpointsdetailing.com] [mech=pam] [reason=PAM auth error]
Nov 05 15:37:17 allpointsdetailing.com postfix/smtpd[20622]: warning: unknown[92.118.38.54]: SASL LOGIN authentication failed: authentication failure
Nov 05 15:37:19 allpointsdetailing.com postfix/smtpd[20622]: disconnect from unknown[92.118.38.54]
Nov 05 15:37:30 allpointsdetailing.com sshd[20908]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=110.35.173.100 user=root
Nov 05 15:37:30 allpointsdetailing.com sshd[20908]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
Nov 05 15:37:32 allpointsdetailing.com sshd[20908]: Failed password for root from 110.35.173.100 port 52822 ssh2
Nov 05 15:37:33 allpointsdetailing.com sshd[20908]: Received disconnect from 110.35.173.100 port 52822:11: Bye Bye [preauth]
Nov 05 15:37:33 allpointsdetailing.com sshd[20908]: Disconnected from 110.35.173.100 port 52822 [preauth]
Nov 05 15:37:55 allpointsdetailing.com sshd[20911]: Invalid user jing from 217.182.170.81 port 51028
Nov 05 15:37:55 allpointsdetailing.com sshd[20911]: input_userauth_request: invalid user jing [preauth]
Nov 05 15:37:55 allpointsdetailing.com sshd[20911]: pam_unix(sshd:auth): check pass; user unknown
Nov 05 15:37:55 allpointsdetailing.com sshd[20911]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=81.ip-217-182-170.eu
Nov 05 15:37:57 allpointsdetailing.com sshd[20911]: Failed password for invalid user jing from 217.182.170.81 port 51028 ssh2
Nov 05 15:37:57 allpointsdetailing.com sshd[20911]: Received disconnect from 217.182.170.81 port 51028:11: Bye Bye [preauth]
Nov 05 15:37:57 allpointsdetailing.com sshd[20911]: Disconnected from 217.182.170.81 port 51028 [preauth]
Nov 05 15:38:43 allpointsdetailing.com sshd[20914]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=111.230.248.125 user=root
Nov 05 15:38:43 allpointsdetailing.com sshd[20914]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
Nov 05 15:38:45 allpointsdetailing.com sshd[20914]: Failed password for root from 111.230.248.125 port 48110 ssh2
Nov 05 15:38:45 allpointsdetailing.com sshd[20914]: Received disconnect from 111.230.248.125 port 48110:11: Bye Bye [preauth]
Nov 05 15:38:45 allpointsdetailing.com sshd[20914]: Disconnected from 111.230.248.125 port 48110 [preauth]
Nov 05 15:38:55 allpointsdetailing.com sshd[20917]: Invalid user liuyang520 from 200.60.60.84 port 60931
Nov 05 15:38:55 allpointsdetailing.com sshd[20917]: input_userauth_request: invalid user liuyang520 [preauth]
Nov 05 15:38:55 allpointsdetailing.com sshd[20917]: pam_unix(sshd:auth): check pass; user unknown
Nov 05 15:38:55 allpointsdetailing.com sshd[20917]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=200.60.60.84
Nov 05 15:38:58 allpointsdetailing.com sshd[20917]: Failed password for invalid user liuyang520 from 200.60.60.84 port 60931 ssh2
Nov 05 15:38:58 allpointsdetailing.com sshd[20917]: Received disconnect from 200.60.60.84 port 60931:11: Bye Bye [preauth]
Nov 05 15:38:58 allpointsdetailing.com sshd[20917]: Disconnected from 200.60.60.84 port 60931 [preauth]
Nov 05 15:39:07 allpointsdetailing.com postfix/smtpd[20919]: connect from unknown[46.38.144.179]
Nov 05 15:39:12 allpointsdetailing.com saslauthd[543]: pam_unix(smtp:auth): check pass; user unknown
Nov 05 15:39:12 allpointsdetailing.com saslauthd[543]: pam_unix(smtp:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
Nov 05 15:39:14 allpointsdetailing.com saslauthd[543]: DEBUG: auth_pam: pam_authenticate failed: User not known to the underlying authentication module
Nov 05 15:39:14 allpointsdetailing.com saslauthd[543]: do_auth : auth failure: [user=ee@allpointsdetailing.com] [service=smtp] [realm=allpointsdetailing.com] [mech=pam] [reason=PAM auth error]
Nov 05 15:39:14 allpointsdetailing.com postfix/smtpd[20919]: warning: unknown[46.38.144.179]: SASL LOGIN authentication failed: authentication failure
Nov 05 15:39:14 allpointsdetailing.com postfix/smtpd[20919]: disconnect from unknown[46.38.144.179]
Nov 05 15:40:01 allpointsdetailing.com systemd[1]: Started Session 75 of user root.
-- Subject: Unit session-75.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit session-75.scope has finished starting up.
--
-- The start-up result is done.
Nov 05 15:40:01 allpointsdetailing.com CROND[20922]: (root) CMD (/etc/webmin/status/monitor.pl)

User avatar
TrevorH
Forum Moderator
Posts: 26942
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: job for sendmail.service failed because a configured resource limit was exceeded

Post by TrevorH » 2019/11/05 23:04:12

Actually I've got a better question : does it have to be sendmail? It's a horrible package and not the default on CentOS. That's postfix and that tends to just work out of the box without messing about.

Also, you might want to make sure that your ssh configuration is secure - no passwords allowed, access via private/public key only since your log shows that you have port 22 open to the entire internet and the skript kiddies are already hammering on the door trying to get in.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

tomcoughlan
Posts: 4
Joined: 2019/11/05 14:39:55

Re: job for sendmail.service failed because a configured resource limit was exceeded

Post by tomcoughlan » 2019/11/05 23:16:31

No, Postfix would be fine. As long as I can get it to send contact forms from the site to me....Im happy.

Going to look into the SSH.....thanks so much for the heads up :)

User avatar
TrevorH
Forum Moderator
Posts: 26942
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: job for sendmail.service failed because a configured resource limit was exceeded

Post by TrevorH » 2019/11/05 23:22:41

If you want to try postfix then install it first then remove sendmail - that way anything that depends on there being a package installed that provides 'MTA' will be happy but if you do it the other way around then removing sendmail will try to remove those dependencies too.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

tomcoughlan
Posts: 4
Joined: 2019/11/05 14:39:55

Re: job for sendmail.service failed because a configured resource limit was exceeded

Post by tomcoughlan » 2019/11/06 00:19:42

Postfix was already installed, so just removed sendmail.

Shut Down, restarted:

journalctl -xe:

-- Unit user-1000.slice has finished shutting down.
Nov 05 19:11:20 allpointsdetailing.com sshd[4567]: Invalid user marina from 112.121.7.115 port 41310
Nov 05 19:11:20 allpointsdetailing.com sshd[4567]: input_userauth_request: invalid user marina [preauth]
Nov 05 19:11:20 allpointsdetailing.com sshd[4567]: pam_unix(sshd:auth): check pass; user unknown
Nov 05 19:11:20 allpointsdetailing.com sshd[4567]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.121.7.115
Nov 05 19:11:22 allpointsdetailing.com sshd[4567]: Failed password for invalid user marina from 112.121.7.115 port 41310 ssh2
Nov 05 19:11:22 allpointsdetailing.com sshd[4567]: Received disconnect from 112.121.7.115 port 41310:11: Bye Bye [preauth]
Nov 05 19:11:22 allpointsdetailing.com sshd[4567]: Disconnected from 112.121.7.115 port 41310 [preauth]
Nov 05 19:11:28 allpointsdetailing.com postfix/smtpd[4327]: connect from unknown[46.38.144.179]
Nov 05 19:11:29 allpointsdetailing.com saslauthd[534]: pam_unix(smtp:auth): check pass; user unknown
Nov 05 19:11:29 allpointsdetailing.com saslauthd[534]: pam_unix(smtp:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
Nov 05 19:11:30 allpointsdetailing.com saslauthd[534]: DEBUG: auth_pam: pam_authenticate failed: User not known to the underlying authentication module
Nov 05 19:11:30 allpointsdetailing.com saslauthd[534]: do_auth : auth failure: [user=tps@allpointsdetailing.local] [service=smtp] [realm=allpointsdetailing.local] [mech=pam] [reason=PAM auth error]
Nov 05 19:11:30 allpointsdetailing.com postfix/smtpd[4327]: warning: unknown[46.38.144.179]: SASL LOGIN authentication failed: authentication failure
Nov 05 19:11:31 allpointsdetailing.com postfix/smtpd[4327]: disconnect from unknown[46.38.144.179]
Nov 05 19:11:54 allpointsdetailing.com postfix/pickup[3979]: E58AD19B6: uid=1000 from=<allpointsdetailing>
Nov 05 19:11:54 allpointsdetailing.com postfix/cleanup[4585]: E58AD19B6: message-id=<20191106001154.E58AD19B6@smtp.allpointsdetailing.local>
Nov 05 19:11:54 allpointsdetailing.com postfix/qmgr[3980]: E58AD19B6: from=<allpointsdetailing@allpointsdetailing.local>, size=483, nrcpt=1 (queue active)
Nov 05 19:11:54 allpointsdetailing.com postfix/trivial-rewrite[4586]: warning: do not list domain allpointsdetailing.com in BOTH mydestination and virtual_alias_domains
Nov 05 19:11:54 allpointsdetailing.com postfix/local[4587]: E58AD19B6: to=<cleanme@allpointsdetailing.com>, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "cleanme")
Nov 05 19:11:54 allpointsdetailing.com postfix/cleanup[4585]: EE3EE20B3: message-id=<20191106001154.EE3EE20B3@smtp.allpointsdetailing.local>
Nov 05 19:11:54 allpointsdetailing.com postfix/qmgr[3980]: EE3EE20B3: from=<>, size=2420, nrcpt=1 (queue active)
Nov 05 19:11:54 allpointsdetailing.com postfix/bounce[4588]: E58AD19B6: sender non-delivery notification: EE3EE20B3
Nov 05 19:11:54 allpointsdetailing.com postfix/qmgr[3980]: E58AD19B6: removed
Nov 05 19:11:55 allpointsdetailing.com postfix/smtp[4589]: EE3EE20B3: to=<allpointsdetailing@allpointsdetailing.local>, relay=none, delay=0.07, delays=0/0.02/0.04/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service
Nov 05 19:11:55 allpointsdetailing.com postfix/qmgr[3980]: EE3EE20B3: removed
Nov 05 19:12:29 allpointsdetailing.com sshd[4646]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=168.235.96.91 user=root
Nov 05 19:12:29 allpointsdetailing.com sshd[4646]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
Nov 05 19:12:31 allpointsdetailing.com sshd[4646]: Failed password for root from 168.235.96.91 port 49714 ssh2
Nov 05 19:12:31 allpointsdetailing.com sshd[4646]: Received disconnect from 168.235.96.91 port 49714:11: Bye Bye [preauth]
Nov 05 19:12:31 allpointsdetailing.com sshd[4646]: Disconnected from 168.235.96.91 port 49714 [preauth]

Post Reply

Return to “CentOS 7 - General Support”