Hi all
I Cannnot start bench using bench start
command.
I am running erpnext on my ubuntu 16.04.
The error showing on terminal is
15:33:00 redis_queue.1 | 6689:M 27 Jun 15:33:00.840 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
15:33:00 redis_queue.1 | 6689:M 27 Jun 15:33:00.840 # Server started, Redis version 3.0.6
15:33:00 redis_queue.1 | 6689:M 27 Jun 15:33:00.840 # 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.
15:33:00 redis_queue.1 | 6689:M 27 Jun 15:33:00.840 # 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.
15:33:00 redis_queue.1 | 6689:M 27 Jun 15:33:00.840 * The server is now ready to accept connections on port 11000
15:33:01 socketio.1 | module.js:328
15:33:01 socketio.1 | throw err;
15:33:01 socketio.1 | ^
15:33:01 socketio.1 |
15:33:01 socketio.1 | Error: Cannot find module 'socket.io'
15:33:01 socketio.1 | at Function.Module._resolveFilename (module.js:326:15)
15:33:01 socketio.1 | at Function.Module._load (module.js:277:25)
15:33:01 socketio.1 | at Module.require (module.js:354:17)
15:33:01 socketio.1 | at require (internal/module.js:12:17)
15:33:01 socketio.1 | at Object.<anonymous> (/home/amitha/erpnext-thinksmart/frappe-bench/apps/frappe/socketio.js:3:10)
15:33:01 socketio.1 | at Module._compile (module.js:410:26)
15:33:01 socketio.1 | at Object.Module._extensions..js (module.js:417:10)
15:33:01 socketio.1 | at Module.load (module.js:344:32)
15:33:01 socketio.1 | at Function.Module._load (module.js:301:12)
15:33:01 socketio.1 | at Function.Module.runMain (module.js:442:10)
15:33:01 system | socketio.1 stopped (rc=1)
15:33:01 system | sending SIGTERM to redis_socketio.1 (pid 6666)
15:33:01 system | sending SIGTERM to worker_long.1 (pid 6661)
15:33:01 system | sending SIGTERM to watch.1 (pid 6665)
15:33:01 system | sending SIGTERM to redis_queue.1 (pid 6688)
15:33:01 system | sending SIGTERM to web.1 (pid 6670)
15:33:01 system | sending SIGTERM to schedule.1 (pid 6667)
15:33:01 system | sending SIGTERM to worker_default.1 (pid 6676)
15:33:01 system | sending SIGTERM to redis_cache.1 (pid 6668)
15:33:01 system | sending SIGTERM to worker_short.1 (pid 6697)
15:33:01 redis_socketio.1 | 6672:signal-handler (1498557781) Received SIGTERM scheduling shutdown...
15:33:01 redis_socketio.1 | 6672:M 27 Jun 15:33:01.332 # User requested shutdown...
15:33:01 redis_socketio.1 | 6672:M 27 Jun 15:33:01.332 # Redis is now ready to exit, bye bye...
15:33:01 system | redis_socketio.1 stopped (rc=-15)
15:33:01 system | web.1 stopped (rc=-15)
15:33:01 redis_cache.1 | 6673:signal-handler (1498557781) Received SIGTERM scheduling shutdown...
15:33:01 redis_queue.1 | 6689:signal-handler (1498557781) Received SIGTERM scheduling shutdown...
15:33:01 redis_queue.1 | 6689:M 27 Jun 15:33:01.334 # User requested shutdown...
15:33:01 redis_queue.1 | 6689:M 27 Jun 15:33:01.335 # Redis is now ready to exit, bye bye...
15:33:01 system | redis_queue.1 stopped (rc=-15)
15:33:01 system | worker_long.1 stopped (rc=-15)
15:33:01 system | watch.1 stopped (rc=-15)
15:33:01 system | worker_short.1 stopped (rc=-15)
15:33:01 system | worker_default.1 stopped (rc=-15)
15:33:01 system | schedule.1 stopped (rc=-15)
15:33:01 redis_cache.1 | 6673:M 27 Jun 15:33:01.428 # User requested shutdown...
15:33:01 redis_cache.1 | 6673:M 27 Jun 15:33:01.428 # Redis is now ready to exit, bye bye...
15:33:01 system | redis_cache.1 stopped (rc=-15)
Anyone to how to solve this issue? plz