jupyter总是在出发后一分钟之内被杀死

时间:2018-10-30 20:18:25

标签: python jupyter-notebook jupyter

有一些服务器可以启动jupyter笔记本。我无法在服务器上安装任何东西。服务器上有2个jupyter

  • / opt / anaconda2 / bin / jupyter($ which jupyter指向此位置)
  • / opt / anaconda3 / bin / jupyter

以前,所有方法都至少可以与前jupyter一起正常工作。现在我没有时间做任何事情,直到jupyter被杀害为止。以下是尝试运行jupyter的日志:

anaconda2:

[loom@tatooin ~]$ jupyter notebook
[I 22:28:16.295 NotebookApp] JupyterLab beta preview extension loaded from /opt/anaconda2/lib/python2.7/site-packages/jupyterlab
[I 22:28:16.296 NotebookApp] JupyterLab application directory is /export/home/anaconda2/share/jupyter/lab
[I 22:28:16.304 NotebookApp] Serving notebooks from local directory: /export/home/loom
[I 22:28:16.304 NotebookApp] 0 active kernels
[I 22:28:16.304 NotebookApp] The Jupyter Notebook is running at:
[I 22:28:16.305 NotebookApp] https://[all ip addresses on your system]:23561/
[I 22:28:16.305 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 22:28:34.540 NotebookApp] Couldn't authenticate WebSocket connection
[W 22:28:34.635 NotebookApp] 403 GET /api/kernels/4bcd5f94-14fa-43f8-b472-9ca962d6b431/channels?session_id=16896E9D58B44EF6B3B0372571931EC4 (192.168.123.50) 99.95ms referer=None
[I 22:28:34.772 NotebookApp] 302 GET /tree (192.168.123.50) 2.00ms
[I 22:28:44.785 NotebookApp] 302 POST /login?next=%2Ftree (192.168.123.50) 4.10ms
[I 22:28:49.929 NotebookApp] Kernel started: a713b7d7-c0e7-4f5a-bd86-2fdf1198cdde
/opt/anaconda3/lib/python3.5/site-packages/IPython/kernel/__init__.py:13: ShimWarning: The `IPython.kernel` package has been deprecated. You should import from ipykernel or jupyter_client instead.
  "You should import from ipykernel or jupyter_client instead.", ShimWarning)
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
18/10/30 22:28:56 WARN Utils: Service 'SparkUI' could not bind on port 4040. Attempting port 4041.
18/10/30 22:28:56 WARN Utils: Service 'SparkUI' could not bind on port 4041. Attempting port 4042.
18/10/30 22:28:56 WARN Utils: Service 'SparkUI' could not bind on port 4042. Attempting port 4043.
Killed
[loom@tatooin ~]$ jupyter notebook
[I 22:29:30.574 NotebookApp] JupyterLab beta preview extension loaded from /opt/anaconda2/lib/python2.7/site-packages/jupyterlab
[I 22:29:30.574 NotebookApp] JupyterLab application directory is /export/home/anaconda2/share/jupyter/lab
[I 22:29:30.582 NotebookApp] Serving notebooks from local directory: /export/home/loom
[I 22:29:30.582 NotebookApp] 0 active kernels
[I 22:29:30.583 NotebookApp] The Jupyter Notebook is running at:
[I 22:29:30.583 NotebookApp] https://[all ip addresses on your system]:23561/
[I 22:29:30.583 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 22:29:35.431 NotebookApp] 404 GET /api/kernels/46def7ee-db30-4072-8507-0908ff2d8134/channels?session_id=13557317E5094D0D845700C49B467491 (192.168.123.50): Kernel does not exist: 46def7ee-db30-4072-8507-0908ff2d8134
[W 22:29:35.440 NotebookApp] 404 GET /api/kernels/46def7ee-db30-4072-8507-0908ff2d8134/channels?session_id=13557317E5094D0D845700C49B467491 (192.168.123.50) 14.44ms referer=None
[I 22:29:41.097 NotebookApp] Creating new notebook in
[I 22:29:42.276 NotebookApp] Kernel started: 9936287c-d94d-401b-94db-8d87f6cc52dc
Killed
[loom@tatooin ~]$ jupyter notebook
[I 22:30:24.477 NotebookApp] JupyterLab beta preview extension loaded from /opt/anaconda2/lib/python2.7/site-packages/jupyterlab
[I 22:30:24.477 NotebookApp] JupyterLab application directory is /export/home/anaconda2/share/jupyter/lab
[I 22:30:24.485 NotebookApp] Serving notebooks from local directory: /export/home/loom
[I 22:30:24.485 NotebookApp] 0 active kernels
[I 22:30:24.486 NotebookApp] The Jupyter Notebook is running at:
[I 22:30:24.486 NotebookApp] https://[all ip addresses on your system]:23561/
[I 22:30:24.486 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 22:30:35.072 NotebookApp] Kernel started: 3155f3db-0070-491f-9b43-4e6eeb046637
[I 22:30:36.879 NotebookApp] Kernel shutdown: 3155f3db-0070-491f-9b43-4e6eeb046637
[I 22:30:37.039 NotebookApp] Kernel started: a5401f47-9331-40ec-87d3-6499ff2f555d
[W 22:30:37.170 NotebookApp] 404 GET /api/kernels/4bcd5f94-14fa-43f8-b472-9ca962d6b431/channels?session_id=16896E9D58B44EF6B3B0372571931EC4 (192.168.123.50): Kernel does not exist: 4bcd5f94-14fa-43f8-b472-9ca962d6b431
[W 22:30:37.181 NotebookApp] 404 GET /api/kernels/4bcd5f94-14fa-43f8-b472-9ca962d6b431/channels?session_id=16896E9D58B44EF6B3B0372571931EC4 (192.168.123.50) 14.87ms referer=None
[I 22:30:50.783 NotebookApp] Saving file at /Untitled.ipynb
Killed

