Bench start not working if restarting the server

While Initialising a fresh project using the bench init command bench start command is working fine but on restarting it is not working and showing the below errors, I have restarted Redis also

If you want auto start then you probably need to switch to production mode

Hi:

Seems that ports 11000 and 13000 are being used … maybe you are running other bench instances?

Stop processes in this ports with:

sudo kill -9 $(lsof -t -i:11000)
sudo kill -9 $(lsof -t -i:13000)

And run bench start again …

Hope this helps.

Not working port 11000 and 13000 are free still not working

Mm … your bench console says that …

There is something in your system using or blocking this ports. Maybe you can change ports for redis:

config/redis_cache.conf
config/redis_queue.conf

(redis_socketio seems work properly) …

You will need modify common_site_config.json too.

Hope this helps.

1 Like