ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Failing to start developement server [SOLVED]


#1

I am having a problem in starting the development server by following official frappe tutorial. I have been trying to start the development server by following command-

bench start

This is my error log-

~/bench-repo/bench$ bench start

15:26:06 system               | web.1 started (pid=4080)
15:26:06 system               | worker.1 started (pid=4082)
15:26:06 system               | workerbeat.1 started (pid=4079)
15:26:06 system               | redis_cache.1 started (pid=4086)
15:26:06 system               | socketio.1 started (pid=4088)
15:26:06 system               | redis_async_broker.1 started (pid=4084)
15:26:06 redis_cache.1        | [4096] 18 Oct 15:26:06.754 * Increased maximum number of open files to 10032 (it was originally set to 1024).
15:26:06 redis_cache.1        | [4096] 18 Oct 15:26:06.755 # Creating Server TCP listening socket *:11311: bind: Address already in use
15:26:06 system               | redis_cache.1 stopped (rc=1)
15:26:06 system               | sending SIGTERM to workerbeat.1 (pid 4079)
15:26:06 system               | sending SIGTERM to worker.1 (pid 4082)
15:26:06 system               | sending SIGTERM to web.1 (pid 4080)
15:26:06 system               | sending SIGTERM to socketio.1 (pid 4088)
15:26:06 system               | sending SIGTERM to redis_async_broker.1 (pid 4084)
15:26:06 system               | workerbeat.1 stopped (rc=-15)
15:26:06 system               | worker.1 stopped (rc=-15)
15:26:06 system               | web.1 stopped (rc=-15)
15:26:06 system               | socketio.1 stopped (rc=-15)
15:26:06 system               | redis_async_broker.1 stopped (rc=-15)

How can i solve this problem?

My OS is- Ubuntu Mate 1.8.2


#2

Apparantly, if we install frappe with --setup -production command, bench will automatically run in localhost. There is no need to use the bench start command.


#3

check your port is not available

sudo supervisorctl stop all

then start again

bench start


#4