KB Article #177884

Why CFT doesn’t start if the "trkapi.buf" file is corrupted?

Problem

Why CFT doesn’t start if the "trkapi.buf" file is corrupted?


Resolution


"trkapi.buf" file is the buffer file where CFT stores all the events which has to be sent to Sentinel.
In particular it stores all events locally when the Sentinel server is not accessible.

During CFT start up it checks the consistency sentinel buffer file.

If the file is corrupted and sentinel.xfb.shut is 0

- the file is renamed (adding a suffix with the date and time of action)

- the file is recreated

- message CFTS26E XTRK task error (Init) _ File corrupted, renamed and re-created in the CFT Log file

this message will be the first message to sentinel server.

If the file is corrupted and sentinel.xfb.shut is different of zero:

- the log shows CFTS26E XTRK task error (Init) _ Terminating : Pb Init Buffer File the CFT Log file

- CFT is stopped




a) An empty file is considered as corrupted.

b) If the file doesn’t exist, it will be regenerated with correct format by restarting CFT.