I'm trying to start bench but it doesn't work!

$bench start
13:38:02 system | redis_socketio.1 started (pid=14152)
13:38:02 system | worker_long.1 started (pid=14154)
13:38:02 system | watch.1 started (pid=14156)
13:38:02 system | redis_queue.1 started (pid=14158)
13:38:02 system | web.1 started (pid=14160)
13:38:01 redis_socketio.1 | 14152:C 24 Jun 13:38:01.931 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
13:38:01 redis_socketio.1 | 14152:C 24 Jun 13:38:01.931 # Redis version=4.0.10, bits=64, commit=00000000, modified=0, pid=14152, just started
13:38:01 redis_socketio.1 | 14152:C 24 Jun 13:38:01.931 # Configuration loaded
13:38:01 redis_socketio.1 | 14152:M 24 Jun 13:38:01.933 * Increased maximum number of open files to 10032 (it was originally set to 256).
13:38:01 redis_socketio.1 | 14152:M 24 Jun 13:38:01.938 * Running mode=standalone, port=12000.
13:38:01 redis_socketio.1 | 14152:M 24 Jun 13:38:01.938 # Server initialized
13:38:01 redis_socketio.1 | 14152:M 24 Jun 13:38:01.938 * Ready to accept connections
13:38:02 system | schedule.1 started (pid=14162)
13:38:01 redis_queue.1 | 14158:C 24 Jun 13:38:01.991 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
13:38:01 redis_queue.1 | 14158:C 24 Jun 13:38:01.992 # Redis version=4.0.10, bits=64, commit=00000000, modified=0, pid=14158, just started
13:38:01 redis_queue.1 | 14158:C 24 Jun 13:38:01.992 # Configuration loaded
13:38:01 redis_queue.1 | 14158:M 24 Jun 13:38:01.995 * Increased maximum number of open files to 10032 (it was originally set to 256).
13:38:02 redis_queue.1 | 14158:M 24 Jun 13:38:02.004 * Running mode=standalone, port=11000.
13:38:02 redis_queue.1 | 14158:M 24 Jun 13:38:02.004 # Server initialized
13:38:02 redis_queue.1 | 14158:M 24 Jun 13:38:02.004 * Ready to accept connections
13:38:02 system | worker_default.1 started (pid=14164)
13:38:02 system | socketio.1 started (pid=14166)
13:38:02 system | redis_cache.1 started (pid=14168)
13:38:02 system | worker_short.1 started (pid=14170)
13:38:02 redis_cache.1 | 14168:C 24 Jun 13:38:02.227 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
13:38:02 redis_cache.1 | 14168:C 24 Jun 13:38:02.228 # Redis version=4.0.10, bits=64, commit=00000000, modified=0, pid=14168, just started
13:38:02 redis_cache.1 | 14168:C 24 Jun 13:38:02.229 # Configuration loaded
13:38:02 redis_cache.1 | 14168:M 24 Jun 13:38:02.230 * Increased maximum number of open files to 10032 (it was originally set to 256).
13:38:02 redis_cache.1 | 14168:M 24 Jun 13:38:02.232 * Running mode=standalone, port=13000.
13:38:02 redis_cache.1 | 14168:M 24 Jun 13:38:02.232 # Server initialized
13:38:02 redis_cache.1 | 14168:M 24 Jun 13:38:02.232 * Ready to accept connections
13:38:02 worker_long.1 | Usage: bench [OPTIONS] COMMAND [ARGS]…
13:38:02 worker_long.1 |
13:38:02 worker_long.1 | Error: No such command “worker”.
13:38:02 system | worker_long.1 stopped (rc=2)
13:38:02 system | sending SIGTERM to redis_socketio.1 (pid 14152)
13:38:02 system | sending SIGTERM to watch.1 (pid 14156)
13:38:02 system | sending SIGTERM to redis_queue.1 (pid 14158)
13:38:02 system | sending SIGTERM to web.1 (pid 14160)
13:38:02 system | sending SIGTERM to schedule.1 (pid 14162)
13:38:02 system | sending SIGTERM to worker_default.1 (pid 14164)
13:38:02 system | sending SIGTERM to socketio.1 (pid 14166)
13:38:02 system | sending SIGTERM to redis_cache.1 (pid 14168)
13:38:02 system | sending SIGTERM to worker_short.1 (pid 14170)
13:38:02 redis_socketio.1 | 14152:signal-handler (1529840282) Received SIGTERM scheduling shutdown…
13:38:02 redis_queue.1 | 14158:signal-handler (1529840282) Received SIGTERM scheduling shutdown…
13:38:02 redis_cache.1 | 14168:signal-handler (1529840282) Received SIGTERM scheduling shutdown…
13:38:02 system | socketio.1 stopped (rc=-15)
13:38:02 system | watch.1 stopped (rc=-15)
13:38:02 system | worker_short.1 stopped (rc=-15)
13:38:02 system | worker_default.1 stopped (rc=-15)
13:38:02 system | schedule.1 stopped (rc=-15)
13:38:02 system | web.1 stopped (rc=-15)
13:38:02 redis_queue.1 | 14158:M 24 Jun 13:38:02.925 # User requested shutdown…
13:38:02 redis_queue.1 | 14158:M 24 Jun 13:38:02.925 * Removing the pid file.
13:38:02 redis_queue.1 | 14158:M 24 Jun 13:38:02.926 # Redis is now ready to exit, bye bye…
13:38:02 system | redis_queue.1 stopped (rc=0)
13:38:02 redis_cache.1 | 14168:M 24 Jun 13:38:02.948 # User requested shutdown…
13:38:02 redis_cache.1 | 14168:M 24 Jun 13:38:02.948 * Removing the pid file.
13:38:02 redis_cache.1 | 14168:M 24 Jun 13:38:02.949 # Redis is now ready to exit, bye bye…
13:38:02 system | redis_cache.1 stopped (rc=0)
13:38:02 redis_socketio.1 | 14152:M 24 Jun 13:38:02.960 # User requested shutdown…
13:38:02 redis_socketio.1 | 14152:M 24 Jun 13:38:02.960 * Removing the pid file.
13:38:02 redis_socketio.1 | 14152:M 24 Jun 13:38:02.961 # Redis is now ready to exit, bye bye…
13:38:02 system | redis_socketio.1 stopped (rc=0)

@awasha

Make sure you’re running the bench commands from frappe-bench folder.

Please change directory to frappe-bench folder and try again

I’m already under frappe-bench folder, I don’t know where is the problem why bench can’t start.

Is this your fresh setup?

Also try bench Update

If that didn’t work please let us know about the process you took to setup ERPNext.

Best,
Suraj

@surajshetty This msg was appear,When I trying to update bench “frappe-bench/env/bin/python: No module named frappe.utils” I use mac os terminal

@awasha

Similar issue, please go through the following thread.