Please remove -database serverstate
from the file. This parameter should be used on the command line instead.
influx -database=serverstate -import -path=ServerInfluxdb.txt
Also be aware that you don’t need the retention policy line either and this will cause your data to be deleted after 1d