If you get this in the console at the end when executing ./epoch.sh :
22:16:54 Dedicated host created.
22:16:55 BattlEye initialization failed
This means normally that the server cannot find the battleye.so file at the right place.
How to fix this:
Make sure that battleye.so is available in epochserver/expansion/battleye/
It seems that copying the .so file has been missing during the installation process.
Here you can find some information regarding Battleye from the Bohemia Interactive Community:
Battleye – Bohemia Interactive Community
← 4.) BattlEye initialization failed