anaconda3:

[loom@tatooin ~]$ /opt/anaconda3/bin/jupyter notebook
[I 22:18:10.914 NotebookApp] [nb_conda_kernels] enabled, 3 kernels found
[I 22:18:12.191 NotebookApp] [nb_anacondacloud] enabled
[I 22:18:12.199 NotebookApp] [nb_conda] enabled
[I 22:18:12.297 NotebookApp] ✓ nbpresent HTML export ENABLED
[W 22:18:12.297 NotebookApp] ✗ nbpresent PDF export DISABLED: No module named 'nbbrowserpdf'
[I 22:18:12.305 NotebookApp] Serving notebooks from local directory: /export/home/loom
[I 22:18:12.305 NotebookApp] 0 active kernels
[I 22:18:12.305 NotebookApp] The Jupyter Notebook is running at: https://[all ip addresses on your system]:23561/
[I 22:18:12.305 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 22:18:21.109 NotebookApp] 404 GET /api/kernels/6426357e-a939-444b-89b2-5659ee2f62f4/channels?session_id=79bf00349fe6402ebd1c1f982fcf6594 (192.168.123.50): Kernel does not exist: 6426357e-a939-444b-89b2-5659ee2f62f4
[W 22:18:21.200 NotebookApp] 404 GET /api/kernels/6426357e-a939-444b-89b2-5659ee2f62f4/channels?session_id=79bf00349fe6402ebd1c1f982fcf6594 (192.168.123.50) 100.71ms referer=None
Killed
[loom@tatooin ~]$ /opt/anaconda3/bin/jupyter notebook
[I 22:19:16.607 NotebookApp] [nb_conda_kernels] enabled, 3 kernels found
[I 22:19:17.720 NotebookApp] [nb_conda] enabled
[I 22:19:17.893 NotebookApp] [nb_anacondacloud] enabled
[I 22:19:17.988 NotebookApp] ✓ nbpresent HTML export ENABLED
[W 22:19:17.988 NotebookApp] ✗ nbpresent PDF export DISABLED: No module named 'nbbrowserpdf'
[I 22:19:17.995 NotebookApp] Serving notebooks from local directory: /export/home/loom
[I 22:19:17.995 NotebookApp] 0 active kernels
[I 22:19:17.995 NotebookApp] The Jupyter Notebook is running at: https://[all ip addresses on your system]:23561/
[I 22:19:17.995 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 22:19:21.740 NotebookApp] 404 GET /api/kernels/46def7ee-db30-4072-8507-0908ff2d8134/channels?session_id=13557317E5094D0D845700C49B467491 (192.168.123.50): Kernel does not exist: 46def7ee-db30-4072-8507-0908ff2d8134
[W 22:19:21.778 NotebookApp] 404 GET /api/kernels/46def7ee-db30-4072-8507-0908ff2d8134/channels?session_id=13557317E5094D0D845700C49B467491 (192.168.123.50) 43.01ms referer=None
[I 22:19:26.737 NotebookApp] Kernel started: 281f5ba6-0480-4b16-895b-2c47587ef757
/opt/anaconda3/lib/python3.5/site-packages/IPython/kernel/__init__.py:13: ShimWarning: The `IPython.kernel` package has been deprecated. You should import from ipykernel or jupyter_client instead.
  "You should import from ipykernel or jupyter_client instead.", ShimWarning)
  File "/usr/bin/hdp-select", line 242
    print "ERROR: Invalid package - " + name
                                    ^
SyntaxError: Missing parentheses in call to 'print'
ls: cannot access /usr/hdp//hadoop/lib: No such file or directory
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
18/10/30 22:19:33 WARN Utils: Service 'SparkUI' could not bind on port 4040. Attempting port 4041.
18/10/30 22:19:33 WARN Utils: Service 'SparkUI' could not bind on port 4041. Attempting port 4042.
18/10/30 22:19:33 WARN Utils: Service 'SparkUI' could not bind on port 4042. Attempting port 4043.
18/10/30 22:19:39 WARN Client: Neither spark.yarn.jars nor spark.yarn.archive is set, falling back to uploading libraries under SPARK_HOME.
[I 22:19:55.095 NotebookApp] Saving file at /loom_11145_test.ipynb
Killed

如何复活我的jupyter

0 个答案:

没有答案