ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Redis Server Stopped On MAC


#1

➜ frappe-bench bench start

12:26:00 system | redis_cache.1 started (pid=1251)
12:26:00 system | redis_queue.1 started (pid=1254)
12:26:00 system | redis_socketio.1 started (pid=1252)
12:26:00 system | web.1 started (pid=1256)
12:26:00 system | socketio.1 started (pid=1257)
12:26:00 system | watch.1 started (pid=1259)
12:26:00 system | schedule.1 started (pid=1261)
12:26:00 system | worker_default.1 started (pid=1266)
12:26:00 redis_socketio.1 | 1252:C 08 Nov 2018 12:26:00.634 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
12:26:00 redis_socketio.1 | 1252:C 08 Nov 2018 12:26:00.634 # Redis version=5.0.1, bits=64, commit=00000000, modified=0, pid=1252, just started
12:26:00 redis_socketio.1 | 1252:C 08 Nov 2018 12:26:00.634 # Configuration loaded
12:26:00 redis_socketio.1 | 1252:M 08 Nov 2018 12:26:00.635 * Increased maximum number of open files to 10032 (it was originally set to 4864).
12:26:00 system | worker_short.1 started (pid=1264)
12:26:00 redis_socketio.1 | 1252:M 08 Nov 2018 12:26:00.637 * Running mode=standalone, port=12000.
12:26:00 redis_socketio.1 | 1252:M 08 Nov 2018 12:26:00.637 # Server initialized
12:26:00 redis_socketio.1 | 1252:M 08 Nov 2018 12:26:00.637 * Ready to accept connections
12:26:00 system | worker_long.1 started (pid=1265)
12:26:00 redis_queue.1 | 1254:C 08 Nov 2018 12:26:00.640 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
12:26:00 redis_queue.1 | 1254:C 08 Nov 2018 12:26:00.640 # Redis version=5.0.1, bits=64, commit=00000000, modified=0, pid=1254, just started
12:26:00 redis_queue.1 | 1254:C 08 Nov 2018 12:26:00.640 # Configuration loaded
12:26:00 redis_queue.1 | 1254:M 08 Nov 2018 12:26:00.642 * Increased maximum number of open files to 10032 (it was originally set to 4864).
12:26:00 redis_queue.1 | 1254:M 08 Nov 2018 12:26:00.644 * Running mode=standalone, port=11000.
12:26:00 redis_queue.1 | 1254:M 08 Nov 2018 12:26:00.644 # Server initialized
12:26:00 redis_queue.1 | 1254:M 08 Nov 2018 12:26:00.644 * Ready to accept connections
12:26:00 redis_cache.1 | 1251:C 08 Nov 2018 12:26:00.650 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
12:26:00 redis_cache.1 | 1251:C 08 Nov 2018 12:26:00.650 # Redis version=5.0.1, bits=64, commit=00000000, modified=0, pid=1251, just started
12:26:00 redis_cache.1 | 1251:C 08 Nov 2018 12:26:00.650 # Configuration loaded
12:26:00 redis_cache.1 | 1251:M 08 Nov 2018 12:26:00.654 * Increased maximum number of open files to 10032 (it was originally set to 4864).
12:26:00 redis_cache.1 | 1251:M 08 Nov 2018 12:26:00.655 * Running mode=standalone, port=13000.
12:26:00 redis_cache.1 | 1251:M 08 Nov 2018 12:26:00.655 # Server initialized
12:26:00 redis_cache.1 | 1251:M 08 Nov 2018 12:26:00.655 * Ready to accept connections
12:26:01 socketio.1 | listening on *: 9000
12:26:01 socketio.1 | events.js:136
12:26:01 socketio.1 | throw er; // Unhandled ‘error’ event
12:26:01 socketio.1 | ^
12:26:01 socketio.1 |
12:26:01 socketio.1 | Error: Redis connection to localhost:12000 failed - getaddrinfo ENOTFOUND localhost localhost:12000
12:26:01 socketio.1 | at errnoException (dns.js:55:10)
12:26:01 socketio.1 | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:97:26)
12:26:01 system | socketio.1 stopped (rc=1)
12:26:01 system | sending SIGTERM to redis_cache.1 (pid 1251)
12:26:01 system | sending SIGTERM to redis_socketio.1 (pid 1252)
12:26:01 system | sending SIGTERM to redis_queue.1 (pid 1254)
12:26:01 system | sending SIGTERM to web.1 (pid 1256)
12:26:01 system | sending SIGTERM to watch.1 (pid 1259)
12:26:01 system | sending SIGTERM to schedule.1 (pid 1261)
12:26:01 system | sending SIGTERM to worker_short.1 (pid 1264)
12:26:01 system | sending SIGTERM to worker_long.1 (pid 1265)
12:26:01 system | sending SIGTERM to worker_default.1 (pid 1266)
12:26:01 redis_cache.1 | 1251:signal-handler (1541658361) Received SIGTERM scheduling shutdown…
12:26:01 redis_queue.1 | 1254:signal-handler (1541658361) Received SIGTERM scheduling shutdown…
12:26:01 redis_socketio.1 | 1252:signal-handler (1541658361) Received SIGTERM scheduling shutdown…
12:26:01 system | web.1 stopped (rc=-15)
12:26:01 system | schedule.1 stopped (rc=-15)
12:26:01 system | worker_short.1 stopped (rc=-15)
12:26:01 system | worker_long.1 stopped (rc=-15)
12:26:01 system | watch.1 stopped (rc=-15)
12:26:01 system | worker_default.1 stopped (rc=-15)
12:26:01 redis_queue.1 | 1254:M 08 Nov 2018 12:26:01.560 # User requested shutdown…
12:26:01 redis_socketio.1 | 1252:M 08 Nov 2018 12:26:01.560 # User requested shutdown…
12:26:01 redis_queue.1 | 1254:M 08 Nov 2018 12:26:01.560 * Removing the pid file.
12:26:01 redis_socketio.1 | 1252:M 08 Nov 2018 12:26:01.560 * Removing the pid file.
12:26:01 redis_queue.1 | 1254:M 08 Nov 2018 12:26:01.560 # Redis is now ready to exit, bye bye…
12:26:01 redis_socketio.1 | 1252:M 08 Nov 2018 12:26:01.560 # Redis is now ready to exit, bye bye…
12:26:01 system | redis_queue.1 stopped (rc=0)
12:26:01 system | redis_socketio.1 stopped (rc=0)
12:26:01 redis_cache.1 | 1251:M 08 Nov 2018 12:26:01.580 # User requested shutdown…
12:26:01 redis_cache.1 | 1251:M 08 Nov 2018 12:26:01.580 * Removing the pid file.
12:26:01 redis_cache.1 | 1251:M 08 Nov 2018 12:26:01.580 # Redis is now ready to exit, bye bye…
12:26:01 system | redis_cache.1 stopped (rc=0)

When i try bench start it through above error. Please suggest me to solve this error.