Out of frustration, I spun up another instance and started from scratch. I was able to get it working this time, without figuring out what is different between the two. Must be something in a config that I can't track down. Thanks.
On Tuesday, January 10, 2017 at 10:26:50 AM UTC-6, Andy Van Becelaere wrote: > > I don't know if this will help or not, but I ran service jupyterhub status > for pam authentication vs google authentication. With google > authentication, the service is active, but not running and does not list > the same processes or tasks. Any ideas? > > # status with google oauth commented out (PAM authentication enabled by > default) > > root@ip-x-x-x-x:/home/ubuntu# service jupyterhub status > ● jupyterhub.service - LSB: Start jupyterhub > Loaded: loaded (/etc/init.d/jupyterhub; bad; vendor preset: enabled) > Active: active (running) since Tue 2017-01-10 10:13:49 CST; 4s ago > Docs: man:systemd-sysv-generator(8) > Process: 1910 ExecStop=/etc/init.d/jupyterhub stop (code=exited, > status=0/SUCCESS) > Process: 1951 ExecStart=/etc/init.d/jupyterhub start (code=exited, > status=0/SUCCESS) > Tasks: 6 > Memory: 54.1M > CPU: 595ms > CGroup: /system.slice/jupyterhub.service > ├─1960 /usr/bin/python3 /usr/local/bin/jupyterhub > --config=/etc/jupyterhub/jupyterhub_ > └─1964 node /usr/local/bin/configurable-http-proxy --ip --port > 443 --api-ip 127.0.0.1 > > Jan 10 10:13:49 ip-x-x-x-x systemd[1]: Starting LSB: Start jupyterhub... > Jan 10 10:13:49 ip-x-x-x-x systemd[1]: Started LSB: Start jupyterhub. > > > > > # status with google oauth enabled > > root@ip-x-x-x-x:/home/ubuntu# service jupyterhub status > ● jupyterhub.service - LSB: Start jupyterhub > Loaded: loaded (/etc/init.d/jupyterhub; bad; vendor preset: enabled) > Active: active (exited) since Tue 2017-01-10 10:18:08 CST; 2s ago > Docs: man:systemd-sysv-generator(8) > Process: 2010 ExecStop=/etc/init.d/jupyterhub stop (code=exited, > status=0/SUCCESS) > Process: 2056 ExecStart=/etc/init.d/jupyterhub start (code=exited, > status=0/SUCCESS) > > Jan 10 10:18:08 ip-x-x-x-x systemd[1]: Starting LSB: Start jupyterhub... > Jan 10 10:18:08 ip-x-x-x-x systemd[1]: Started LSB: Start jupyterhub. > > > > On Friday, January 6, 2017 at 4:13:53 PM UTC-6, Andy Van Becelaere 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! >> >> 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]. 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/b3788d26-e07f-483c-9465-ba753c1e9cab%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
