I’m almost giving up, this will be my last try: I try to compile Etherpad on my OpenVZ server. It’s running a Debian 5.0 as the host system, in the VE I’ve got Ubuntu 10.04. I installed Etherpad in this VE with the instructions from the official Ubuntu Wiki: https://wiki.ubuntu.com/Etherpad.
Everything runs fine until it comes to compilation. After calling bin/build.sh as described in the wiki the first steps are running fine. But then I’m running into a memory error:
java.io.IOException: Cannot run program "cp": java.io.IOException: error=12, Cannot allocate memory
Well, I understand the error message but don’t see the cause. The command free tells me that there’s plenty memory left in this VE:
total used free shared buffers cached Mem: 2415236 1140872 1274364 0 0 0 -/+ buffers/cache: 1140872 1274364 Swap: 0 0 0
Beautiful. But even repeating the compilation process doesn’t bring me any further.
Any help would be appreciated.