<div>Hi Larry</div><div><br></div>I suspect that $GEMSTONE isn&#39;t defined in the context of the startup script. You could try adding:<div><br></div><div>echo &#39;echoing GEMSTONE:&#39;</div><div>echo $GEMSTONE</div><div>
<br></div><div>within the startup script and see if you get any output. Otherwise I&#39;m at a loss.</div><div><br></div><div>Nick</div><div><br><div class="gmail_quote">On 13 October 2011 03:23, Lawrence Kellogg <span dir="ltr">&lt;<a href="mailto:mac.hive@me.com">mac.hive@me.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">I do have a gemstone.secret file<div><br></div><div><br></div><div><div>[seasideuser@domU-12-31-39-14-08-6B ~]$ ls $GEMSTONE/seaside/etc/gemstone.secret</div>
<div>/opt/gemstone/product/seaside/etc/gemstone.secret</div><div>[seasideuser@domU-12-31-39-14-08-6B ~]$ </div><div><br></div><div><br></div><div>so I&#39;m not sure why the restart script is complaining....</div><div class="im">
<div><br></div><div><div>stopnetldi[Info]: Server &#39;gs64ldi&#39; is not running.</div><div>Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]</div><div>                                                           [FAILED]</div>
<div>Missing password file $GEMSTONE/seaside/etc/gemstone.secret</div><div>/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory</div></div><div><br></div></div><div>It also says this is missing: </div>
<div><br></div><div>$GEMSTONE/bin/startnetldi </div><div><br></div><div>but here it is: </div><div><br></div><div><div>[seasideuser@domU-12-31-39-14-08-6B bin]$ ls -l $GEMSTONE/bin/startnetldi </div><div>-r-xr-xr-x 1 seasideuser seasideuser 311158 Jul 13  2010 /opt/gemstone/product/bin/startnetldi</div>
<div>[seasideuser@domU-12-31-39-14-08-6B bin]$ </div></div><div><br></div><div><br></div><div>Confusing....</div><div><br></div><div>Larry</div><div><div></div><div class="h5"><div><br></div><div><br></div><div><br></div>
<div><div>On Oct 12, 2011, at 5:30 PM, Nick Ager wrote:</div><br><blockquote type="cite">Hi Larry,<div><br></div><div>It looks as Gemstone can&#39;t find the password file: gemstone.secret</div><div><br></div><div>I&#39;d suspect that the environment variable $GEMSTONE isn&#39;t setup correctly. On my installation:</div>

<div><br></div><div>echo $GEMSTONE</div><div><br></div><div>gives:</div><div><br></div><div>/opt/gemstone/product</div><div><br></div><div>also if I try</div><div><br></div><div>sudo echo $GEMSTONE</div><div><br></div><div>

I get the same result. Do you see something similar?</div><div><br></div><div>Nick </div><div><div><br><div class="gmail_quote">On 12 October 2011 21:23, Lawrence Kellogg <span dir="ltr">&lt;<a href="mailto:mac.hive@me.com" target="_blank">mac.hive@me.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hello Nick, <div>  Well, I&#39;m up to testing out my Gemstone install. </div><div><br>

</div><div><div> sudo /etc/init.d/gemstone restart</div><div>Stopping Gems...</div><div>   No PID file found for gem on port 9001, not running?</div><div>   No PID file found for gem on port 9002, not running?</div><div>
   No PID file found for gem on port 9003, not running?</div>
<div>   No PID file for for the maintenance gem, not running?</div><div>   No PID file for for the service gem, not running?</div><div>                                                           [  OK  ]</div><div>stopnetldi[Info]: GemStone version &#39;2.4.4.1&#39;</div>

<div>stopnetldi[Info]: Server &#39;gs64ldi&#39; is not running.</div><div>Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]</div><div>                                                           [FAILED]</div>

<div>Missing password file $GEMSTONE/seaside/etc/gemstone.secret</div><div>/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory</div><div>                                                           [  OK  ]</div>

