Hi Olga,
pls. explain more detailed: "....enrollment server not working."
What is the error on the iOS device? Are you able to see any errors in the Afaria logs? Is the iPhone service able to start up? Are you using the SSP for enrollment? For enrollment problem assistance it requires to get all possible details of the problem description and Afaria setup.
cheers Chris