Kernel Dead

kim13
Level 1
Kernel Dead

Hi All, 

I am not sure what I did but the kernel is dead. 

How can I recover or fix it. 

 
 

kernel dead.PNG

Traceback (most recent call last):

  File "/home/dataiku/dataiku-dss-9.0.1/python36.packages/tornado/web.py", line 1592, in _execute

    result = yield result

  File "/home/dataiku/dataiku-dss-9.0.1/python36.packages/tornado/gen.py", line 1133, in run

    value = future.result()

  File "/home/dataiku/dataiku-dss-9.0.1/python36.packages/tornado/gen.py", line 1141, in run

    yielded = self.gen.throw(*exc_info)

  File "/home/dataiku/dataiku-dss-9.0.1/dku-jupyter/packages/notebook/services/sessions/handlers.py", line 81, in post

    user=self.get_current_user(),

  File "/home/dataiku/dataiku-dss-9.0.1/python36.packages/tornado/gen.py", line 1133, in run

    value = future.result()

  File "/home/dataiku/dataiku-dss-9.0.1/python36.packages/tornado/gen.py", line 1141, in run

    yielded = self.gen.throw(*exc_info)

  File "/home/dataiku/dataiku-dss-9.0.1/dku-jupyter/packages/notebook/dataiku/sessionmanager.py", line 87, in create_session

    DKU_EXTRA_ENV= dku_extra_env)

  File "/home/dataiku/dataiku-dss-9.0.1/python36.packages/tornado/gen.py", line 1133, in run

    value = future.result()

  File "/home/dataiku/dataiku-dss-9.0.1/python36.packages/tornado/gen.py", line 1141, in run

    yielded = self.gen.throw(*exc_info)

  File "/home/dataiku/dataiku-dss-9.0.1/dku-jupyter/packages/notebook/services/sessions/sessionmanager.py", line 96, in start_kernel_for_session

    self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name, **kwargs)

  File "/home/dataiku/dataiku-dss-9.0.1/python36.packages/tornado/gen.py", line 1133, in run

    value = future.result()

  File "/home/dataiku/dataiku-dss-9.0.1/python36.packages/tornado/gen.py", line 326, in wrapper

    yielded = next(result)

  File "/home/dataiku/dataiku-dss-9.0.1/dku-jupyter/packages/notebook/services/kernels/kernelmanager.py", line 148, in start_kernel

    super(MappingKernelManager, self).start_kernel(**kwargs)

  File "/home/dataiku/dataiku-dss-9.0.1/python36.packages/jupyter_client/multikernelmanager.py", line 110, in start_kernel

    km.start_kernel(**kwargs)

  File "/home/dataiku/dataiku-dss-9.0.1/python36.packages/jupyter_client/manager.py", line 259, in start_kernel

    **kw)

  File "/home/dataiku/dataiku-dss-9.0.1/dku-jupyter/packages/notebook/dataiku/kernelmanager.py", line 248, in _launch_kernel

    kernel_popen = launch_kernel(kernel_cmd, **kwargs)

  File "/home/dataiku/dataiku-dss-9.0.1/python36.packages/jupyter_client/launcher.py", line 138, in launch_kernel

    proc = Popen(cmd, **kwargs)

  File "/usr/lib64/python3.6/subprocess.py", line 729, in __init__

    restore_signals, start_new_session)

  File "/usr/lib64/python3.6/subprocess.py", line 1364, in _execute_child

    raise child_exception_type(errno_num, err_msg, err_filename)

FileNotFoundError: [Errno 2] No such file or directory: '/home/dataiku/dss/code-envs/python/DEV/bin/python': '/home/dataiku/dss/code-envs/python/DEV/bin/python'

 

0 Kudos
5 Replies
sergeyd
Dataiker

Hi @kim13 

Can you please navigate to Administration->Code envs and check that DEV  code env exists? It might be the case the notebook was saved while using this code env but it was deleted from the instance. 

If it's not there, you can either recreate it or switch to another code env in the notebook. 

0 Kudos
kim13
Level 1
Author

Hi Sergeyd,  @sergeyd 

DEV is still available.  Please see attached pic. 

I am not sure if its related to https://community.dataiku.com/t5/Setup-Configuration/pkg-resources-DistributionNotFound-The-certifi-... ?

0 Kudos
sergeyd
Dataiker

Hi @kim13 

Can you please SSH into DSS server and run the next command: 

find /home/dataiku/dss/code-envs/python/ -ls > python_code_env_listing.txt

and send me this resulted file? 

0 Kudos
kim13
Level 1
Author

Hi @sergeyd , 

Unable to create SSH connection. Please help. I install dataiku on virtual box running on linux. 

Please see pic. 

 

0 Kudos
sergeyd
Dataiker

Hi @kim13 

Sorry, but I asked to SSH into the DSS server and not create an SSH connection in DSS UI. If you are using the virtual box image provided by DSS, the instructions are shown in the console:

Screenshot 2022-03-26 at 16.39.55.png

If you are using another VM (installed from the scratch), then you can either open console directly or SSH into it via putty (Windows) or with Terminal (Mac, Ubuntu). 

Has this notebook worked before or you hit this issue right after the DSS installation? 

0 Kudos