Bug ID 1103953: SSMTP errors in logs every 20 minutes

Last Modified: Oct 04, 2024

Affected Product(s):
BIG-IP LTM(all modules)

Known Affected Versions:
14.1.4.4, 14.1.4.5, 14.1.4.6, 14.1.5, 14.1.5.1, 14.1.5.2, 14.1.5.3, 14.1.5.4, 14.1.5.6, 15.1.4, 15.1.4.1, 15.1.5, 15.1.5.1, 15.1.6, 15.1.6.1, 15.1.7, 15.1.8, 15.1.8.1, 15.1.8.2, 15.1.9, 15.1.9.1, 15.1.10, 15.1.10.2, 15.1.10.3, 15.1.10.4, 15.1.10.5, 16.1.0, 16.1.1, 16.1.2, 16.1.2.1, 16.1.2.2, 16.1.3, 16.1.3.1, 16.1.3.2, 16.1.3.3, 16.1.3.4, 16.1.3.5, 16.1.4, 16.1.4.1, 16.1.4.2, 16.1.4.3, 16.1.5, 16.1.5.1

Opened: Apr 30, 2022

Severity: 3-Major

Symptoms

An error is logged every 20 minutes to /var/log/maillog err sSMTP[9797]: Unable to connect to "localhost" port 25. err sSMTP[9797]: Cannot open localhost:25 The symptoms are similar to what you see in https://support.f5.com/csp/article/K60914243 but the solution in that article will not help. K60914243 talks about 15.x while current issue is on 16.x.

Impact

Log rotation for restjavad/restnoded will be stuck. You may see system emails about sSMTP errors every 20 minutes.

Conditions

This occurs in one of the following happens 1. You have manually deleted restjavad or restnoded log files with following commands rm /var/log/restjavad* rm /var/log/restnonded* 2. One of the restjavad/restnoded log files is small and unable to rotate (rotation fails). This happens when file size does not exceed default "max-file-size"

Workaround

This issue subsides if you manually create a file for the stuck log file. 1. Open a command terminal 2. Run # ls -l /var/log/restnoded* 3. If you find that restnonded1.log is missing then manually create it # touch /var/log/restnoded/restnoded1.log 4. Run # ls -l /var/log/restjavad*.log 5. If you find that restjavad.1.log is missing then manually create it # touch /var/log/restjavad.1.log

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips