Min,
In my jupyterhub_config.py file, I have /var/log/jupyterhub.log set for
logs. The file gets written to when I start the hub manually (see below).
If I start the hub through systemd by restarting the server or 'service
juypterhub start', nothing is written to the jupyterhub.log file. Is there
another location I can pull logs for this?
When I run journalctl -u jupyterhub all I get is:
Starting LSB: Start jupyterhub...
Started LSB: Start jupyterhub...
Contents of jupyterhub.log when service started manually:
^[[32m[I 2017-01-09 10:27:01.174 JupyterHub app:724]^[(B^[[m Loading
cookie_secret from /etc/jupyterhub/jupyterhub_cookie_secret
^[[34m[D 2017-01-09 10:27:01.175 JupyterHub app:796]^[(B^[[m Connecting to
db: sqlite:///jupyterhub.sqlite
^[[33m[W 2017-01-09 10:27:01.219 JupyterHub app:365]^[(B^[[m
Generating CONFIGPROXY_AUTH_TOKEN. Restarting the Hub will require
restarting the proxy.
Set CONFIGPROXY_AUTH_TOKEN env or JupyterHub.proxy_auth_token config to
avoid this message.
^[[32m[I 2017-01-09 10:27:01.231 JupyterHub app:892]^[(B^[[m Not using
whitelist. Any authenticated user will be allowed.
^[[34m[D 2017-01-09 10:27:01.241 JupyterHub app:1085]^[(B^[[m Loading state
for micdsadmin from db
^[[34m[D 2017-01-09 10:27:01.242 JupyterHub app:1097]^[(B^[[m micdsadmin
not running.
^[[34m[D 2017-01-09 10:27:01.250 JupyterHub app:1102]^[(B^[[m Loaded users:
micdsadmin admin
^[[32m[I 2017-01-09 10:27:01.258 JupyterHub app:1453]^[(B^[[m Hub API
listening on http://127.0.0.1:8081/hub/
^[[32m[I 2017-01-09 10:27:01.261 JupyterHub app:1176]^[(B^[[m Starting
proxy @ http://*:443/
^[[34m[D 2017-01-09 10:27:01.261 JupyterHub app:1177]^[(B^[[m Proxy cmd:
['configurable-http-proxy', '--ip', '', '--port', '443', '--$
^[[34m[D 2017-01-09 10:27:01.465 JupyterHub app:1205]^[(B^[[m Proxy started
and appears to be up
^[[32m[I 2017-01-09 10:27:01.466 JupyterHub app:1485]^[(B^[[m JupyterHub is
now running at http://127.0.0.1:443/
^[[32m[I 2017-01-09 10:27:11.832 JupyterHub app:1332]^[(B^[[m Cleaning up
single-user servers...
^[[32m[I 2017-01-09 10:27:11.858 JupyterHub app:1343]^[(B^[[m Cleaning up
proxy[1796]...
^[[32m[I 2017-01-09 10:27:11.859 JupyterHub app:1369]^[(B^[[m ...done
On Monday, January 9, 2017 at 5:38:59 AM UTC-6, Min RK wrote:
>
>
>
> On Fri, Jan 6, 2017 at 11:13 PM, Andy Van Becelaere <[email protected]
> <javascript:>> wrote:
>
>> I am running Ubuntu 16.04 server on an ec2 instance.
>>
>> Jupyterhub is installed and running properly before applying the
>> following changes:
>>
>> 1. Jupyterhub is started at boot as a system service following these
>> instructions -
>> https://github.com/jupyterhub/jupyterhub/wiki/Run-jupyterhub-as-a-system-service
>> 2. Google OAuthentication configuration applied following these
>> instructions - https://github.com/jupyterhub/oauthenticator
>>
>> Before making changes to /etc/jupyterhub/jupyterhub_config.py for
>> oauthentication, system service starts, ports are assigned and everything
>> works correctly.
>> After making changes for oauthentication, the google authentication works
>> properly. Jupyterhub system service doesn't throw any errors, but when I
>> run netstat -plnt, ports 8081 and 443 are not shown. If I then start
>> jupyterhub manually (with the same config file), no errors are thrown and
>> the ports become active. If I comment out the oauthentication lines and
>> reboot, everything works properly again.
>>
>> I hope this is clear. Any help would be appreciated because I'm stumped!
>>
>
> Can you show the log output of JupyterHub?
>
> -Min
>
>
>>
>> Thanks in advance,
>>
>> Andy
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]
>> <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jupyter/8b7903dc-3373-4937-85b9-59edbd6060e5%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/jupyter/8b7903dc-3373-4937-85b9-59edbd6060e5%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
You received this message because you are subscribed to the Google Groups
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jupyter/b4992201-6849-4acb-b159-498a9b5f8bdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.