On an unrelated topic, the server is trying to create the following folder structure and it fails:
/var/www/hls/hlstest/leo3/
The possible cause for that is permissions on the upper folders. Make sure the user/group under which EMS is running has write permissions along that hierarchy path. Not all path must be present, but where it stops, it needs to have write permissions.
Best regards,
Andrei