Jupyterhub PermissionError: [Errno 13] Permission denied

748 views
Skip to first unread message

r.m...@plenium.com

unread,
Dec 4, 2017, 12:08:58 PM12/4/17
to Project Jupyter
Hello, I am trying to install Jupyterhub on Ubuntu 16.04 using conda with the latest versions. I generated the config file after install but havent changed anything on it. SSL not setup yet. When I run jupyterhub I am getting a Permission denied. Can someone help to resolve this issue. Thanks.

Ran below install commands:

# conda install -c conda-forge jupyterhub

# conda install notebook

# jupyterhub --generate-config -f /etc/jupyterhub/jupyterhub_config.py


root@:/etc/jupyterhub# jupyterhub -f /etc/jupyterhub/jupyterhub_config.py

[I 2017-12-04 11:53:14.503 JupyterHub app:834] Loading cookie_secret from /etc/jupyterhub/jupyterhub_cookie_secret
[W 2017-12-04 11:53:14.584 JupyterHub app:955] No admin users, admin interface will be unavailable.
[W 2017-12-04 11:53:14.584 JupyterHub app:956] Add any administrative users to `c.Authenticator.admin_users` in config.
[I 2017-12-04 11:53:14.584 JupyterHub app:983] Not using whitelist. Any authenticated user will be allowed.
[E 2017-12-04 11:53:14.628 JupyterHub app:1525] Failed to bind hub to http://127.0.0.1:8081/hub/
[E 2017-12-04 11:53:14.633 JupyterHub app:1623]
    Traceback (most recent call last):
      File "/opt/anaconda3/lib/python3.6/site-packages/jupyterhub/app.py", line 1621, in launch_instance_async
        yield self.start()
      File "/opt/anaconda3/lib/python3.6/site-packages/jupyterhub/app.py", line 1523, in start
        self.http_server.listen(self.hub_port, address=self.hub_ip)
      File "/opt/anaconda3/lib/python3.6/site-packages/tornado/tcpserver.py", line 142, in listen
        sockets = bind_sockets(port, address=address)
      File "/opt/anaconda3/lib/python3.6/site-packages/tornado/netutil.py", line 197, in bind_sockets
        sock.bind(sockaddr)
    PermissionError: [Errno 13] Permission denied

Reply all
Reply to author
Forward
0 new messages