Fixed td-agent issue on ubuntu