Not able to open ERPNext after "bench setup nginx"

Hi there ,
I’ve hosted erpnext in my aws instance. So as part of productionizing it i tried to install nginx. But i’m not able to open the instance after running the command bench setup nginx

I’m attaching the error log down below which i got while tried to run bench start.

12:12:50 system           | watch.1 started (pid=2889)
12:12:50 system           | redis_socketio.1 started (pid=2891)
12:12:50 system           | redis_queue.1 started (pid=2890)
12:12:50 system           | schedule.1 started (pid=2896)
12:12:50 system           | worker_default.1 started (pid=2895)
12:12:50 system           | web.1 started (pid=2903)
12:12:50 system           | socketio.1 started (pid=2898)
12:12:50 system           | worker_long.1 started (pid=2900)
12:12:50 system           | redis_cache.1 started (pid=2897)
12:12:50 system           | worker_short.1 started (pid=2899)
12:12:50 redis_queue.1    | 2902:M 12 Jul 12:12:50.236 * Increased maximum number of open files to 10032 (it was originally set to 1024).
12:12:50 redis_queue.1    | 2902:M 12 Jul 12:12:50.237 # Creating Server TCP listening socket 127.0.0.1:11000: bind: Address already in use
12:12:50 system           | redis_queue.1 stopped (rc=1)
12:12:50 system           | sending SIGTERM to redis_socketio.1 (pid 2891)
12:12:50 system           | sending SIGTERM to worker_long.1 (pid 2900)
12:12:50 system           | sending SIGTERM to watch.1 (pid 2889)
12:12:50 system           | sending SIGTERM to web.1 (pid 2903)
12:12:50 system           | sending SIGTERM to schedule.1 (pid 2896)
12:12:50 system           | sending SIGTERM to worker_default.1 (pid 2895)
12:12:50 system           | sending SIGTERM to socketio.1 (pid 2898)
12:12:50 system           | sending SIGTERM to redis_cache.1 (pid 2897)
12:12:50 system           | sending SIGTERM to worker_short.1 (pid 2899)
12:12:50 system           | socketio.1 stopped (rc=-15)
12:12:50 system           | watch.1 stopped (rc=-15)
12:12:50 system           | worker_default.1 stopped (rc=-15)
12:12:50 system           | redis_socketio.1 stopped (rc=-15)
12:12:50 system           | redis_cache.1 stopped (rc=-15)
12:12:50 system           | schedule.1 stopped (rc=-15)
12:12:50 system           | worker_short.1 stopped (rc=-15)
12:12:50 system           | web.1 stopped (rc=-15)
12:12:50 system           | worker_long.1 stopped (rc=-15)

Please help me to find the issue.

Try

sudo systemctl restart supervisor

and/or

cd ~/frappe-bench; sudo supervisorctl restart all

it showing error Failed to start supervisor.service: Unit supervisor.service not found.

Are you running development mode (I don’t think dev-mode installs supervisor, but I’m not sure), or production mode?

You can install it with this…

sudo apt install supervisor -y