Bug ID 760556: Running platform_check utility results in 'File exists' error

Last Modified: Sep 14, 2023

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

Known Affected Versions:,,,, 14.1.2,,,,,,,,, 14.1.3,, 14.1.4,,,,,,, 14.1.5,,,,,

Opened: Mar 06, 2019

Severity: 4-Minor


When running platform_check utility, you might encounter this error: An unexpected error has occurred: [Errno 17] File exists: '/var/log/platform_check/'


Cannot run the platform_check utility because of the existing file. This occurs because the later version of the platform_check utility tries to create a directory at that same location, does not consider that existing file as a directory, and hence tries to create a directory on top of that file, which consequently produces that error.


-- Running an earlier runs of platform_check that created a file named: /var/log/platform_check. -- Running a later version of the platform_check utility.


Log into BIG-IP system as root user to get to bash. Then delete that file as follows: config # rm /var/log/platform_check rm: remove regular empty file '/var/log/platform_check'? y

Fix Information


Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips