Manual changes to besclient.config file are overwritten

(imported topic written by SystemAdmin)

Here is the key problem I am running into if anyone can help me. I when I manually edit the /var/opt/BESClient/besclient.config file those changes do not stick. I have found this on both RHEL 5 and AIX 5 and 6 machines. I am running TEM version 8.2.1093.0 in my enterprise.

Here are some changes I have tried to make in the besclient.config file:

I have tried adding the line:

Software\BigFix\Enterprise Server\PostResults

BufferDirectoryMaxSize = 9437184

After adding this line, it works the way I want it to (I go to the http://SERVER:PORT/rd page and I see that it changes the default of “FillDB File Size Limit: 0.0% ( 0 / 3145728 Bytes )” to the desired value of “FillDB File Size Limit: 0.0% ( 0 / 9437184 Bytes )”. However, if I restart the besclient, it reverts back to the default value.

I have tried editing the _BESRelay_Register_Affiliation_AdvertisementList value in the besclient.config file, and again upon restarting the besclient service, it reverts to the null value “”.

I do not know if it is the actual service restart that is overwriting this value or if the service restart is merely prompting the client to contact the server, at which point the server overwrites the besclient.config file. The reason is because I ran a fixlet that edited the file on a number of servers. The action script completed successfully; however, the next day when I followed up on those servers again the file seemed like it have been overwritten.

Any help on this would be appreciated.

(imported comment written by SystemAdmin)

The agent writes out this file when it exits (it owns the file after all).

You must stop the agent, then editing the file, then start it again. I hope you are putting bracketes around your key name and that the posting method striped them out, they are required.