Getting this error while installing erpNext

Hi Sunil,

Thank you very much. It seems finally I could able to run ERPNext with the help of ERPNext team.

But I am not able to finish the final set up for Supervisors.

Here is your steps

bench setup supervisor
After executing the above line, nothing happend. Just returned to prompt.

sudo ln -s pwd/config/supervisor.conf /etc/supervisor/conf.d/frappe.conf
But the above line triggered the error
ln: creating hard link /etc/supervisor/conf.d/frappe.conf' => config/supervisor.conf’: No such file or directory

When I cross checked, /etc/supervisor/ directory did not exist.

My OS is Cent 6.

How can I overcome this?


If it doesn’t print anything, it did its job.

Have you installed supervisor? I think you have not used the

Please check relevant parts from the script to install.

For CentOS, the directory to put the file in is /etc/supervisor.d/

With v0.9 (soon to be released), these steps will be automated as well.

I installed it.

See this

/usr/local/bin/pip install supervisor --pre
Downloading/unpacking supervisor
Downloading supervisor-3.1.2.tar.gz (390kB): 390kB downloaded
Running (path:/tmp/pip_build_root/supervisor/ egg_info for package supervisor

warning: no previously-included files matching '*' found under directory 'docs/.build'

Downloading/unpacking meld3>=0.6.5 (from supervisor)
Downloading meld3-1.0.0.tar.gz
Running (path:/tmp/pip_build_root/meld3/ egg_info for package meld3

Installing collected packages: supervisor, meld3
Running install for supervisor

warning: no previously-included files matching '*' found under directory 'docs/.build'
Skipping installation of /usr/local/lib/python2.7/site-packages/supervisor/ (namespace package)
Installing /usr/local/lib/python2.7/site-packages/supervisor-3.1.2-py2.7-nspkg.pth
Installing echo_supervisord_conf script to /usr/local/bin
Installing pidproxy script to /usr/local/bin
Installing supervisorctl script to /usr/local/bin
Installing supervisord script to /usr/local/bin

Running install for meld3

Successfully installed supervisor meld3
Cleaning up…

But not able to find supervisor in etc folder.

Do I need to run any command?



I did the above steps. But the link is not opening.

When I checked the process, it shows the running state. But in Browser it Web page not available.

service supervisord restart
Stopping supervisord: Shut down
Waiting roughly 60 seconds for /var/run/ to be removed after child processes exit
Supervisord exited as expected in under seconds
Starting supervisord:
frappe:frappe-web STARTING
frappe:frappe-worker STARTING
frappe:frappe-workerbeat STARTING

ps ax | grep super
21040 ? Ss 0:00 /usr/bin/python /usr/bin/supervisord -c /etc/supervisord.conf

ps ax | grep bench
21042 ? S 0:00 /var/www/html/ -m frappe.celery_app worker
21043 ? S 0:00 /var/www/html/ /var/www/html/ -b -w 2 -t 120
21044 ? S 0:00 /var/www/html/ -m frappe.celery_app beat -s test.schedule
21050 ? S 0:00 /var/www/html/ /var/www/html/ -b -w 2 -t 120
21051 ? S 0:00 /var/www/html/ /var/www/html/ -b -w 2 -t 120
21060 ? S 0:00 /var/www/html/ -m frappe.celery_app worker
21061 ? S 0:00 /var/www/html/ -m frappe.celery_app worker
21062 ? S 0:00 /var/www/html/ -m frappe.celery_app worker
21063 ? S 0:00 /var/www/html/ -m frappe.celery_app worker
21064 ? S 0:00 /var/www/html/ -m frappe.celery_app worker
21065 ? S 0:00 /var/www/html/ -m frappe.celery_app worker
21066 ? S 0:00 /var/www/html/ -m frappe.celery_app worker
21067 ? S 0:00 /var/www/html/ -m frappe.celery_app worker

As you can see above the process are running but the link is not opening.

Need your help to get it run.


curl localhost:8000 should work for you (will give 404) but should give a response.

did you setup nginx?

1 Like

Hi All,

Thank you all for helping me in loading ERPNext.

It’s running now.

Once again thank you all for being with me for installing and for your support.


Most welcome :smile:
Just a quick question, why did you not use the easy install script? (It would have got your covered for all the issues you faced in this thread).

I am working on a new script, so feedback is welcome…

Great Pratik Vyas,

First of all tons of thanks to you and your team for prompt and quick support.

I am on Cent OS 6. Initially tried the shell script only. But failed whenever it encountered any issues like the library or dependency is not installed or already installed. So I hardly proceeded with the script.

I am a developer and new on server side. I had to struggle a lot using the manual process. But with your help executed this process.

In My opinion:
In the below mentioned code of your script ( bolded one)

add_ius_repo() {
if [ $ARCH == “amd64” ]; then
if [ $OS_VER -eq “6” ]; then
rpm -Uvh epel-release-6-5.noarch.rpm
rpm -Uvh ius-release-1.0-13.ius.centos6.noarch.rpm


The script used to get exited at these lines saying the library is already installed or no package is marked for update. After frequent attempt I had to choose the manual process.

I shall be happy to assist you people to the best of my level.



You are right. May be I did some mistake. But since the default Python 2.6 was needed to system, I installed the latest separately. But even then it failed. May be it didn’t get the path or dont know.

But definitely try out again.


Thanks for your feedback!

I tihnk as the package was installed the rpm command exited with a non zero return code and thus stopped the execution of rest of the script. Will take care of this in the new script.

which branch to pull? all three give the same output GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps

frappe@erpnext:~/bench-repo$ git pull
remote: Counting objects: 15, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 15 (delta 4), reused 3 (delta 3), pack-reused 4
Unpacking objects: 100% (15/15), done.
From GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps
5080e06…3131fb8 master → origin/master
Updating 5080e06…3131fb8
Fast-forward | 2 ±
bench/ | 1 +
install_scripts/ | 32 ++++++++++++++++++++++++++++++++
3 files changed, 34 insertions(+), 1 deletion(-)
frappe@erpnext:~$ sudo pip install -e /home/frappe/bench-repo
[sudo] password for frappe:
Obtaining file:///home/frappe/bench-repo
Running egg_info for package from file:///home/frappe/bench-repo

file (for module bench) not found                                  

Requirement already satisfied (use --upgrade to upgrade): Click in /usr/local/li
b/python2.7/dist-packages (from bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): jinja2 in /usr/local/l
ib/python2.7/dist-packages (from bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): virtualenv in /usr/loc
al/lib/python2.7/dist-packages (from bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/local
/lib/python2.7/dist-packages (from bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): honcho in /usr/local/l
ib/python2.7/dist-packages (from bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): semantic-version in /u
sr/local/lib/python2.7/dist-packages (from bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): GitPython==0.3.2.RC1 i
n /usr/local/lib/python2.7/dist-packages (from bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): markupsafe in /usr/loc
al/lib/python2.7/dist-packages (from jinja2->bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): gitdb>=0.5.1 in /usr/l
ocal/lib/python2.7/dist-packages (from GitPython==0.3.2.RC1->bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): smmap>=0.8.5 in /usr/l
ocal/lib/python2.7/dist-packages (from gitdb>=0.5.1->GitPython==0.3.2.RC1->bench
Installing collected packages: bench
Running develop for bench
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth
file (for module bench) not found
Creating /usr/local/lib/python2.7/dist-packages/bench.egg-link (link to .)
bench 0.1 is already the active version in easy-install.pth
Installing bench script to /usr/local/bin

Installed /home/frappe/bench-repo                                           

Successfully installed bench
Cleaning up…
frappe@erpnext:~$ sudo bench patch mariadb-config
Usage: bench patch [OPTIONS] COMMAND [ARGS]…

Error: No such command “mariadb-config”.