Installation fail on Ubuntu 14.04 x86_64 Minimal

Hello

I have try to install erpnext on Ubuntu 14.04 x86_64 Minimal (on openvz vps)

Before installation
I have run
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install npm

then follow the easy install command on

Once execute the command I have found this error

    local/bin/bench", line 9, in <module>
    load_entry_point('bench==0.92', 'console_scripts', 'bench')()
  File "/home/frappe/bench-repo/bench/cli.py", line 60, in cli
    bench()
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 700, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 680, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1027, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 873, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 508, in invoke
    return callback(*args, **kwargs)
  File "/home/frappe/bench-repo/bench/cli.py", line 165, in init
    no_auto_update=no_auto_update, frappe_path=frappe_path, frappe_branch=frappe_branch)
  File "/home/frappe/bench-repo/bench/utils.py", line 75, in init
    setup_backups(bench=path)
  File "/home/frappe/bench-repo/bench/utils.py", line 197, in setup_backups
    logfile=os.path.join(get_bench_dir(bench=bench), 'logs', 'backup.log')))
  File "/home/frappe/bench-repo/bench/utils.py", line 200, in add_to_crontab
    current_crontab = read_crontab()
  File "/home/frappe/bench-repo/bench/utils.py", line 211, in read_crontab
    s = subprocess.Popen(["crontab", "-l"], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
root@erp:~#

Please advice

Nont

@hostatom How much RAM does your VM have and do you have any swap partition created?

The error seems to not be because of low memory.

Can you post the output of which crontab?

Thank you very much for your help

I have run on 2GB Ram VPS
but the problem occur because of crontab

There is no crontab install in Ubuntu 14.04 x86_64 Minimal from openvz template

root@erp:~# which crontab
root@erp:~# cd /
root@erp:/# which crontab
root@erp:/#


root@erp:/# ps -ef | grep cron
root      2873  1751  0 20:56 pts/1    00:00:00 grep --color=auto cron

After I have install the crontab

sudo apt-get install cron

And hit the easy installation command again everything work great now

Thank you very very much