-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jupyterhub terminated immediately after start #63
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
I think this relates to the two warnings before the "Terminated" log message. Could it be so that JupyterHub found an old process running and didn't try start up fully again, and it found it using the pid file? I would inspect the pid file, and i presume it describes a process ID. Then i would inspect if such process ID is running. If so, shut it down and then try start up jupyterhub. I may also try deleting the file entirely etc. |
I think it could make sense to improve the log message if this was the correct analysis as a followup to this, as it isnt fully clear to me or you what goes on. |
Hi @consideRatio the same things happen immediately after system boot. I have installed in an LXC container that does not have any other daemons (other than DHCP for network) installed. Therefore I suspect that is not caused by an old process. Anything I could do to understand what is going on? Does it have something to to with rights of the process? I have created a system user "jupyterhub" and try to run it under that system user. |
I know too little about this, so i would debug by inspecting my processes and then search for the code that led to the termination by looking for the log statements youve seen in the end, and then inspect that logic, and then figure out why it triggered to terminate the hub. |
Bug description
Trying to run jupyterhub as user jupyterhub following instructions from https://jupyterhub.readthedocs.io/en/stable/reference/config-sudo.html
Jupyterhub starts and then terminates:
Expected behaviour
Jupyterhub does not terminate immediately after restart
Actual behaviour
Jupyterhub terminates after start
How to reproduce
Followed instructions from
https://jupyterhub.readthedocs.io/en/stable/reference/config-sudo.html
Your personal set up
Debian
10 (stable)
The text was updated successfully, but these errors were encountered: