<div dir="ltr"><div><div><div>Hello again,<br><br></div>I found part of my problem (about 2 minutes after sending my previous email). An earlier attempt at running a slightly different version of my conf file resulted in the creation of another profile_nbserver directory. That profile was being read instead of the one I intended. I deleted that one, and then my conf file was able to start my notebook server and I was able to connect. <br>
<br></div>I have a new (related?) problem now. When I connect, the IPython dashboard looks different (no kernel tab) and none of my existing notebooks load. When I create a new notebook, I'm unable to import scipy. My upstart log file contains the following: "WARNING:root:Invalid cookie signature". Then when I try to open the existing notebooks, it says: "WARNING:root:500 GET /notebooks/3ae6-28e5-4ef3-a5e8-fae2f6c8373f?_=2761383137552 (ipaddress.removed): Unreadable JSON notebook."<br>
<br></div>Can anyone help me out? Sorry about any extra confusion from my initial question.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 15, 2013 at 1:36 PM, Jared Kibele <span dir="ltr"><<a href="mailto:jkibele@gmail.com" target="_blank">jkibele@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hi everyone,<br><br></div>I'm running iPython notebook on an Amazone EC2 instance. Everything works fine when I start ipython from ssh but when I close the ssh connection, the notebook server dies. It seems like it would be better to use upstart to manage the notebook server but I can't quite get it working. I think I'm having the problem mentioned <a href="http://python.6.x6.nabble.com/Notebook-doesn-t-load-profile-when-started-on-boot-td4976770.html" target="_blank">here</a>. I think upstart isn't starting as the correct user and therefore is failing to find my ipython profile. Here's my upstart conf:<br>

<br>start on filesystem<br><br>stop on runlevel [!2345]<br><br>respawn<br>exec sudo -u ubuntu -i ipython notebook --profile=nbserver --ipython-dir=/home/ubuntu<br><br><br></div>This is my first time attempting to use upstart and I'm finding the documentation a bit overwhelming. Can anyone help set me straight and tell me what's wrong with my conf file?<br>

<br></div>Thanks,<br></div>Jared Kibele<br></div>PhD Candidate<br></div>Leigh Marine Lab<br></div>University of Auckland<br></div>
</blockquote></div><br></div>