when i write bench start it brings this message and my system is not working?
07:54:08 system | worker_long.1 started (pid=3040)
07:54:08 system | watch.1 started (pid=3042)
07:54:08 system | schedule.1 started (pid=3051)
07:54:08 system | redis_socketio.1 started (pid=3039)
07:54:08 redis_socketio.1 | [3048] 22 Sep 07:54:08.394 # Fatal error, can’t open config file ‘config/redis_socketio.conf’
07:54:08 system | redis_socketio.1 stopped (rc=1)
07:54:08 system | web.1 started (pid=3046)
07:54:08 system | worker_short.1 started (pid=3066)
07:54:08 system | redis_queue.1 started (pid=3044)
07:54:08 redis_queue.1 | [3058] 22 Sep 07:54:08.396 # Fatal error, can’t open config file ‘config/redis_queue.conf’
07:54:08 system | redis_queue.1 stopped (rc=1)
07:54:08 system | worker_default.1 started (pid=3057)
07:54:08 system | redis_cache.1 started (pid=3059)
07:54:08 redis_cache.1 | [3070] 22 Sep 07:54:08.399 # Fatal error, can’t open config file ‘config/redis_cache.conf’
07:54:08 system | redis_cache.1 stopped (rc=1)
07:54:08 system | socketio.1 started (pid=3065)
07:54:08 system | sending SIGTERM to worker_long.1 (pid 3040)
07:54:08 system | sending SIGTERM to watch.1 (pid 3042)
07:54:08 system | sending SIGTERM to web.1 (pid 3046)
07:54:08 system | sending SIGTERM to schedule.1 (pid 3051)
07:54:08 system | sending SIGTERM to worker_default.1 (pid 3057)
07:54:08 system | sending SIGTERM to socketio.1 (pid 3065)
07:54:08 system | sending SIGTERM to worker_short.1 (pid 3066)
07:54:08 system | worker_long.1 stopped (rc=-15)
07:54:08 system | watch.1 stopped (rc=-15)
07:54:08 system | web.1 stopped (rc=-15)
07:54:08 system | schedule.1 stopped (rc=-15)
07:54:08 system | socketio.1 stopped (rc=-15)
07:54:08 system | worker_default.1 stopped (rc=-15)
07:54:08 system | worker_short.1 stopped (rc=-15)
what shall i do please?i have restarted the pc but not working it brings this error messages again
@makarand_b now it accepts the command but still not working
neham@neham-server:~$ sudo supervisorctl stop all
[sudo] password for neham:
neham@neham-server:~$ bench start
08:20:11 system | watch.1 started (pid=4534)
08:20:11 system | redis_socketio.1 started (pid=4530)
08:20:11 redis_socketio.1 | [4538] 22 Sep 08:20:11.323 # Fatal error, can’t open config file ‘config/redis_socketio.conf’
08:20:11 system | redis_socketio.1 stopped (rc=1)
08:20:11 system | worker_long.1 started (pid=4532)
08:20:11 system | worker_short.1 started (pid=4554)
08:20:11 system | socketio.1 started (pid=4551)
08:20:11 system | redis_cache.1 started (pid=4553)
08:20:11 system | worker_default.1 started (pid=4552)
08:20:11 system | schedule.1 started (pid=4544)
08:20:11 system | web.1 started (pid=4546)
08:20:11 system | redis_queue.1 started (pid=4536)
08:20:11 system | sending SIGTERM to worker_long.1 (pid 4532)
08:20:11 system | sending SIGTERM to watch.1 (pid 4534)
08:20:11 system | sending SIGTERM to redis_queue.1 (pid 4536)
08:20:11 system | sending SIGTERM to web.1 (pid 4546)
08:20:11 system | sending SIGTERM to schedule.1 (pid 4544)
08:20:11 system | sending SIGTERM to worker_default.1 (pid 4552)
08:20:11 system | sending SIGTERM to socketio.1 (pid 4551)
08:20:11 system | sending SIGTERM to redis_cache.1 (pid 4553)
08:20:11 system | sending SIGTERM to worker_short.1 (pid 4554)
08:20:11 redis_queue.1 | [4548] 22 Sep 08:20:11.323 # Fatal error, can’t open config file ‘config/redis_queue.conf’
08:20:11 system | redis_queue.1 stopped (rc=1)
08:20:11 system | worker_long.1 stopped (rc=-15)
08:20:11 system | watch.1 stopped (rc=-15)
08:20:11 system | schedule.1 stopped (rc=-15)
08:20:11 redis_cache.1 | [4560] 22 Sep 08:20:11.330 # Fatal error, can’t open config file ‘config/redis_cache.conf’
08:20:11 system | worker_default.1 stopped (rc=-15)
08:20:11 system | socketio.1 stopped (rc=-15)
08:20:11 system | web.1 stopped (rc=-15)
08:20:11 system | redis_cache.1 stopped (rc=-15)
08:20:11 system | worker_short.1 stopped (rc=-15)
neham@neham-server:~$
@KanchanChauhan thanks for your replay,but its bringing this message when i try it
neham@neham-server:~$ bench setup redis
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==4.1.0’, ‘console_scripts’, ‘bench’)()
File “/home/neham/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 716, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 696, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 534, in invoke
return callback(*args, **kwargs)
File “/home/neham/bench-repo/bench/commands/setup.py”, line 41, in setup_redis
generate_config(‘.’)
File “/home/neham/bench-repo/bench/config/redis.py”, line 10, in generate_config
ports[key] = urlparse.urlparse(config[key]).port
KeyError: ‘redis_cache’
neham@neham-server:~$
You will need to run this command from frappe-bench folder. It seems you are trying to execute from your HOME(~) folder. Please try running the following command from frappe-bench.
@shreyasp it brings this message,not working
neham@neham-server:~$ /frappe-bench$ bench setup redis
bash: /frappe-bench$: No such file or directory
neham@neham-server:~$