Bench start Not Working(New)

Good Day! I’ve try to run the erpnext using the bench start command and its not working Need Help pls!! Thanks

02:24:09 system           | watch.1 started (pid=8847)
02:24:09 system           | worker_long.1 started (pid=8846)
02:24:09 system           | redis_cache.1 started (pid=8864)
02:24:09 system           | worker_short.1 started (pid=8868)
02:24:09 system           | schedule.1 started (pid=8849)
02:24:09 system           | worker_default.1 started (pid=8856)
02:24:09 system           | socketio.1 started (pid=8862)
02:24:09 system           | web.1 started (pid=8851)
02:24:09 system           | redis_queue.1 started (pid=8848)
02:24:09 system           | redis_socketio.1 started (pid=8855)
02:24:09 redis_cache.1    | [8872] 12 May 02:24:09.596 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
02:24:09 redis_cache.1    |                 _._                                                  
02:24:09 redis_cache.1    |            _.-``__ ''-._                                             
02:24:09 redis_cache.1    |       _.-``    `.  `_.  ''-._           Redis 2.8.4 (00000000/0) 32 bit
02:24:09 redis_cache.1    |   .-`` .-```.  ```\/    _.,_ ''-._                                   
02:24:09 redis_cache.1    |  (    '      ,       .-`  | `,    )     Running in stand alone mode
02:24:09 redis_cache.1    |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 11311
02:24:09 redis_cache.1    |  |    `-._   `._    /     _.-'    |     PID: 8872
02:24:09 redis_cache.1    |   `-._    `-._  `-./  _.-'    _.-'                                   
02:24:09 redis_cache.1    |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
02:24:09 redis_cache.1    |  |    `-._`-._        _.-'_.-'    |           http://redis.io        
02:24:09 redis_cache.1    |   `-._    `-._`-.__.-'_.-'    _.-'                                   
02:24:09 redis_cache.1    |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
02:24:09 redis_cache.1    |  |    `-._`-._        _.-'_.-'    |                                  
02:24:09 redis_cache.1    |   `-._    `-._`-.__.-'_.-'    _.-'                                   
02:24:09 redis_cache.1    |       `-._    `-.__.-'    _.-'                                       
02:24:09 redis_cache.1    |           `-._        _.-'                                           
02:24:09 redis_cache.1    |               `-.__.-'                                               
02:24:09 redis_cache.1    | 
02:24:09 redis_cache.1    | [8872] 12 May 02:24:09.596 # Server started, Redis version 2.8.4
02:24:09 redis_queue.1    | [8863] 12 May 02:24:09.592 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
02:24:09 redis_queue.1    | [8863] 12 May 02:24:09.592 # Creating Server TCP listening socket 127.0.0.1:6379: bind: Address already in use
02:24:09 system           | redis_queue.1 stopped (rc=1)
02:24:09 system           | sending SIGTERM to redis_socketio.1 (pid 8855)
02:24:09 system           | sending SIGTERM to worker_long.1 (pid 8846)
02:24:09 system           | sending SIGTERM to watch.1 (pid 8847)
02:24:09 system           | sending SIGTERM to web.1 (pid 8851)
02:24:09 system           | sending SIGTERM to schedule.1 (pid 8849)
02:24:09 system           | sending SIGTERM to worker_default.1 (pid 8856)
02:24:09 system           | sending SIGTERM to socketio.1 (pid 8862)
02:24:09 system           | sending SIGTERM to redis_cache.1 (pid 8864)
02:24:09 system           | sending SIGTERM to worker_short.1 (pid 8868)
02:24:09 system           | socketio.1 stopped (rc=-15)
02:24:09 redis_socketio.1 | [8866] 12 May 02:24:09.592 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
02:24:09 redis_socketio.1 | [8866] 12 May 02:24:09.592 # Warning: 32 bit instance detected but no memory limit set. Setting 3 GB maxmemory limit with 'noeviction' policy now.
02:24:09 redis_socketio.1 |                 _._                                                  
02:24:09 redis_socketio.1 |            _.-``__ ''-._                                             
02:24:09 redis_socketio.1 |       _.-``    `.  `_.  ''-._           Redis 2.8.4 (00000000/0) 32 bit
02:24:09 redis_socketio.1 |   .-`` .-```.  ```\/    _.,_ ''-._                                   
02:24:09 redis_socketio.1 |  (    '      ,       .-`  | `,    )     Running in stand alone mode
02:24:09 redis_socketio.1 |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 12311
02:24:09 redis_socketio.1 |  |    `-._   `._    /     _.-'    |     PID: 8866
02:24:09 redis_socketio.1 |   `-._    `-._  `-./  _.-'    _.-'                                   
02:24:09 redis_socketio.1 |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
02:24:09 redis_socketio.1 |  |    `-._`-._        _.-'_.-'    |           http://redis.io        
02:24:09 redis_socketio.1 |   `-._    `-._`-.__.-'_.-'    _.-'                                   
02:24:09 redis_socketio.1 |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
02:24:09 redis_socketio.1 |  |    `-._`-._        _.-'_.-'    |                                  
02:24:09 redis_socketio.1 |   `-._    `-._`-.__.-'_.-'    _.-'                                   
02:24:09 redis_socketio.1 |       `-._    `-.__.-'    _.-'                                       
02:24:09 redis_socketio.1 |           `-._        _.-'                                           
02:24:09 redis_socketio.1 |               `-.__.-'                                               
02:24:09 redis_socketio.1 | 
02:24:09 redis_socketio.1 | [8866] 12 May 02:24:09.592 # Server started, Redis version 2.8.4
02:24:09 system           | watch.1 stopped (rc=-15)
02:24:09 system           | worker_short.1 stopped (rc=-15)
02:24:09 system           | schedule.1 stopped (rc=-15)
02:24:09 system           | worker_default.1 stopped (rc=-15)
02:24:09 system           | web.1 stopped (rc=-15)
02:24:09 system           | worker_long.1 stopped (rc=-15)
02:24:09 redis_cache.1    | [8872 | signal handler] (1463034249) Received SIGTERM, scheduling shutdown...
02:24:09 redis_cache.1    | [8872] 12 May 02:24:09.956 * The server is now ready to accept connections on port 11311
02:24:09 redis_cache.1    | [8872] 12 May 02:24:09.956 # User requested shutdown...
02:24:09 redis_cache.1    | [8872] 12 May 02:24:09.956 # Redis is now ready to exit, bye bye...
02:24:09 redis_socketio.1 | [8866 | signal handler] (1463034249) Received SIGTERM, scheduling shutdown...
02:24:09 redis_socketio.1 | [8866] 12 May 02:24:09.956 * The server is now ready to accept connections on port 12311
02:24:09 system           | redis_cache.1 stopped (rc=-15)
02:24:10 redis_socketio.1 | [8866] 12 May 02:24:10.597 # User requested shutdown...
02:24:10 redis_socketio.1 | [8866] 12 May 02:24:10.597 # Redis is now ready to exit, bye bye...
02:24:10 system           | redis_socketio.1 stopped (rc=-15)
erpnext@erpnext-VirtualBox:~/frappe-bench/sites$ bench start
02:24:25 system           | watch.1 started (pid=8905)
02:24:25 system           | redis_socketio.1 started (pid=8904)
02:24:25 redis_socketio.1 | [8915] 12 May 02:24:25.253 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
02:24:25 redis_socketio.1 | [8915] 12 May 02:24:25.253 # Warning: 32 bit instance detected but no memory limit set. Setting 3 GB maxmemory limit with 'noeviction' policy now.
02:24:25 redis_socketio.1 |                 _._                                                  
02:24:25 redis_socketio.1 |            _.-``__ ''-._                                             
02:24:25 redis_socketio.1 |       _.-``    `.  `_.  ''-._           Redis 2.8.4 (00000000/0) 32 bit
02:24:25 redis_socketio.1 |   .-`` .-```.  ```\/    _.,_ ''-._                                   
02:24:25 redis_socketio.1 |  (    '      ,       .-`  | `,    )     Running in stand alone mode
02:24:25 redis_socketio.1 |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 12311
02:24:25 redis_socketio.1 |  |    `-._   `._    /     _.-'    |     PID: 8915
02:24:25 redis_socketio.1 |   `-._    `-._  `-./  _.-'    _.-'                                   
02:24:25 redis_socketio.1 |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
02:24:25 redis_socketio.1 |  |    `-._`-._        _.-'_.-'    |           http://redis.io        
02:24:25 redis_socketio.1 |   `-._    `-._`-.__.-'_.-'    _.-'                                   
02:24:25 redis_socketio.1 |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
02:24:25 redis_socketio.1 |  |    `-._`-._        _.-'_.-'    |                                  
02:24:25 redis_socketio.1 |   `-._    `-._`-.__.-'_.-'    _.-'                                   
02:24:25 redis_socketio.1 |       `-._    `-.__.-'    _.-'                                       
02:24:25 redis_socketio.1 |           `-._        _.-'                                           
02:24:25 redis_socketio.1 |               `-.__.-'                                               
02:24:25 redis_socketio.1 | 
02:24:25 redis_socketio.1 | [8915] 12 May 02:24:25.253 # Server started, Redis version 2.8.4
02:24:25 redis_socketio.1 | [8915] 12 May 02:24:25.253 * The server is now ready to accept connections on port 12311
02:24:25 system           | worker_long.1 started (pid=8903)
02:24:25 system           | redis_queue.1 started (pid=8910)
02:24:25 redis_queue.1    | [8921] 12 May 02:24:25.277 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
02:24:25 redis_queue.1    | [8921] 12 May 02:24:25.277 # Creating Server TCP listening socket 127.0.0.1:6379: bind: Address already in use
02:24:25 system           | redis_queue.1 stopped (rc=1)
02:24:25 system           | web.1 started (pid=8919)
02:24:25 system           | schedule.1 started (pid=8920)
02:24:25 system           | worker_default.1 started (pid=8922)
02:24:25 system           | redis_cache.1 started (pid=8932)
02:24:25 redis_cache.1    | [8936] 12 May 02:24:25.377 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
02:24:25 redis_cache.1    |                 _._                                                  
02:24:25 redis_cache.1    |            _.-``__ ''-._                                             
02:24:25 redis_cache.1    |       _.-``    `.  `_.  ''-._           Redis 2.8.4 (00000000/0) 32 bit
02:24:25 redis_cache.1    |   .-`` .-```.  ```\/    _.,_ ''-._                                   
02:24:25 redis_cache.1    |  (    '      ,       .-`  | `,    )     Running in stand alone mode
02:24:25 redis_cache.1    |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 11311
02:24:25 redis_cache.1    |  |    `-._   `._    /     _.-'    |     PID: 8936
02:24:25 redis_cache.1    |   `-._    `-._  `-./  _.-'    _.-'                                   
02:24:25 redis_cache.1    |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
02:24:25 redis_cache.1    |  |    `-._`-._        _.-'_.-'    |           http://redis.io        
02:24:25 redis_cache.1    |   `-._    `-._`-.__.-'_.-'    _.-'                                   
02:24:25 redis_cache.1    |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
02:24:25 redis_cache.1    |  |    `-._`-._        _.-'_.-'    |                                  
02:24:25 redis_cache.1    |   `-._    `-._`-.__.-'_.-'    _.-'                                   
02:24:25 redis_cache.1    |       `-._    `-.__.-'    _.-'                                       
02:24:25 redis_cache.1    |           `-._        _.-'                                           
02:24:25 redis_cache.1    |               `-.__.-'                                               
02:24:25 redis_cache.1    | 
02:24:25 redis_cache.1    | [8936] 12 May 02:24:25.377 # Server started, Redis version 2.8.4
02:24:25 redis_cache.1    | [8936] 12 May 02:24:25.377 * The server is now ready to accept connections on port 11311
02:24:25 system           | socketio.1 started (pid=8935)
02:24:25 system           | worker_short.1 started (pid=8934)
02:24:25 system           | sending SIGTERM to redis_socketio.1 (pid 8904)
02:24:25 system           | sending SIGTERM to worker_long.1 (pid 8903)
02:24:25 system           | sending SIGTERM to watch.1 (pid 8905)
02:24:25 system           | sending SIGTERM to web.1 (pid 8919)
02:24:25 system           | sending SIGTERM to schedule.1 (pid 8920)
02:24:25 system           | sending SIGTERM to worker_default.1 (pid 8922)
02:24:25 system           | sending SIGTERM to socketio.1 (pid 8935)
02:24:25 system           | sending SIGTERM to redis_cache.1 (pid 8932)
02:24:25 system           | sending SIGTERM to worker_short.1 (pid 8934)
02:24:25 redis_socketio.1 | [8915 | signal handler] (1463034265) Received SIGTERM, scheduling shutdown...
02:24:25 redis_cache.1    | [8936 | signal handler] (1463034265) Received SIGTERM, scheduling shutdown...
02:24:25 system           | web.1 stopped (rc=-15)
02:24:25 system           | worker_long.1 stopped (rc=-15)
02:24:25 system           | watch.1 stopped (rc=-15)
02:24:25 system           | worker_default.1 stopped (rc=-15)
02:24:25 system           | schedule.1 stopped (rc=-15)
02:24:25 system           | socketio.1 stopped (rc=-15)
02:24:25 system           | worker_short.1 stopped (rc=-15)
02:24:25 redis_socketio.1 | [8915] 12 May 02:24:25.577 # User requested shutdown...
02:24:25 redis_socketio.1 | [8915] 12 May 02:24:25.577 # Redis is now ready to exit, bye bye...
02:24:25 system           | redis_socketio.1 stopped (rc=-15)
02:24:25 redis_cache.1    | [8936] 12 May 02:24:25.621 # User requested shutdown...
02:24:25 redis_cache.1    | [8936] 12 May 02:24:25.621 # Redis is now ready to exit, bye bye...
02:24:25 system           | redis_cache.1 stopped (rc=-15)

It seems redis_queue is unable to bind to the port 6379. Is there something else running on there or redis_queue already started? Is this a production or development setup?

It is a Development Setup, How can I know if redis_queue already started? is there a log file?

@sam_salvador hi,

bench setup redis
bench setup supervisor
bench restart

@ramielian hello,
It still not working

 05:05:12 redis_cache.1    | [12714] 12 May 05:05:12.792 # Server started, Redis version 2.8.4
05:05:12 redis_cache.1    | [12714] 12 May 05:05:12.792 * The server is now ready to accept connections on port 11311
05:05:12 system           | socketio.1 started (pid=12706)
05:05:12 system           | worker_default.1 started (pid=12705)
05:05:12 system           | worker_short.1 started (pid=12711)
05:05:12 system           | sending SIGTERM to redis_socketio.1 (pid 12697)
05:05:12 system           | sending SIGTERM to worker_long.1 (pid 12686)
05:05:12 system           | sending SIGTERM to watch.1 (pid 12684)
05:05:12 system           | sending SIGTERM to web.1 (pid 12688)
05:05:12 system           | sending SIGTERM to schedule.1 (pid 12687)
05:05:12 system           | sending SIGTERM to worker_default.1 (pid 12705)
05:05:12 system           | sending SIGTERM to socketio.1 (pid 12706)
05:05:12 system           | sending SIGTERM to redis_cache.1 (pid 12707)
05:05:12 system           | sending SIGTERM to worker_short.1 (pid 12711)
05:05:12 redis_socketio.1 | [12700 | signal handler] (1463043912) Received SIGTERM, scheduling shutdown...
05:05:12 redis_socketio.1 | [12700] 12 May 05:05:12.856 # User requested shutdown...
05:05:12 redis_socketio.1 | [12700] 12 May 05:05:12.856 # Redis is now ready to exit, bye bye...
05:05:12 system           | redis_socketio.1 stopped (rc=-15)
05:05:12 redis_cache.1    | [12714 | signal handler] (1463043912) Received SIGTERM, scheduling shutdown...
05:05:12 system           | worker_long.1 stopped (rc=-15)
05:05:12 system           | web.1 stopped (rc=-15)
05:05:12 system           | watch.1 stopped (rc=-15)
05:05:12 system           | schedule.1 stopped (rc=-15)
05:05:12 system           | worker_default.1 stopped (rc=-15)
05:05:12 system           | worker_short.1 stopped (rc=-15)
05:05:12 system           | socketio.1 stopped (rc=-15)
05:05:12 redis_cache.1    | [12714] 12 May 05:05:12.908 # User requested shutdown...
05:05:12 redis_cache.1    | [12714] 12 May 05:05:12.908 # Redis is now ready to exit, bye bye...
05:05:12 system           | redis_cache.1 stopped (rc=-15)

can i ask if you did change redis configuration or nginx?

whats your os version?

I think simply restarting your PC / VM will help with this one.

I’ve tried to restart but its not working

About the configuration I’ve just new in erpnext and I’m trying to find the confiquration file. and still no luck
Ive running the ubuntu 14.04