Error: "127.0.0.1 does not exist" when installing in ubuntu (WSL)

I try installing frappe-bench:

frappe@PAVILION:~/frappe-bench$ bench get-app erpnext https://github.com/frappe/erpnext
frappe@PAVILION:~/frappe-bench$ bench new-site site1.local
MySQL root password:

– I type in the passwords, but it takes a long time at previous prompt (minutes!), and then I get this:

Installing frappe...
Updating DocTypes for frappe        : [==========                              ]

– and this takes hours!! (but my machines cpu, memory, and harddisk are just at 10% or less)
– Finally I get my prompt back:

frappe@PAVILION:~/frappe-bench$
frappe@PAVILION:~/frappe-bench$

– I start the bench, and I get

frappe@PAVILION:~/frappe-bench$ bench start
04:32:19 system           | redis_socketio.1 started (pid=29413)
04:32:19 system           | worker_long.1 started (pid=29415)
04:32:19 redis_socketio.1 | [29417] 13 Feb 04:32:19.226 # Unable to set the max number of files limit to 10032 (Invalid argument), setting the max clients configuration to 2016.
04:32:19 redis_socketio.1 |                 _._
04:32:19 redis_socketio.1 |            _.-``__ ''-._
04:32:19 redis_socketio.1 |       _.-``    `.  `_.  ''-._           Redis 2.8.4 (00000000/0) 64 bit
04:32:19 redis_socketio.1 |   .-`` .-```.  ```\/    _.,_ ''-._
04:32:19 redis_socketio.1 |  (    '      ,       .-`  | `,    )     Running in stand alone mode
04:32:19 redis_socketio.1 |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 12000
04:32:19 redis_socketio.1 |  |    `-._   `._    /     _.-'    |     PID: 29417
...
...
...
04:32:28 web.1            |  * Debugger is active!
04:32:28 web.1            |  * Debugger pin code: 481-716-088

– no prompt is returned

– if I type in browser:
http://localhost:8000 --> I get error: localhost does not exist

– If I type in:
http://127.0.0.1:8000 --> I get error: 127.0.0.1 does not exist

stacktrace:

04:39:42 web.1            |     frappe.init(site=site, sites_path=_sites_path)
04:39:42 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 130, in init
04:39:42 web.1            |     local.conf = _dict(get_site_config())
04:39:42 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 185, in get_site_config
04:39:42 web.1            |     sys.exit(1)
04:39:42 web.1            | SystemExit: 1
04:39:42 web.1            | ----------------------------------------
04:39:47 web.1            | 127.0.0.1 does not exist
04:39:47 web.1            | ----------------------------------------
04:39:47 web.1            | Exception happened during processing of request from ('127.0.0.1', 52881)
04:39:47 web.1            | Traceback (most recent call last):
04:39:47 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 593, in process_request_thread
04:39:47 web.1            |     self.finish_request(request, client_address)
04:39:47 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
04:39:47 web.1            |     self.RequestHandlerClass(request, client_address, self)
04:39:47 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 649, in __init__
04:39:47 web.1            |     self.handle()
04:39:47 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 228, in handle
04:39:47 web.1            |     rv = BaseHTTPRequestHandler.handle(self)
04:39:47 web.1            |   File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
04:39:47 web.1            |     self.handle_one_request()
04:39:47 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 263, in handle_one_request
04:39:47 web.1            |     return self.run_wsgi()
04:39:47 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 205, in run_wsgi
04:39:47 web.1            |     execute(self.server.app)
04:39:47 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 195, in execute
04:39:47 web.1            |     for data in application_iter:
04:39:47 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/debug/__init__.py", line 284, in debug_application
04:39:47 web.1            |     app_iter = self.app(environ, start_response)
04:39:47 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/middlewares.py", line 15, in __call__
04:39:47 web.1            |     return super(StaticDataMiddleware, self).__call__(environ, start_response)
04:39:47 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
04:39:47 web.1            |     return self.app(environ, start_response)
04:39:47 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
04:39:47 web.1            |     return self.app(environ, start_response)
04:39:47 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/local.py", line 228, in application
04:39:47 web.1            |     return ClosingIterator(app(environ, start_response), self.cleanup)
04:39:47 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 291, in application
04:39:47 web.1            |     return f(*args[:-2] + (request,))(*args[-2:])
04:39:47 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 53, in application
04:39:47 web.1            |     init_request(request)
04:39:47 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 104, in init_request
04:39:47 web.1            |     frappe.init(site=site, sites_path=_sites_path)
04:39:47 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 130, in init
04:39:47 web.1            |     local.conf = _dict(get_site_config())
04:39:47 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 185, in get_site_config
04:39:47 web.1            |     sys.exit(1)
04:39:47 web.1            | SystemExit: 1

any ideas what goes wrong here?

Check your /etc/hosts file, you may have to add an entry there like
127.0.0.1 site1.local, after that you can try to use “site1.local:Port Name” in your URL

2 Likes

Hi @Pawan,

I did a reinstall with the easy install script for development: (https://github.com/frappe/bench)

Here are the step by step details:

> me@PAVILION:~$ ps aux
> -- check no processes are running (if they are, restart ubuntu)
> -- change to root:
> me@PAVILION:~$ sudo su -
> root@PAVILION:~# wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
> root@PAVILION:~# python install.py --develop --user frappe
> Please enter mysql root password:
> Please enter the default Administrator user password:
> -- pw: ******
> Passwords saved at ~/passwords.txt
>  [WARNING]: Host file not found: /etc/ansible/hosts
>  [WARNING]: provided hosts list is empty, only localhost is available
>  [WARNING]: Host file not found: /etc/ansible/hosts
>  [WARNING]: provided hosts list is empty, only localhost is available
>  [WARNING]: Consider using file module with owner rather than running chown
>  TASK [Set root Password] *******************************************************
> fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["mysqladmin", "-u", "root", "password", "naj-rzklk"], "delta": "0:00:00.023013", "end": "2017-02-13 07:09:58.652810", "failed": true, "rc": 1, "start": "2017-02-13 07:09:58.629797", "stderr": "\u0007mysqladmin: connect to server at 'localhost' failed\nerror: 'Access denied for user 'root'@'localhost' (using password: NO)'", "stdout": "", "stdout_lines": [], "warnings": []}
> ...ignoring
> Frappe/ERPNext has been successfully installed!
> root@PAVILION:~#
> root@PAVILION:~# bench start
> You should not run this command as root
> root@PAVILION:~# exit
> logout
> me@PAVILION:~$cd /home/frappe/frappe-bench
> IOError: [Errno 13] Permission denied: '/home/frappe/frappe-bench/logs/bench.log'
> me@PAVILION:/home/frappe/frappe-bench$ sudo su frappe
> frappe@PAVILION:~/frappe-bench$ bench start
> 07:16:08 system           | redis_socketio.1 started (pid=1755)
> 07:16:08 redis_socketio.1 | [1759] 13 Feb 07:16:08.672 # Unable to set the max number of files limit to 10032 (Invalid argument), setting the max clients configuration to 2016.
> 07:16:08 redis_socketio.1 |                 _._
> 07:16:08 redis_socketio.1 |            _.-``__ ''-._
> 07:16:08 redis_socketio.1 |       _.-``    `.  `_.  ''-._           Redis 2.8.4 (00000000/0) 64 bit
> 07:16:08 redis_socketio.1 |   .-`` .-```.  ```\/    _.,_ ''-._
> 07:16:08 redis_socketio.1 |  (    '      ,       .-`  | `,    )     Running in stand alone mode
> 07:16:08 redis_socketio.1 |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 12000
> 07:16:08 redis_socketio.1 |  |    `-._   `._    /     _.-'    |     PID: 1759
> 07:16:08 redis_socketio.1 |   `-._    `-._  `-./  _.-'    _.-'
> 07:16:08 redis_socketio.1 |  |`-._`-._    `-.__.-'    _.-'_.-'|
> 07:16:08 redis_socketio.1 |  |    `-._`-._        _.-'_.-'    |           http://redis.io
> ...
> ...
> 07:16:18 web.1            |  * Debugger is active!
> 07:16:18 web.1            |  * Debugger pin code: 481-716-088

> -- system ,halted
> -- in browser: http://localhost (nothing happens)
> -- in browser: http://localhost:8000 (ERROR):

> 07:18:23 web.1            | localhost does not exist
> 07:18:23 web.1            | ----------------------------------------
> 07:18:23 web.1            | Exception happened during processing of request from ('127.0.0.1', 53610)
> 07:18:23 web.1            | Traceback (most recent call last):
> 07:18:23 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 593, in process_request_thread
> 07:18:23 web.1            |     self.finish_request(request, client_address)
> 07:18:23 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
> 07:18:23 web.1            |     self.RequestHandlerClass(request, client_address, self)
> 07:18:23 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 649, in __init__
> 07:18:23 web.1            |     self.handle()
> 07:18:23 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 228, in handle
> 07:18:23 web.1            |     rv = BaseHTTPRequestHandler.handle(self)
> 07:18:23 web.1            |   File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
> 07:18:23 web.1            |     self.handle_one_request()
> 07:18:23 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 263, in handle_one_request
> 07:18:23 web.1            |     return self.run_wsgi()
> 07:18:23 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 205, in run_wsgi
> 07:18:23 web.1            |     execute(self.server.app)
> 07:18:23 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 195, in execute
> 07:18:23 web.1            |     for data in application_iter:
> 07:18:23 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/debug/__init__.py", line 284, in debug_application
> 07:18:23 web.1            |     app_iter = self.app(environ, start_response)
> 07:18:23 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/middlewares.py", line 15, in __call__
> 07:18:23 web.1            |     return super(StaticDataMiddleware, self).__call__(environ, start_response)
> 07:18:23 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
> 07:18:23 web.1            |     return self.app(environ, start_response)
> 07:18:23 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
> 07:18:23 web.1            |     return self.app(environ, start_response)
> 07:18:23 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/local.py", line 228, in application
> 07:18:23 web.1            |     return ClosingIterator(app(environ, start_response), self.cleanup)
> 07:18:23 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 291, in application
> 07:18:23 web.1            |     return f(*args[:-2] + (request,))(*args[-2:])
> 07:18:23 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 53, in application
> 07:18:23 web.1            |     init_request(request)
> 07:18:23 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 104, in init_request
> 07:18:23 web.1            |     frappe.init(site=site, sites_path=_sites_path)
> 07:18:23 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 130, in init
> 07:18:23 web.1            |     local.conf = _dict(get_site_config())
> 07:18:23 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 185, in get_site_config
> 07:18:23 web.1            |     sys.exit(1)
> 07:18:23 web.1            | SystemExit: 1
> 07:18:23 web.1            | ----------------------------------------
>                              07:18:54 web.1            | localhost does not exist
> 07:18:54 web.1            | ----------------------------------------
> 07:18:54 web.1            | Exception happened during processing of request from ('127.0.0.1', 53615)
> 07:18:54 web.1            | Traceback (most recent call last):
> 07:18:54 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 593, in process_request_thread
> 07:18:54 web.1            |     self.finish_request(request, client_address)
> 07:18:54 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
> 07:18:54 web.1            |     self.RequestHandlerClass(request, client_address, self)
> 07:18:54 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 649, in __init__
> 07:18:54 web.1            |     self.handle()
> 07:18:54 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 228, in handle
> 07:18:54 web.1            |     rv = BaseHTTPRequestHandler.handle(self)
> 07:18:54 web.1            |   File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
> 07:18:54 web.1            |     self.handle_one_request()
> 07:18:54 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 263, in handle_one_request
> 07:18:54 web.1            |     return self.run_wsgi()
> 07:18:54 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 205, in run_wsgi
> 07:18:54 web.1            |     execute(self.server.app)
> 07:18:54 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 195, in execute
> 07:18:54 web.1            |     for data in application_iter:
> 07:18:54 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/debug/__init__.py", line 284, in debug_application
> 07:18:54 web.1            |     app_iter = self.app(environ, start_response)
> 07:18:54 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/middlewares.py", line 15, in __call__
> 07:18:54 web.1            |     return super(StaticDataMiddleware, self).__call__(environ, start_response)
> 07:18:54 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
> 07:18:54 web.1            |     return self.app(environ, start_response)
> 07:18:54 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
> 07:18:54 web.1            |     return self.app(environ, start_response)
> 07:18:54 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/local.py", line 228, in application
> 07:18:54 web.1            |     return ClosingIterator(app(environ, start_response), self.cleanup)
> 07:18:54 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 291, in application
> 07:18:54 web.1            |     return f(*args[:-2] + (request,))(*args[-2:])
> 07:18:54 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 53, in application
> 07:18:54 web.1            |     init_request(request)
> 07:18:54 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 104, in init_request
> 07:18:54 web.1            |     frappe.init(site=site, sites_path=_sites_path)
> 07:18:54 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 130, in init
> 07:18:54 web.1            |     local.conf = _dict(get_site_config())
> 07:18:54 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 185, in get_site_config
> 07:18:54 web.1            |     sys.exit(1)
> 07:18:54 web.1            | SystemExit: 1
> 07:18:54 web.1            | ----------------------------------------

In browser: port 9000

If I type in browser http://localhost:9000, I get: Error: ENOENT: no such file or directory, stat /home/frappe/frappe-bench/index.html, at Error (native)

In browser: port 8000

http://localhost:8000 --> Error; The localhost page isn’t working. localhost didn’t send any data.

In browser: port 8080, 80, etc:

> http://localhost, http://localhost:8080, etc --> This site can’t be reached, localhost refused to connect.

I followed all the steps in the manual. (https://github.com/frappe/bench), what is going wrong?
I tried many times on different machines and I always get errors with the --development script.
Maybe there is an error in the script?

please any tips?
I am desperate trying to install erpnext (production and develoment).
I have figured out that the development version does not have erpnext installed.
Luckily I managed to install the dev version without errors
Starting bench start goes okay:

frappe@PAVILION:~/frappe-bench$ bench start
05:55:15 system           | redis_socketio.1 started (pid=28074)
05:55:15 redis_socketio.1 | [28078] 16 Feb 05:55:15.524 # Unable to set the max number of files limit to 10032 (Invalid argument), setting the max clients configuration to 2016.
05:55:15 redis_socketio.1 |                 _._
05:55:15 redis_socketio.1 |            _.-``__ ''-._
05:55:15 redis_socketio.1 |       _.-``    `.  `_.  ''-._           Redis 2.8.4 (00000000/0) 64 bit
...
05:55:23 web.1            |  * Debugger is active!
05:55:23 web.1            |  * Debugger pin code: 481-716-088

but when starting http://127.0.0.1:8000 in browser (chrome) says:

The 127.0.0.1 page isn’t working

127.0.0.1 didn’t send any data.
ERR_EMPTY_RESPONSE

if I do a netstat I see no ports open:

root@PAVILION:~# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node   Path
root@PAVILION:~#

If I look to the console I see errors triggered by this :

05:55:58 web.1            | ----------------------------------------
                                                                                                                                                                                                                                                               06:04:11 web.1            | 127.0.0.1 does not exist
    06:04:11 web.1            | ----------------------------------------
    06:04:11 web.1            | Exception happened during processing of request from ('127.0.0.1', 56169)
    06:04:11 web.1            | Traceback (most recent call last):
    06:04:11 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 593, in process_request_thread
    06:04:11 web.1            |     self.finish_request(request, client_address)
    06:04:11 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
    06:04:11 web.1            |     self.RequestHandlerClass(request, client_address, self)
    06:04:11 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 649, in __init__
    06:04:11 web.1            |     self.handle()
    06:04:11 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 228, in handle
    06:04:11 web.1            |     rv = BaseHTTPRequestHandler.handle(self)
    06:04:11 web.1            |   File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    06:04:11 web.1            |     self.handle_one_request()
    06:04:11 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 263, in handle_one_request
    06:04:11 web.1            |     return self.run_wsgi()
    06:04:11 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 205, in run_wsgi
    06:04:11 web.1            |     execute(self.server.app)
    06:04:11 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 195, in execute
    06:04:11 web.1            |     for data in application_iter:
    06:04:11 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/debug/__init__.py", line 284, in debug_application
    06:04:11 web.1            |     app_iter = self.app(environ, start_response)
    06:04:11 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/middlewares.py", line 15, in __call__
    06:04:11 web.1            |     return super(StaticDataMiddleware, self).__call__(environ, start_response)
    06:04:11 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
    06:04:11 web.1            |     return self.app(environ, start_response)
    06:04:11 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
    06:04:11 web.1            |     return self.app(environ, start_response)
    06:04:11 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/local.py", line 228, in application
    06:04:11 web.1            |     return ClosingIterator(app(environ, start_response), self.cleanup)
    06:04:11 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 291, in application
    06:04:11 web.1            |     return f(*args[:-2] + (request,))(*args[-2:])
    06:04:11 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 53, in application
    06:04:11 web.1            |     init_request(request)
    06:04:11 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 104, in init_request
    06:04:11 web.1            |     frappe.init(site=site, sites_path=_sites_path)
    06:04:11 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 130, in init
    06:04:11 web.1            |     local.conf = _dict(get_site_config())
    06:04:11 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 185, in get_site_config
    06:04:11 web.1            |     sys.exit(1)
    06:04:11 web.1            | SystemExit: 1
    06:04:11 web.1            | ----------------------------------------
    06:04:29 web.1            | 127.0.0.1 does not exist
    06:04:29 web.1            | ----------------------------------------
    06:04:29 web.1            | Exception happened during processing of request from ('127.0.0.1', 56170)
    06:04:29 web.1            | Traceback (most recent call last):
    06:04:29 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 593, in process_request_thread
    06:04:29 web.1            |     self.finish_request(request, client_address)
    06:04:29 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
    06:04:29 web.1            |     self.RequestHandlerClass(request, client_address, self)
    06:04:29 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 649, in __init__
    06:04:29 web.1            |     self.handle()
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 228, in handle
    06:04:29 web.1            |     rv = BaseHTTPRequestHandler.handle(self)
    06:04:29 web.1            |   File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    06:04:29 web.1            |     self.handle_one_request()
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 263, in handle_one_request
    06:04:29 web.1            |     return self.run_wsgi()
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 205, in run_wsgi
    06:04:29 web.1            |     execute(self.server.app)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 195, in execute
    06:04:29 web.1            |     for data in application_iter:
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/debug/__init__.py", line 284, in debug_application
    06:04:29 web.1            |     app_iter = self.app(environ, start_response)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/middlewares.py", line 15, in __call__
    06:04:29 web.1            |     return super(StaticDataMiddleware, self).__call__(environ, start_response)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
    06:04:29 web.1            |     return self.app(environ, start_response)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
    06:04:29 web.1            |     return self.app(environ, start_response)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/local.py", line 228, in application
    06:04:29 web.1            |     return ClosingIterator(app(environ, start_response), self.cleanup)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 291, in application
    06:04:29 web.1            |     return f(*args[:-2] + (request,))(*args[-2:])
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 53, in application
    06:04:29 web.1            |     init_request(request)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 104, in init_request
    06:04:29 web.1            |     frappe.init(site=site, sites_path=_sites_path)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 130, in init
    06:04:29 web.1            |     local.conf = _dict(get_site_config())
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 185, in get_site_config
    06:04:29 web.1            |     sys.exit(1)
    06:04:29 web.1            | SystemExit: 1
    06:04:29 web.1            | ----------------------------------------
    06:04:29 web.1            | 127.0.0.1 does not exist
    06:04:29 web.1            | ----------------------------------------
    06:04:29 web.1            | Exception happened during processing of request from ('127.0.0.1', 56171)
    06:04:29 web.1            | Traceback (most recent call last):
    06:04:29 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 593, in process_request_thread
    06:04:29 web.1            |     self.finish_request(request, client_address)
    06:04:29 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
    06:04:29 web.1            |     self.RequestHandlerClass(request, client_address, self)
    06:04:29 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 649, in __init__
    06:04:29 web.1            |     self.handle()
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 228, in handle
    06:04:29 web.1            |     rv = BaseHTTPRequestHandler.handle(self)
    06:04:29 web.1            |   File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    06:04:29 web.1            |     self.handle_one_request()
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 263, in handle_one_request
    06:04:29 web.1            |     return self.run_wsgi()
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 205, in run_wsgi
    06:04:29 web.1            |     execute(self.server.app)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 195, in execute
    06:04:29 web.1            |     for data in application_iter:
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/debug/__init__.py", line 284, in debug_application
    06:04:29 web.1            |     app_iter = self.app(environ, start_response)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/middlewares.py", line 15, in __call__
    06:04:29 web.1            |     return super(StaticDataMiddleware, self).__call__(environ, start_response)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
    06:04:29 web.1            |     return self.app(environ, start_response)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
    06:04:29 web.1            |     return self.app(environ, start_response)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/local.py", line 228, in application
    06:04:29 web.1            |     return ClosingIterator(app(environ, start_response), self.cleanup)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 291, in application
    06:04:29 web.1            |     return f(*args[:-2] + (request,))(*args[-2:])
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 53, in application
    06:04:29 web.1            |     init_request(request)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 104, in init_request
    06:04:29 web.1            |     frappe.init(site=site, sites_path=_sites_path)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 130, in init
    06:04:29 web.1            |     local.conf = _dict(get_site_config())
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 185, in get_site_config
    06:04:29 web.1            |     sys.exit(1)
    06:04:29 web.1            | SystemExit: 1
    06:04:29 web.1            | ----------------------------------------
    06:04:29 web.1            | 127.0.0.1 does not exist
    06:04:29 web.1            | ----------------------------------------
    06:04:29 web.1            | Exception happened during processing of request from ('127.0.0.1', 56172)
    06:04:29 web.1            | Traceback (most recent call last):
    06:04:29 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 593, in process_request_thread
    06:04:29 web.1            |     self.finish_request(request, client_address)
    06:04:29 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
    06:04:29 web.1            |     self.RequestHandlerClass(request, client_address, self)
    06:04:29 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 649, in __init__
    06:04:29 web.1            |     self.handle()
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 228, in handle
    06:04:29 web.1            |     rv = BaseHTTPRequestHandler.handle(self)
    06:04:29 web.1            |   File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    06:04:29 web.1            |     self.handle_one_request()
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 263, in handle_one_request
    06:04:29 web.1            |     return self.run_wsgi()
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 205, in run_wsgi
    06:04:29 web.1            |     execute(self.server.app)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 195, in execute
    06:04:29 web.1            |     for data in application_iter:
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/debug/__init__.py", line 284, in debug_application
    06:04:29 web.1            |     app_iter = self.app(environ, start_response)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/middlewares.py", line 15, in __call__
    06:04:29 web.1            |     return super(StaticDataMiddleware, self).__call__(environ, start_response)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
    06:04:29 web.1            |     return self.app(environ, start_response)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
    06:04:29 web.1            |     return self.app(environ, start_response)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/local.py", line 228, in application
    06:04:29 web.1            |     return ClosingIterator(app(environ, start_response), self.cleanup)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 291, in application
    06:04:29 web.1            |     return f(*args[:-2] + (request,))(*args[-2:])
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 53, in application
    06:04:29 web.1            |     init_request(request)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 104, in init_request
    06:04:29 web.1            |     frappe.init(site=site, sites_path=_sites_path)
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 130, in init
    06:04:29 web.1            |     local.conf = _dict(get_site_config())
    06:04:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 185, in get_site_config
    06:04:29 web.1            |     sys.exit(1)
    06:04:29 web.1            | SystemExit: 1
    06:04:29 web.1            | ----------------------------------------
    06:05:29 web.1            | 127.0.0.1 does not exist
    06:05:29 web.1            | ----------------------------------------
    06:05:29 web.1            | Exception happened during processing of request from ('127.0.0.1', 56173)
    06:05:29 web.1            | Traceback (most recent call last):
    06:05:29 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 593, in process_request_thread
    06:05:29 web.1            |     self.finish_request(request, client_address)
    06:05:29 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
    06:05:29 web.1            |     self.RequestHandlerClass(request, client_address, self)
    06:05:29 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 649, in __init__
    06:05:29 web.1            |     self.handle()
    06:05:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 228, in handle
    06:05:29 web.1            |     rv = BaseHTTPRequestHandler.handle(self)
    06:05:29 web.1            |   File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    06:05:29 web.1            |     self.handle_one_request()
    06:05:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 263, in handle_one_request
    06:05:29 web.1            |     return self.run_wsgi()
    06:05:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 205, in run_wsgi
    06:05:29 web.1            |     execute(self.server.app)
    06:05:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 195, in execute
    06:05:29 web.1            |     for data in application_iter:
    06:05:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/debug/__init__.py", line 284, in debug_application
    06:05:29 web.1            |     app_iter = self.app(environ, start_response)
    06:05:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/middlewares.py", line 15, in __call__
    06:05:29 web.1            |     return super(StaticDataMiddleware, self).__call__(environ, start_response)
    06:05:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
    06:05:29 web.1            |     return self.app(environ, start_response)
    06:05:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
    06:05:29 web.1            |     return self.app(environ, start_response)
    06:05:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/local.py", line 228, in application
    06:05:29 web.1            |     return ClosingIterator(app(environ, start_response), self.cleanup)
    06:05:29 web.1            |   File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 291, in application
    06:05:29 web.1            |     return f(*args[:-2] + (request,))(*args[-2:])
    06:05:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 53, in application
    06:05:29 web.1            |     init_request(request)
    06:05:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 104, in init_request
    06:05:29 web.1            |     frappe.init(site=site, sites_path=_sites_path)
    06:05:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 130, in init
    06:05:29 web.1            |     local.conf = _dict(get_site_config())
    06:05:29 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 185, in get_site_config
    06:05:29 web.1            |     sys.exit(1)
    06:05:29 web.1            | SystemExit: 1
    06:05:29 web.1            | ----------------------------------------

Are there things not installed, or do I need to pass another command?
How to get http://127.0.0.1:8000 working?

This worked for me thank you and much appreciated