2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

jupyterが起動しなくなった場合の対処

Last updated at Posted at 2017-05-11

##目標

  • jupyterをが起動しなくなったので対処する

##現象
ある日いきなり、jupyterを起動しようとするとエラーで落ちてしまうようになった
前日サーバをshutdownしたのがまずかったのか?

OSError: [Errno 13] Permission denied: '/run/user/1001'

色々調べたら($XDG_RUNTIME_DIR)が設定されていると立ち上がらないという事例を見つけたので試しに

$ls /run/user/
/run/user/1001
/run/user/1002
$echo $XDG_RUNTIME_DIR
1001
$unset XDG_RUNTIME_DIR
$echo $XDG_RUNTIME_DIR
$

これで問題なく動いた
XDG_RUNTIME_DIRを後で詳しく調べてみる

参考URL:Crash when running jupyter notebook with a user with id != 1000

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?