I use vultr service using new server and I tried steps provided here
Previously I run bench start
it complained port 11000, 12000, 13000 already in use. So I changed them into 11011, 12011, 13011. All redis services are now started, but now it complained event.js is not working because some address already in use.
Please advice.
Here is my log
03:13:29 system | redis_socketio.1 started (pid=2701)
03:13:29 redis_socketio.1 | [2708] 08 Oct 03:13:29.431 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
03:13:29 redis_socketio.1 | [2708] 08 Oct 03:13:29.432 # Warning: 32 bit instance detected but no memory limit set. Setting 3 GB maxmemory limit with 'noeviction' policy now.
03:13:29 redis_socketio.1 | _._
03:13:29 redis_socketio.1 | _.-``__ ''-._
03:13:29 redis_socketio.1 | _.-`` `. `_. ''-._ Redis 2.8.4 (00000000/0) 32 bit
03:13:29 redis_socketio.1 | .-`` .-```. ```\/ _.,_ ''-._
03:13:29 redis_socketio.1 | ( ' , .-` | `, ) Running in stand alone mode
03:13:29 redis_socketio.1 | |`-._`-...-` __...-.``-._|'` _.-'| Port: 12011
03:13:29 redis_socketio.1 | | `-._ `._ / _.-' | PID: 2708
03:13:29 redis_socketio.1 | `-._ `-._ `-./ _.-' _.-'
03:13:29 redis_socketio.1 | |`-._`-._ `-.__.-' _.-'_.-'|
03:13:29 redis_socketio.1 | | `-._`-._ _.-'_.-' | http://redis.io
03:13:29 redis_socketio.1 | `-._ `-._`-.__.-'_.-' _.-'
03:13:29 redis_socketio.1 | |`-._`-._ `-.__.-' _.-'_.-'|
03:13:29 redis_socketio.1 | | `-._`-._ _.-'_.-' |
03:13:29 redis_socketio.1 | `-._ `-._`-.__.-'_.-' _.-'
03:13:29 redis_socketio.1 | `-._ `-.__.-' _.-'
03:13:29 redis_socketio.1 | `-._ _.-'
03:13:29 redis_socketio.1 | `-.__.-'
03:13:29 redis_socketio.1 |
03:13:29 redis_socketio.1 | [2708] 08 Oct 03:13:29.468 # Server started, Redis version 2.8.4
03:13:29 redis_socketio.1 | [2708] 08 Oct 03:13:29.468 * The server is now ready to accept connections on port 12011
03:13:29 system | web.1 started (pid=2702)
03:13:29 system | watch.1 started (pid=2705)
03:13:29 system | redis_queue.1 started (pid=2704)
03:13:29 redis_queue.1 | [2713] 08 Oct 03:13:29.452 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
03:13:29 redis_queue.1 | [2713] 08 Oct 03:13:29.452 # Warning: 32 bit instance detected but no memory limit set. Setting 3 GB maxmemory limit with 'noeviction' policy now.
03:13:29 redis_queue.1 | _._
03:13:29 redis_queue.1 | _.-``__ ''-._
03:13:29 redis_queue.1 | _.-`` `. `_. ''-._ Redis 2.8.4 (00000000/0) 32 bit
03:13:29 redis_queue.1 | .-`` .-```. ```\/ _.,_ ''-._
03:13:29 redis_queue.1 | ( ' , .-` | `, ) Running in stand alone mode
03:13:29 redis_queue.1 | |`-._`-...-` __...-.``-._|'` _.-'| Port: 11011
03:13:29 redis_queue.1 | | `-._ `._ / _.-' | PID: 2713
03:13:29 redis_queue.1 | `-._ `-._ `-./ _.-' _.-'
03:13:29 redis_queue.1 | |`-._`-._ `-.__.-' _.-'_.-'|
03:13:29 redis_queue.1 | | `-._`-._ _.-'_.-' | http://redis.io
03:13:29 redis_queue.1 | `-._ `-._`-.__.-'_.-' _.-'
03:13:29 redis_queue.1 | |`-._`-._ `-.__.-' _.-'_.-'|
03:13:29 redis_queue.1 | | `-._`-._ _.-'_.-' |
03:13:29 redis_queue.1 | `-._ `-._`-.__.-'_.-' _.-'
03:13:29 redis_queue.1 | `-._ `-.__.-' _.-'
03:13:29 redis_queue.1 | `-._ _.-'
03:13:29 redis_queue.1 | `-.__.-'
03:13:29 redis_queue.1 |
03:13:29 redis_queue.1 | [2713] 08 Oct 03:13:29.482 # Server started, Redis version 2.8.4
03:13:29 redis_queue.1 | [2713] 08 Oct 03:13:29.482 * The server is now ready to accept connections on port 11011
03:13:29 system | schedule.1 started (pid=2703)
03:13:29 system | worker_default.1 started (pid=2706)
03:13:29 system | socketio.1 started (pid=2711)
03:13:29 system | redis_cache.1 started (pid=2725)
03:13:29 redis_cache.1 | [2731] 08 Oct 03:13:29.557 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
03:13:29 redis_cache.1 | _._
03:13:29 redis_cache.1 | _.-``__ ''-._
03:13:29 redis_cache.1 | _.-`` `. `_. ''-._ Redis 2.8.4 (00000000/0) 32 bit
03:13:29 redis_cache.1 | .-`` .-```. ```\/ _.,_ ''-._
03:13:29 redis_cache.1 | ( ' , .-` | `, ) Running in stand alone mode
03:13:29 redis_cache.1 | |`-._`-...-` __...-.``-._|'` _.-'| Port: 13011
03:13:29 redis_cache.1 | | `-._ `._ / _.-' | PID: 2731
03:13:29 redis_cache.1 | `-._ `-._ `-./ _.-' _.-'
03:13:29 redis_cache.1 | |`-._`-._ `-.__.-' _.-'_.-'|
03:13:29 redis_cache.1 | | `-._`-._ _.-'_.-' | http://redis.io
03:13:29 redis_cache.1 | `-._ `-._`-.__.-'_.-' _.-'
03:13:29 redis_cache.1 | |`-._`-._ `-.__.-' _.-'_.-'|
03:13:29 redis_cache.1 | | `-._`-._ _.-'_.-' |
03:13:29 redis_cache.1 | `-._ `-._`-.__.-'_.-' _.-'
03:13:29 redis_cache.1 | `-._ `-.__.-' _.-'
03:13:29 redis_cache.1 | `-._ _.-'
03:13:29 redis_cache.1 | `-.__.-'
03:13:29 redis_cache.1 |
03:13:29 redis_cache.1 | [2731] 08 Oct 03:13:29.591 # Server started, Redis version 2.8.4
03:13:29 redis_cache.1 | [2731] 08 Oct 03:13:29.591 * The server is now ready to accept connections on port 13011
03:13:29 system | worker_short.1 started (pid=2728)
03:13:32 socketio.1 | events.js:160
03:13:32 socketio.1 | throw er; // Unhandled 'error' event
03:13:32 socketio.1 | ^
03:13:32 socketio.1 |
03:13:32 socketio.1 | Error: listen EADDRINUSE :::9000
03:13:32 socketio.1 | at Object.exports._errnoException (util.js:1020:11)
03:13:32 socketio.1 | at exports._exceptionWithHostPort (util.js:1043:20)
03:13:32 socketio.1 | at Server._listen2 (net.js:1262:14)
03:13:32 socketio.1 | at listen (net.js:1298:10)
03:13:32 socketio.1 | at Server.listen (net.js:1394:5)
03:13:32 socketio.1 | at Object.<anonymous> (/home/frappe/frappe-bench/apps/frappe/socketio.js:25:6)
03:13:32 socketio.1 | at Module._compile (module.js:570:32)
03:13:32 socketio.1 | at Object.Module._extensions..js (module.js:579:10)
03:13:32 socketio.1 | at Module.load (module.js:487:32)
03:13:32 socketio.1 | at tryModuleLoad (module.js:446:12)
03:13:32 system | socketio.1 stopped (rc=1)
03:13:32 system | sending SIGTERM to redis_socketio.1 (pid 2701)
03:13:32 system | sending SIGTERM to worker_long.1 (pid 2700)
03:13:32 system | sending SIGTERM to watch.1 (pid 2705)
03:13:32 system | sending SIGTERM to redis_queue.1 (pid 2704)
03:13:32 system | sending SIGTERM to web.1 (pid 2702)
03:13:32 system | sending SIGTERM to schedule.1 (pid 2703)
03:13:32 system | sending SIGTERM to worker_default.1 (pid 2706)
03:13:32 system | sending SIGTERM to redis_cache.1 (pid 2725)
03:13:32 system | sending SIGTERM to worker_short.1 (pid 2728)
03:13:32 redis_socketio.1 | [2708 | signal handler] (1507432412) Received SIGTERM, scheduling shutdown...
03:13:32 redis_queue.1 | [2713 | signal handler] (1507432412) Received SIGTERM, scheduling shutdown...
03:13:32 redis_cache.1 | [2731 | signal handler] (1507432412) Received SIGTERM, scheduling shutdown...
03:13:32 system | schedule.1 stopped (rc=-15)
03:13:32 system | worker_long.1 stopped (rc=-15)
03:13:32 system | web.1 stopped (rc=-15)
03:13:32 redis_socketio.1 | [2708] 08 Oct 03:13:32.536 # User requested shutdown...
03:13:32 redis_socketio.1 | [2708] 08 Oct 03:13:32.537 # Redis is now ready to exit, bye bye...
03:13:32 system | redis_socketio.1 stopped (rc=-15)
03:13:32 system | watch.1 stopped (rc=-15)
03:13:32 system | worker_short.1 stopped (rc=-15)
03:13:32 system | worker_default.1 stopped (rc=-15)
03:13:32 redis_queue.1 | [2713] 08 Oct 03:13:32.557 # User requested shutdown...
03:13:32 redis_queue.1 | [2713] 08 Oct 03:13:32.557 # Redis is now ready to exit, bye bye...
03:13:32 system | redis_queue.1 stopped (rc=-15)
03:13:32 redis_cache.1 | [2731] 08 Oct 03:13:32.561 # User requested shutdown...
03:13:32 redis_cache.1 | [2731] 08 Oct 03:13:32.561 # Redis is now ready to exit, bye bye...
03:13:32 system | redis_cache.1 stopped (rc=-15)
Thanks in advance!
Update: I use ubuntu 14.04 32bit