my command line:
erpnextw@erpnextw:~/frappe-bench$ bench new-site site1.local
MySQL root password:
Traceback (most recent call last):
File “/usr/lib/python2.7/runpy.py”, line 162, in run_module_as_main
“main”, fname, loader, pkg_name)
File “/usr/lib/python2.7/runpy.py”, line 72, in run_code
exec code in run_globals
File “/home/erpnextw/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 77, in
main()
File “/home/erpnextw/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 14, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/home/erpnextw/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 610, in call
return self.main(*args, **kwargs)
File “/home/erpnextw/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 590, in main
rv = self.invoke(ctx)
File “/home/erpnextw/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 936, in invoke
return process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/erpnextw/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 936, in invoke
return process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/erpnextw/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/erpnextw/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 416, in invoke
return callback(*args, **kwargs)
File “/home/erpnextw/frappe-bench/apps/frappe/frappe/commands.py”, line 65, in new_site
new_site(db_name, site, mariadb_root_username=mariadb_root_username, mariadb_root_password=mariadb_root_password, admin_password=admin_password, verbose=verbose, install_apps=install_app, source_sql=source_sql, force=force)
File “/home/erpnextw/frappe-bench/apps/frappe/frappe/commands.py”, line 83, in new_site
install_db(root_login=mariadb_root_username, root_password=mariadb_root_password, db_name=db_name, admin_password=admin_password, verbose=verbose, source_sql=source_sql,force=force, reinstall=reinstall)
File “/home/erpnextw/frappe-bench/apps/frappe/frappe/installer.py”, line 31, in install_db
create_database_and_user(force, verbose)
File “/home/erpnextw/frappe-bench/apps/frappe/frappe/installer.py”, line 53, in create_database_and_user
raise Exception(“Database %s already exists” % (db_name,))
Exception: Database 1bd3e0294d already exists
erpnextw@erpnextw:~/frappe-bench$ ^C
erpnextw@erpnextw:~/frappe-bench$ bench start
00:50:01 system | workerbeat.1 started (pid=16137)
00:50:01 system | redis_cache.1 started (pid=16138)
00:50:01 redis_cache.1 | [16144] 27 Mar 00:50:01.975 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
00:50:01 redis_cache.1 | .
00:50:01 redis_cache.1 | .-__ ''-._ 00:50:01 redis_cache.1 | _.-
.
. ‘’-. Redis 2.8.4 (00000000/0) 64 bit
00:50:01 redis_cache.1 | .- .-```. ```\/ _.,_ ''-._ 00:50:01 redis_cache.1 | ( ' , .-` | `, ) Running in stand alone mode 00:50:01 redis_cache.1 | |`-._`-...-` __...-.
-.|'_.-'| Port: 11311 00:50:01 redis_cache.1 | |
-. ._ / _.-' | PID: 16144 00:50:01 redis_cache.1 |
-. -._
-./ .-’ .-’
00:50:01 redis_cache.1 | |-._
-. -.__.-' _.-'_.-'| 00:50:01 redis_cache.1 | |
-.-._ _.-'_.-' | http://redis.io 00:50:01 redis_cache.1 |
-. -._
-.__.-'.-’ .-’
00:50:01 redis_cache.1 | |-._
-. -.__.-' _.-'_.-'| 00:50:01 redis_cache.1 | |
-.-._ _.-'_.-' | 00:50:01 redis_cache.1 |
-. -._
-..-‘_.-’ _.-’
00:50:01 redis_cache.1 | -._
-..-’ _.-’
00:50:01 redis_cache.1 | -._ _.-' 00:50:01 redis_cache.1 |
-.__.-’
00:50:01 redis_cache.1 |
00:50:01 redis_cache.1 | [16144] 27 Mar 00:50:01.989 # Server started, Redis version 2.8.4
00:50:01 redis_cache.1 | [16144] 27 Mar 00:50:01.989 # 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.
00:50:01 redis_cache.1 | [16144] 27 Mar 00:50:01.989 * The server is now ready to accept connections on port 11311
00:50:01 system | web.1 started (pid=16136)
00:50:01 web.1 | /bin/sh: 1: ./env/bin/frappe: not found
00:50:01 system | web.1 stopped (rc=127)
00:50:01 system | worker.1 started (pid=16139)
00:50:01 system | sending SIGTERM to worker.1 (pid 16139)
00:50:02 system | sending SIGTERM to redis_cache.1 (pid 16138)
00:50:02 system | sending SIGTERM to workerbeat.1 (pid 16137)
00:50:02 redis_cache.1 | [16144 | signal handler] (1427431802) Received SIGTERM, scheduling shutdown…
00:50:02 redis_cache.1 | [16144] 27 Mar 00:50:02.001 # User requested shutdown…
00:50:02 redis_cache.1 | [16144] 27 Mar 00:50:02.001 # Redis is now ready to exit, bye bye…
00:50:02 system | redis_cache.1 stopped (rc=-15)
00:50:02 system | workerbeat.1 stopped (rc=-15)
00:50:02 system | worker.1 stopped (rc=-15)
Please help me asap… pleaseeeee…