Error while installing on centos 7 x64 OPENVZ VPS

TASK [swap : Set swapiness] ****************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “echo 1 | tee /proc/sys/vm/swappiness”, “delta”: “0:00:00.003134”, “end”: “2017-11-07 11:43:08.930969”, “failed”: true, “rc”: 1, “start”: “2017-11-07 11:43:08.927835”, “stderr”: “tee: /proc/sys/vm/swappiness: Permission denied”, “stderr_lines”: [“tee: /proc/sys/vm/swappiness: Permission denied”], “stdout”: “1”, “stdout_lines”: [“1”]}
to retry, use: --limit @/tmp/.bench/playbooks/production/install.retry

PLAY RECAP *********************************************************************
localhost

I have not installed erpnext on centos.

But this notes to disable selinux - that may resolve your stderr (write?) permission error you have Error Installing on CentOS7

edit: On re-reading this thread apparently the install worked with selinux in Permissive

1 Like

REMOVE SWAPPING AS NOT SUPPORTED IN OPENVZ

cd /tmp/.bench

grep -r “swapiness” /tmp/.bench

grep -r “swap on” /tmp/.bench

Remove set swapping content from both the files