You are not logged in.

#1 2016-08-28 20:09:19

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

jupyter: the notebook server could not be started because no available

i am trying to start a jupyter notebook on localhost:8888 (the default), but all i get is this:

$ jupyter-notebook --debug
[D 23:06:40.416 NotebookApp] Searching ['/home/username', '/home/username/.jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 23:06:40.416 NotebookApp] Looking for jupyter_config in /etc/jupyter
[D 23:06:40.417 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 23:06:40.417 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter
[D 23:06:40.417 NotebookApp] Looking for jupyter_config in /home/username/.jupyter
[D 23:06:40.417 NotebookApp] Looking for jupyter_config in /home/username
[D 23:06:40.417 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter
[D 23:06:40.417 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter
[D 23:06:40.417 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter
[D 23:06:40.417 NotebookApp] Looking for jupyter_notebook_config in /home/username/.jupyter
[D 23:06:40.418 NotebookApp] Looking for jupyter_notebook_config in /home/username
[I 23:01:58.842 NotebookApp] The port 8888 is already in use, trying another port.
(...repeats...)
[C 23:02:00.987 NotebookApp] ERROR: the notebook server could not be started because no available port could be found.
[D 23:06:42.909 NotebookApp] Exiting application: jupyter-notebook

i tried various different ports, both much lower and much higher, as starting points, and raised the number of retries, but the result is always the same.

it has been suggested to look if jupyter is already running (ps aux|grep jupyter) and check the ports (sudo netstat -tnlp) - but it is not running, and none of the ports seems to be in use.

searching permutations of the error messages does not bring up more.

i feel i am missing something obvious...

Last edited by ondoho (2016-08-28 20:17:32)

Offline

Board footer

Powered by FluxBB