<div>Starting Gems....</div><div><span style="white-space:pre-wrap">        </span>Starting WAFastCGIAdaptor gem on port 9001</div><div><span style="white-space:pre-wrap">        </span>Starting WAFastCGIAdaptor gem on port 9002</div>
<div>
<span style="white-space:pre-wrap">        </span>Starting WAFastCGIAdaptor gem on port 9003</div><div><span style="white-space:pre-wrap">        </span>Starting maintenance gem</div><div>  Starting service gem</div><div>                                                           [  OK  ]</div>

<div>[seasideuser@domU-12-31-39-14-08-6B ~]$ /opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9002.log: Permission denied</div><div>/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9001.log: Permission denied</div>

<div>/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9003.log: Permission denied</div><div>/opt/gemstone/product/seaside/bin/runSeasideGems30: line 28: /maintenance_start.log: Permission denied</div>

<div>/opt/gemstone/product/seaside/bin/runSeasideGems30: line 35: /service_start.log: Permission denied</div><div><br></div><div><br></div><div>It looks like I am missing permissions to write to the log files. </div><div>

Did I miss some change that I had to make to those two script files, runSeasideGems30 and gemstone? </div><div><br></div><div>It has been a while since I have done any Gemstone work so I&#39;m a little lost. </div><div><br>

</div><div>Larry</div><div><div></div><div><div><br></div><div><br></div><div><div>On Oct 12, 2011, at 2:54 PM, Nick Ager wrote:</div><br><blockquote type="cite"><div>Hi Larry.</div><div><br></div>Try: <div><br>
</div><div><a href="http://seaside.gemstone.com/scripts/installGemstone.sh" target="_blank">http://seaside.gemstone.com/scripts/installGemstone.sh</a></div><div><br></div><div>thanks for the corrections - I fix the blog post in due course.</div>


<div><br></div><div>A good source of up-to-date information is:</div><div><br></div><div><a href="http://code.google.com/p/glassdb/" target="_blank">http://code.google.com/p/glassdb/</a></div><div><br></div><div>Nick<br>

<br><div class="gmail_quote">
On 12 October 2011 19:29, Lawrence Kellogg <span dir="ltr">&lt;<a href="mailto:mac.hive@me.com" target="_blank">mac.hive@me.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div style="word-wrap:break-word"><div>Hey Nick, </div><div><br></div><div><div>$ wget <a href="http://glass.gemstone.com/scripts/installGemstone.sh" target="_blank">http://glass.gemstone.com/scripts/installGemstone.sh</a></div>


<div>--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18</a>:25:48--  <a href="http://glass.gemstone.com/scripts/installGemstone.sh" target="_blank">http://glass.gemstone.com/scripts/installGemstone.sh</a></div>


<div>Resolving <a href="http://glass.gemstone.com/" target="_blank">glass.gemstone.com</a>... 64.20.104.5</div><div>Connecting to <a href="http://glass.gemstone.com/" target="_blank">glass.gemstone.com</a>|64.20.104.5|:80... connected.</div>


<div>HTTP request sent, awaiting response... 301 Moved Permanently</div><div>Location: <a href="https://glass.gemstone.com/scripts/installGemstone.sh" target="_blank">https://glass.gemstone.com/scripts/installGemstone.sh</a> [following]</div>


<div>--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18</a>:25:48--  <a href="https://glass.gemstone.com/scripts/installGemstone.sh" target="_blank">https://glass.gemstone.com/scripts/installGemstone.sh</a></div>


<div>Connecting to <a href="http://glass.gemstone.com/" target="_blank">glass.gemstone.com</a>|64.20.104.5|:443... connected.</div><div>ERROR: certificate common name “<a href="http://magtrac.gemstone.com/" target="_blank">magtrac.gemstone.com</a>” doesn’t match requested host name “<a href="http://glass.gemstone.com/" target="_blank">glass.gemstone.com</a>”.</div>


<div>To connect to <a href="http://glass.gemstone.com/" target="_blank">glass.gemstone.com</a> insecurely, use ‘--no-check-certificate’.</div></div><div><br></div><div>and with the no certificate option</div><div><br></div>


