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

Last Modified: Sep 27, 2019

Bug Tracker

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

Known Affected Versions:
14.1.0, 14.1.0.1, 14.1.0.2, 14.1.0.3, 14.1.0.4, 14.1.0.5, 14.1.0.6, 14.1.2, 14.1.2.1

Opened: Mar 06, 2019
Severity: 4-Minor

Symptoms

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

Impact

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.

Conditions

-- 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.

Workaround

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

None

Behavior Change