Unable to start bench in development mode!

13:41:36 system        | worker.1 stopped (rc=1)
13:41:36 system        | sending SIGTERM to redis_cache.1 (pid 5882)
13:41:36 system        | sending SIGTERM to redis_queue.1 (pid 5886)
13:41:36 system        | sending SIGTERM to web.1 (pid 5890)
13:41:36 system        | sending SIGTERM to socketio.1 (pid 5892)
13:41:36 system        | sending SIGTERM to watch.1 (pid 5897)
13:41:36 system        | sending SIGTERM to schedule.1 (pid 5901)
13:41:36 redis_cache.1 | 5885:signal-handler (1715932596) Received SIGTERM scheduling shutdown...
13:41:36 redis_queue.1 | 5889:signal-handler (1715932596) Received SIGTERM scheduling shutdown...
13:41:36 system        | schedule.1 stopped (rc=-15)
13:41:36 system        | socketio.1 stopped (rc=-15)
13:41:36 system        | watch.1 stopped (rc=-15)
13:41:36 redis_queue.1 | 5889:M 17 May 2024 13:41:36.433 # User requested shutdown...
13:41:36 redis_queue.1 | 5889:M 17 May 2024 13:41:36.433 * Removing the pid file.
13:41:36 redis_queue.1 | 5889:M 17 May 2024 13:41:36.433 # Redis is now ready to exit, bye bye...
13:41:36 redis_cache.1 | 5885:M 17 May 2024 13:41:36.433 # User requested shutdown...
13:41:36 redis_cache.1 | 5885:M 17 May 2024 13:41:36.433 * Removing the pid file.
13:41:36 redis_cache.1 | 5885:M 17 May 2024 13:41:36.433 # Redis is now ready to exit, bye bye...

Hii @Prasant_Pant

I think it’s not starting because other processes are still running on the same port. First, you need to kill those processes.

Check if processes are running or not:
ps aux | grep bench

Kill process:
kill -9 <process_id>

Then, try starting over.

prasant@prasant-acer:~/frappe-bench$ ps aux | grep bench
prasant 3589 0.0 0.0 9432 2432 pts/0 S+ 09:45 0:00 grep --color=auto bench
prasant@prasant-acer:~/frappe-bench$ kill -9 3589
bash: kill: (3589) - No such process

Try these commands once:

  • bench update --reset
  • bench setup requirements
  • bench start

still not workin @Manav_Mandli