When run bench start out error not open 0.0.0.0:8000 please help this error?

14:48:35 system           | schedule.1 started (pid=11302)
14:48:35 system           | redis_socketio.1 started (pid=11286)
14:48:35 redis_socketio.1 | 11297:M 19 Mar 14:48:35.429 * Increased maximum number of open files to 10032 (it was originally set to 1024).
14:48:35 redis_socketio.1 |                 _._                                                  
14:48:35 redis_socketio.1 |            _.-``__ ''-._                                             
14:48:35 redis_socketio.1 |       _.-``    `.  `_.  ''-._           Redis 3.0.6 (00000000/0) 64 bit
14:48:35 redis_socketio.1 |   .-`` .-```.  ```\/    _.,_ ''-._                                   
14:48:35 redis_socketio.1 |  (    '      ,       .-`  | `,    )     Running in standalone mode
14:48:35 redis_socketio.1 |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 12000
14:48:35 redis_socketio.1 |  |    `-._   `._    /     _.-'    |     PID: 11297
14:48:35 redis_socketio.1 |   `-._    `-._  `-./  _.-'    _.-'                                   
14:48:35 redis_socketio.1 |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
14:48:35 redis_socketio.1 |  |    `-._`-._        _.-'_.-'    |           http://redis.io        
14:48:35 redis_socketio.1 |   `-._    `-._`-.__.-'_.-'    _.-'                                   
14:48:35 redis_socketio.1 |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
14:48:35 redis_socketio.1 |  |    `-._`-._        _.-'_.-'    |                                  
14:48:35 redis_socketio.1 |   `-._    `-._`-.__.-'_.-'    _.-'                                   
14:48:35 redis_socketio.1 |       `-._    `-.__.-'    _.-'                                       
14:48:35 redis_socketio.1 |           `-._        _.-'                                           
14:48:35 redis_socketio.1 |               `-.__.-'                                               
14:48:35 redis_socketio.1 | 
14:48:35 redis_socketio.1 | 11297:M 19 Mar 14:48:35.429 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
14:48:35 redis_socketio.1 | 11297:M 19 Mar 14:48:35.429 # Server started, Redis version 3.0.6
14:48:35 redis_socketio.1 | 11297:M 19 Mar 14:48:35.429 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
14:48:35 redis_socketio.1 | 11297:M 19 Mar 14:48:35.429 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
14:48:35 redis_socketio.1 | 11297:M 19 Mar 14:48:35.429 * The server is now ready to accept connections on port 12000
14:48:35 system           | web.1 started (pid=11296)
14:48:35 system           | watch.1 started (pid=11288)
14:48:35 system           | worker_long.1 started (pid=11293)
14:48:35 system           | worker_default.1 started (pid=11298)
14:48:35 system           | redis_cache.1 started (pid=11303)
14:48:35 redis_cache.1    | 11315:M 19 Mar 14:48:35.442 * Increased maximum number of open files to 10032 (it was originally set to 1024).
14:48:35 redis_cache.1    |                 _._                                                  
14:48:35 redis_cache.1    |            _.-``__ ''-._                                             
14:48:35 redis_cache.1    |       _.-``    `.  `_.  ''-._           Redis 3.0.6 (00000000/0) 64 bit
14:48:35 redis_cache.1    |   .-`` .-```.  ```\/    _.,_ ''-._                                   
14:48:35 redis_cache.1    |  (    '      ,       .-`  | `,    )     Running in standalone mode
14:48:35 redis_cache.1    |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 13000
14:48:35 redis_cache.1    |  |    `-._   `._    /     _.-'    |     PID: 11315
14:48:35 redis_cache.1    |   `-._    `-._  `-./  _.-'    _.-'                                   
14:48:35 redis_cache.1    |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
14:48:35 redis_cache.1    |  |    `-._`-._        _.-'_.-'    |           http://redis.io        
14:48:35 redis_cache.1    |   `-._    `-._`-.__.-'_.-'    _.-'                                   
14:48:35 redis_cache.1    |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
14:48:35 redis_cache.1    |  |    `-._`-._        _.-'_.-'    |                                  
14:48:35 redis_cache.1    |   `-._    `-._`-.__.-'_.-'    _.-'                                   
14:48:35 redis_cache.1    |       `-._    `-.__.-'    _.-'                                       
14:48:35 redis_cache.1    |           `-._        _.-'                                           
14:48:35 redis_cache.1    |               `-.__.-'                                               
14:48:35 redis_cache.1    | 
14:48:35 redis_cache.1    | 11315:M 19 Mar 14:48:35.442 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
14:48:35 redis_cache.1    | 11315:M 19 Mar 14:48:35.442 # Server started, Redis version 3.0.6
14:48:35 redis_cache.1    | 11315:M 19 Mar 14:48:35.442 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
14:48:35 redis_cache.1    | 11315:M 19 Mar 14:48:35.442 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
14:48:35 redis_cache.1    | 11315:M 19 Mar 14:48:35.442 * The server is now ready to accept connections on port 13000
14:48:35 system           | redis_queue.1 started (pid=11290)
14:48:35 redis_queue.1    | 11310:M 19 Mar 14:48:35.436 * Increased maximum number of open files to 10032 (it was originally set to 1024).
14:48:35 redis_queue.1    |                 _._                                                  
14:48:35 redis_queue.1    |            _.-``__ ''-._                                             
14:48:35 redis_queue.1    |       _.-``    `.  `_.  ''-._           Redis 3.0.6 (00000000/0) 64 bit
14:48:35 redis_queue.1    |   .-`` .-```.  ```\/    _.,_ ''-._                                   
14:48:35 redis_queue.1    |  (    '      ,       .-`  | `,    )     Running in standalone mode
14:48:35 redis_queue.1    |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 11000
14:48:35 redis_queue.1    |  |    `-._   `._    /     _.-'    |     PID: 11310
14:48:35 redis_queue.1    |   `-._    `-._  `-./  _.-'    _.-'                                   
14:48:35 redis_queue.1    |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
14:48:35 redis_queue.1    |  |    `-._`-._        _.-'_.-'    |           http://redis.io        
14:48:35 redis_queue.1    |   `-._    `-._`-.__.-'_.-'    _.-'                                   
14:48:35 redis_queue.1    |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
14:48:35 redis_queue.1    |  |    `-._`-._        _.-'_.-'    |                                  
14:48:35 redis_queue.1    |   `-._    `-._`-.__.-'_.-'    _.-'                                   
14:48:35 redis_queue.1    |       `-._    `-.__.-'    _.-'                                       
14:48:35 redis_queue.1    |           `-._        _.-'                                           
14:48:35 redis_queue.1    |               `-.__.-'                                               
14:48:35 redis_queue.1    | 
14:48:35 redis_queue.1    | 11310:M 19 Mar 14:48:35.437 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
14:48:35 redis_queue.1    | 11310:M 19 Mar 14:48:35.437 # Server started, Redis version 3.0.6
14:48:35 redis_queue.1    | 11310:M 19 Mar 14:48:35.437 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
14:48:35 redis_queue.1    | 11310:M 19 Mar 14:48:35.437 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
14:48:35 redis_queue.1    | 11310:M 19 Mar 14:48:35.437 * The server is now ready to accept connections on port 11000
14:48:35 system           | worker_short.1 started (pid=11313)
14:48:35 system           | socketio.1 started (pid=11319)
14:48:35 socketio.1       | listening on *: 9000
14:48:37 web.1            |  * Running on http://0.0.0.0:8000/ (Press CTRL+C to quit)
14:48:37 web.1            |  * Restarting with inotify reloader
14:48:37 watch.1          | yarn run v1.15.2
14:48:37 watch.1          | $ node rollup/watch.js
14:48:37 web.1            |  * Debugger is active!
14:48:37 web.1            |  * Debugger PIN: 170-267-036
14:48:38 watch.1          | 
14:48:38 watch.1          | Rollup Watcher Started
14:48:38 watch.1          | 
14:48:38 watch.1          | Watching...
14:48:38 watch.1          | Rebuilding frappe-web.css
14:48:38 watch.1          | events.js:183
14:48:38 watch.1          |       throw er; // Unhandled 'error' event
14:48:38 watch.1          |       ^
14:48:38 watch.1          | 
14:48:38 watch.1          | Error: watch /home/vijeta/erpnext/apps/frappe/frappe/public/less/variables.less ENOSPC
14:48:38 watch.1          |     at FSWatcher.start (fs.js:1382:19)
14:48:38 watch.1          |     at Object.fs.watch (fs.js:1408:11)
14:48:38 watch.1          |     at createFsWatchInstance (/home/vijeta/erpnext/node_modules/chokidar/lib/nodefs-handler.js:38:15)
14:48:38 watch.1          |     at setFsWatchListener (/home/vijeta/erpnext/node_modules/chokidar/lib/nodefs-handler.js:81:15)
14:48:38 watch.1          |     at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/vijeta/erpnext/node_modules/chokidar/lib/nodefs-handler.js:233:14)
14:48:38 watch.1          |     at FSWatcher.NodeFsHandler._handleFile (/home/vijeta/erpnext/node_modules/chokidar/lib/nodefs-handler.js:262:21)
14:48:38 watch.1          |     at FSWatcher.<anonymous> (/home/vijeta/erpnext/node_modules/chokidar/lib/nodefs-handler.js:495:21)
14:48:38 watch.1          |     at FSReqWrap.oncomplete (fs.js:153:5)
14:48:38 watch.1          | error Command failed with exit code 1.
14:48:38 watch.1          | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
14:48:38 system           | watch.1 stopped (rc=0)
14:48:38 system           | sending SIGTERM to redis_socketio.1 (pid 11286)
14:48:38 system           | sending SIGTERM to worker_long.1 (pid 11293)
14:48:38 system           | sending SIGTERM to redis_queue.1 (pid 11290)
14:48:38 system           | sending SIGTERM to web.1 (pid 11296)
14:48:38 system           | sending SIGTERM to schedule.1 (pid 11302)
14:48:38 system           | sending SIGTERM to worker_default.1 (pid 11298)
14:48:38 system           | sending SIGTERM to socketio.1 (pid 11319)
14:48:38 system           | sending SIGTERM to redis_cache.1 (pid 11303)
14:48:38 system           | sending SIGTERM to worker_short.1 (pid 11313)
14:48:38 redis_socketio.1 | 11297:signal-handler (1552987118) Received SIGTERM scheduling shutdown...
14:48:38 redis_queue.1    | 11310:signal-handler (1552987118) Received SIGTERM scheduling shutdown...
14:48:38 system           | schedule.1 stopped (rc=-15)
14:48:38 system           | socketio.1 stopped (rc=-15)
14:48:38 redis_cache.1    | 11315:signal-handler (1552987118) Received SIGTERM scheduling shutdown...
14:48:38 worker_long.1    | 14:48:38 Warm shut down requested
14:48:38 worker_default.1 | 14:48:38 Warm shut down requested
14:48:38 worker_short.1   | 14:48:38 Warm shut down requested
14:48:38 redis_socketio.1 | 11297:M 19 Mar 14:48:38.437 # User requested shutdown...
14:48:38 redis_socketio.1 | 11297:M 19 Mar 14:48:38.438 # Redis is now ready to exit, bye bye...
14:48:38 system           | redis_socketio.1 stopped (rc=-15)
14:48:38 redis_queue.1    | 11310:M 19 Mar 14:48:38.442 # User requested shutdown...
14:48:38 redis_queue.1    | 11310:M 19 Mar 14:48:38.442 # Redis is now ready to exit, bye bye...
14:48:38 system           | redis_queue.1 stopped (rc=-15)
14:48:38 redis_cache.1    | 11315:M 19 Mar 14:48:38.452 # User requested shutdown...
14:48:38 redis_cache.1    | 11315:M 19 Mar 14:48:38.452 # Redis is now ready to exit, bye bye...
14:48:38 system           | redis_cache.1 stopped (rc=-15)
14:48:38 system           | worker_short.1 stopped (rc=-15)
14:48:38 system           | worker_long.1 stopped (rc=-15)
14:48:38 system           | worker_default.1 stopped (rc=-15)
14:48:38 system           | web.1 stopped (rc=-15)

It’s error you can search this error

=> try run

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

2 Likes

Thanks for your help, it worked.

1 Like