Try ERPNext Buy Support Partners Foundation

Error when bench start is executed

Hello,
I tried to install bench and everything went fine.But when I do bench start in my terminal, it starts and then shows me error after Watching…
which is:

5176:M 09 Apr 23:56:29.491 * Increased maximum number of open files to 10032 (it was originally set to 1024).
23:56:29 redis_cache.1 | 15176:M 09 Apr 23:56:29.491 # Creating Server TCP listening socket 127.0.0.1:13000: bind: Address already in use
23:56:29 system | redis_cache.1 stopped (rc=1)
23:56:29 system | worker_short.1 started (pid=15174)
23:56:29 system | socketio.1 started (pid=15178)
23:56:29 system | sending SIGTERM to worker_long.1 (pid 15150)
23:56:29 system | sending SIGTERM to watch.1 (pid 15151)
23:56:29 system | sending SIGTERM to web.1 (pid 15152)
23:56:29 system | sending SIGTERM to schedule.1 (pid 15158)
23:56:29 system | sending SIGTERM to worker_default.1 (pid 15154)
23:56:29 system | sending SIGTERM to socketio.1 (pid 15178)
23:56:29 system | sending SIGTERM to worker_short.1 (pid 15174)
23:56:29 system | watch.1 stopped (rc=-15)
23:56:29 system | worker_default.1 stopped (rc=-15)
23:56:29 system | worker_short.1 stopped (rc=-15)
23:56:29 system | worker_long.1 stopped (rc=-15)
23:56:29 system | schedule.1 stopped (rc=-15)
23:56:29 system | web.1 stopped (rc=-15)
23:56:29 system | socketio.1 stopped (rc=-15)

Try for example Bench Start Cannot Working

Okay thanks

Yes it worked for me once but after that it doesnot work. It again shows the same error.
I used supervisorctl stop all and then bench start

ok the problem is you are mixing production versus development instance commands

whereas

bench start is used to start a development instance

these start and stop a production instance

sudo supervisorctl start all
sudo supervisorctl stop all