<div><div>$ wget <a href="http://glass.gemstone.com/scripts/installGemstone.sh" target="_blank">http://glass.gemstone.com/scripts/installGemstone.sh</a> --no-check-certificate</div><div>--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18</a>:26:35--  <a href="http://glass.gemstone.com/scripts/installGemstone.sh" target="_blank">http://glass.gemstone.com/scripts/installGemstone.sh</a></div>


<div>Resolving <a href="http://glass.gemstone.com/" target="_blank">glass.gemstone.com</a>... 64.20.104.5</div><div>Connecting to <a href="http://glass.gemstone.com/" target="_blank">glass.gemstone.com</a>|64.20.104.5|:80... connected.</div>


<div>HTTP request sent, awaiting response... 301 Moved Permanently</div><div>Location: <a href="https://glass.gemstone.com/scripts/installGemstone.sh" target="_blank">https://glass.gemstone.com/scripts/installGemstone.sh</a> [following]</div>


<div>--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18</a>:26:35--  <a href="https://glass.gemstone.com/scripts/installGemstone.sh" target="_blank">https://glass.gemstone.com/scripts/installGemstone.sh</a></div>


<div>Connecting to <a href="http://glass.gemstone.com/" target="_blank">glass.gemstone.com</a>|64.20.104.5|:443... connected.</div><div>WARNING: certificate common name “<a href="http://magtrac.gemstone.com/" target="_blank">magtrac.gemstone.com</a>” doesn’t match requested host name “<a href="http://glass.gemstone.com/" target="_blank">glass.gemstone.com</a>”.</div>


<div>HTTP request sent, awaiting response... 404 Not Found</div><div><a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18</a>:26:35 ERROR 404: Not Found.</div></div><div><br></div><div><br></div>


<div>I guess the install script has been moved somewhere....</div><div><br></div><div>Larry</div><div><br></div><br><div><div><div>On Oct 12, 2011, at 10:33 AM, Nick Ager wrote:</div><br></div><blockquote type="cite">
<div><div></div><div>Hi Larry,<div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div>
<div><blockquote type="cite">
<div>Make sure you include the &quot; - &quot; before your key and lines &quot;#cloud-config&quot; &amp; &quot;ssh_authorized_keys:&quot; </div><div>I find it helpful to form the syntax in a text editor prior to posting into the web-form.</div>




<div><br></div></blockquote><div>  </div></div><div>  So, is there a space between the &#39;-&#39; and the &#39;ssh-rsa&#39;? Does it matter? </div></div></div></div></blockquote><div><br></div><div>I haven&#39;t tried it without the spaces, but it works for me with the spaces.  </div>



<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div><div>I saw another parameter that said something about disabling metadata. I guess that parameter is not needed. </div>



</div></div></div></blockquote><div><br></div><div>Yes that is optional.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">



<div><div><div><br></div><div>  By the way, your instructions say open SSH on Port 22 but the screen shot shows port 25, or </div><div>vice versa. I assume that I only need to open up port 22 for SSH.</div></div></div></div>



</blockquote><div><br></div><div>Correct port 22 is SSH. I&#39;ve corrected the spurious reference to port 25 in the blog post - thanks. On the latest EC2 interface you can just pick SSH and HTTP from the drop-down menu.</div>



<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div><div><br></div><div>  It seems like the Security Group stuff has changed. I wasn&#39;t able to get the All Internet </div>



<div>specification that you show. The entries I created all wanted a source, 0,0,0,0 or <a href="tel:1234567890" value="+441234567890" target="_blank">1234567890</a>/default. </div><div>What do I do with that?</div></div>



</div></div></blockquote><div><br></div><div>Just pick SSH and HTTP from the drop-down, but I don&#39;t think this is your problem.</div><div>  </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word"><div><div><div><div></div></div><div>  I wonder if it matters that I was trying this from my laptop over Wifi. </div></div></div></div></blockquote><div><br></div><div>I doubt that&#39;s an issue. </div>



<div><br></div><div>Good luck</div><div><br></div><div>Nick</div></div></div></div></div><div>
_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>


</div></blockquote></div><br></div><br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>

</blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br></div></div>
_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br></div>