Bug ID 1103953: SSMTP errors in logs every 20 minutes

Last Modified: May 05, 2022

Bug Tracker

Affected Product:  See more info
BIG-IP LTM(all modules)

Known Affected Versions:
16.1.0, 16.1.1, 16.1.2, 16.1.2.1, 16.1.2.2

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