Scriptaculous vs jQuery

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
68 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg

On Oct 13, 2011, at 4:20 AM, Nick Ager wrote:

Hi Larry

I suspect that $GEMSTONE isn't defined in the context of the startup script. You could try adding:

echo 'echoing GEMSTONE:'
echo $GEMSTONE

within the startup script and see if you get any output. Otherwise I'm at a loss.


  You're right, the variable is not defined in the context of the startup script. 
So, I added it to the gemstone startup script but it still cannot locate the files! Why?

  I'm at a loss too.... How strange. 

  Here are all my environment variables: 

[seasideuser@domU-12-31-39-14-08-6B init.d]$ set | grep gem
DYLD_LIBRARY_PATH=/opt/gemstone/product/lib:
GEMSTONE=/opt/gemstone/product
GEMSTONE_DATADIR=/opt/gemstone/product/seaside/data
GEMSTONE_EXE_CONF=/opt/gemstone/product/seaside/data
GEMSTONE_KEYFILE=/opt/gemstone/product/seaside/etc/gemstone.key
GEMSTONE_LOGDIR=/opt/gemstone/log
GEMSTONE_SYS_CONF=/opt/gemstone/product/seaside/data/system.conf
LD_LIBRARY_PATH=/opt/gemstone/product/lib:
MANPATH=/opt/gemstone/product/doc:
OLDPWD=/opt/gemstone/product
PATH=/opt/gemstone/product/bin:/opt/gemstone/product/seaside/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/aws/bin:/home/seasideuser/bin
_=gemstone


Nick

On 13 October 2011 03:23, Lawrence Kellogg <[hidden email]> wrote:
I do have a gemstone.secret file


[seasideuser@domU-12-31-39-14-08-6B ~]$ ls $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/etc/gemstone.secret
[seasideuser@domU-12-31-39-14-08-6B ~]$ 


so I'm not sure why the restart script is complaining....

stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory

It also says this is missing: 

$GEMSTONE/bin/startnetldi 

but here it is: 

[seasideuser@domU-12-31-39-14-08-6B bin]$ ls -l $GEMSTONE/bin/startnetldi 
-r-xr-xr-x 1 seasideuser seasideuser 311158 Jul 13  2010 /opt/gemstone/product/bin/startnetldi
[seasideuser@domU-12-31-39-14-08-6B bin]$ 


Confusing....

Larry



On Oct 12, 2011, at 5:30 PM, Nick Ager wrote:

Hi Larry,

It looks as Gemstone can't find the password file: gemstone.secret

I'd suspect that the environment variable $GEMSTONE isn't setup correctly. On my installation:

echo $GEMSTONE

gives:

/opt/gemstone/product

also if I try

sudo echo $GEMSTONE

I get the same result. Do you see something similar?

Nick 

On 12 October 2011 21:23, Lawrence Kellogg <[hidden email]> wrote:
Hello Nick, 
  Well, I'm up to testing out my Gemstone install. 

 sudo /etc/init.d/gemstone restart
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001
Starting WAFastCGIAdaptor gem on port 9002
Starting WAFastCGIAdaptor gem on port 9003
Starting maintenance gem
  Starting service gem
                                                           [  OK  ]
[seasideuser@domU-12-31-39-14-08-6B ~]$ /opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9002.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9001.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9003.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 28: /maintenance_start.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 35: /service_start.log: Permission denied


It looks like I am missing permissions to write to the log files. 
Did I miss some change that I had to make to those two script files, runSeasideGems30 and gemstone? 

It has been a while since I have done any Gemstone work so I'm a little lost. 

Larry


On Oct 12, 2011, at 2:54 PM, Nick Ager wrote:

Hi Larry.

Try: 


thanks for the corrections - I fix the blog post in due course.

A good source of up-to-date information is:


Nick

On 12 October 2011 19:29, Lawrence Kellogg <[hidden email]> wrote:
Hey Nick, 

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
ERROR: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
To connect to glass.gemstone.com insecurely, use ‘--no-check-certificate’.

and with the no certificate option

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
WARNING: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
HTTP request sent, awaiting response... 404 Not Found
<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35 ERROR 404: Not Found.


I guess the install script has been moved somewhere....

Larry


On Oct 12, 2011, at 10:33 AM, Nick Ager wrote:

Hi Larry,

Make sure you include the " - " before your key and lines "#cloud-config" & "ssh_authorized_keys:" 
I find it helpful to form the syntax in a text editor prior to posting into the web-form.

  
  So, is there a space between the '-' and the 'ssh-rsa'? Does it matter? 

I haven't tried it without the spaces, but it works for me with the spaces.  
 
I saw another parameter that said something about disabling metadata. I guess that parameter is not needed. 

Yes that is optional.


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

Correct port 22 is SSH. I'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.
 

  It seems like the Security Group stuff has changed. I wasn't able to get the All Internet 
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/default. 
What do I do with that?

Just pick SSH and HTTP from the drop-down, but I don't think this is your problem.
  
  I wonder if it matters that I was trying this from my laptop over Wifi. 

I doubt that's an issue. 

Good luck

Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Nick
Hi Larry,

If you examine your /etc/init.d/gemstone what user does the script use to execute the Gemstone scripts. In mine the key lines are:

RUNASUSER="seasideuser"
GEMSTONE_BIN="/opt/gemstone/product/seaside/bin"
GEMSTONE_STOPNET="/opt/gemstone/product/bin"

# Start GemStone
startGemStone() {
        logger "Starting GemStone server: "
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startGemstone
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startnet 

the environment that 'startGemstone' and friends use will be defined by the environment for user $RUNASUSER

Nick


On 13 October 2011 11:24, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 4:20 AM, Nick Ager wrote:

Hi Larry

I suspect that $GEMSTONE isn't defined in the context of the startup script. You could try adding:

echo 'echoing GEMSTONE:'
echo $GEMSTONE

within the startup script and see if you get any output. Otherwise I'm at a loss.


  You're right, the variable is not defined in the context of the startup script. 
So, I added it to the gemstone startup script but it still cannot locate the files! Why?

  I'm at a loss too.... How strange. 

  Here are all my environment variables: 

[seasideuser@domU-12-31-39-14-08-6B init.d]$ set | grep gem
DYLD_LIBRARY_PATH=/opt/gemstone/product/lib:
GEMSTONE=/opt/gemstone/product
GEMSTONE_DATADIR=/opt/gemstone/product/seaside/data
GEMSTONE_EXE_CONF=/opt/gemstone/product/seaside/data
GEMSTONE_KEYFILE=/opt/gemstone/product/seaside/etc/gemstone.key
GEMSTONE_LOGDIR=/opt/gemstone/log
GEMSTONE_SYS_CONF=/opt/gemstone/product/seaside/data/system.conf
LD_LIBRARY_PATH=/opt/gemstone/product/lib:
MANPATH=/opt/gemstone/product/doc:
OLDPWD=/opt/gemstone/product
PATH=/opt/gemstone/product/bin:/opt/gemstone/product/seaside/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/aws/bin:/home/seasideuser/bin
_=gemstone


Nick

On 13 October 2011 03:23, Lawrence Kellogg <[hidden email]> wrote:
I do have a gemstone.secret file


[seasideuser@domU-12-31-39-14-08-6B ~]$ ls $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/etc/gemstone.secret
[seasideuser@domU-12-31-39-14-08-6B ~]$ 


so I'm not sure why the restart script is complaining....

stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory

It also says this is missing: 

$GEMSTONE/bin/startnetldi 

but here it is: 

[seasideuser@domU-12-31-39-14-08-6B bin]$ ls -l $GEMSTONE/bin/startnetldi 
-r-xr-xr-x 1 seasideuser seasideuser 311158 Jul 13  2010 /opt/gemstone/product/bin/startnetldi
[seasideuser@domU-12-31-39-14-08-6B bin]$ 


Confusing....

Larry



On Oct 12, 2011, at 5:30 PM, Nick Ager wrote:

Hi Larry,

It looks as Gemstone can't find the password file: gemstone.secret

I'd suspect that the environment variable $GEMSTONE isn't setup correctly. On my installation:

echo $GEMSTONE

gives:

/opt/gemstone/product

also if I try

sudo echo $GEMSTONE

I get the same result. Do you see something similar?

Nick 

On 12 October 2011 21:23, Lawrence Kellogg <[hidden email]> wrote:
Hello Nick, 
  Well, I'm up to testing out my Gemstone install. 

 sudo /etc/init.d/gemstone restart
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001
Starting WAFastCGIAdaptor gem on port 9002
Starting WAFastCGIAdaptor gem on port 9003
Starting maintenance gem
  Starting service gem
                                                           [  OK  ]
[seasideuser@domU-12-31-39-14-08-6B ~]$ /opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9002.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9001.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9003.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 28: /maintenance_start.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 35: /service_start.log: Permission denied


It looks like I am missing permissions to write to the log files. 
Did I miss some change that I had to make to those two script files, runSeasideGems30 and gemstone? 

It has been a while since I have done any Gemstone work so I'm a little lost. 

Larry


On Oct 12, 2011, at 2:54 PM, Nick Ager wrote:

Hi Larry.

Try: 


thanks for the corrections - I fix the blog post in due course.

A good source of up-to-date information is:


Nick

On 12 October 2011 19:29, Lawrence Kellogg <[hidden email]> wrote:
Hey Nick, 

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
ERROR: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
To connect to glass.gemstone.com insecurely, use ‘--no-check-certificate’.

and with the no certificate option

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
WARNING: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
HTTP request sent, awaiting response... 404 Not Found
<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35 ERROR 404: Not Found.


I guess the install script has been moved somewhere....

Larry


On Oct 12, 2011, at 10:33 AM, Nick Ager wrote:

Hi Larry,

Make sure you include the " - " before your key and lines "#cloud-config" & "ssh_authorized_keys:" 
I find it helpful to form the syntax in a text editor prior to posting into the web-form.

  
  So, is there a space between the '-' and the 'ssh-rsa'? Does it matter? 

I haven't tried it without the spaces, but it works for me with the spaces.  
 
I saw another parameter that said something about disabling metadata. I guess that parameter is not needed. 

Yes that is optional.


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

Correct port 22 is SSH. I'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.
 

  It seems like the Security Group stuff has changed. I wasn't able to get the All Internet 
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/default. 
What do I do with that?

Just pick SSH and HTTP from the drop-down, but I don't think this is your problem.
  
  I wonder if it matters that I was trying this from my laptop over Wifi. 

I doubt that's an issue. 

Good luck

Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg

On Oct 13, 2011, at 8:56 AM, Nick Ager wrote:

Hi Larry,

If you examine your /etc/init.d/gemstone what user does the script use to execute the Gemstone scripts. In mine the key lines are:

RUNASUSER="seasideuser"
GEMSTONE_BIN="/opt/gemstone/product/seaside/bin"
GEMSTONE_STOPNET="/opt/gemstone/product/bin"

# Start GemStone
startGemStone() {
        logger "Starting GemStone server: "
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startGemstone
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startnet 

the environment that 'startGemstone' and friends use will be defined by the environment for user $RUNASUSER



  Yes, my RUNASUSER is also defined as seasideuser, but I still have the same problem.

seasideuser@domU-12-31-39-14-08-6B init.d]$ sudo /etc/init.d/gemstone restart
echoing GEMSTONE:
/opt/gemstone/product
seasideuser <<<<<<<<<<<<<<<------------ echo $RUNASUSER here
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001


Nick


On 13 October 2011 11:24, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 4:20 AM, Nick Ager wrote:

Hi Larry

I suspect that $GEMSTONE isn't defined in the context of the startup script. You could try adding:

echo 'echoing GEMSTONE:'
echo $GEMSTONE

within the startup script and see if you get any output. Otherwise I'm at a loss.


  You're right, the variable is not defined in the context of the startup script. 
So, I added it to the gemstone startup script but it still cannot locate the files! Why?

  I'm at a loss too.... How strange. 

  Here are all my environment variables: 

[seasideuser@domU-12-31-39-14-08-6B init.d]$ set | grep gem
DYLD_LIBRARY_PATH=/opt/gemstone/product/lib:
GEMSTONE=/opt/gemstone/product
GEMSTONE_DATADIR=/opt/gemstone/product/seaside/data
GEMSTONE_EXE_CONF=/opt/gemstone/product/seaside/data
GEMSTONE_KEYFILE=/opt/gemstone/product/seaside/etc/gemstone.key
GEMSTONE_LOGDIR=/opt/gemstone/log
GEMSTONE_SYS_CONF=/opt/gemstone/product/seaside/data/system.conf
LD_LIBRARY_PATH=/opt/gemstone/product/lib:
MANPATH=/opt/gemstone/product/doc:
OLDPWD=/opt/gemstone/product
PATH=/opt/gemstone/product/bin:/opt/gemstone/product/seaside/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/aws/bin:/home/seasideuser/bin
_=gemstone


Nick

On 13 October 2011 03:23, Lawrence Kellogg <[hidden email]> wrote:
I do have a gemstone.secret file


[seasideuser@domU-12-31-39-14-08-6B ~]$ ls $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/etc/gemstone.secret
[seasideuser@domU-12-31-39-14-08-6B ~]$ 


so I'm not sure why the restart script is complaining....

stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory

It also says this is missing: 

$GEMSTONE/bin/startnetldi 

but here it is: 

[seasideuser@domU-12-31-39-14-08-6B bin]$ ls -l $GEMSTONE/bin/startnetldi 
-r-xr-xr-x 1 seasideuser seasideuser 311158 Jul 13  2010 /opt/gemstone/product/bin/startnetldi
[seasideuser@domU-12-31-39-14-08-6B bin]$ 


Confusing....

Larry



On Oct 12, 2011, at 5:30 PM, Nick Ager wrote:

Hi Larry,

It looks as Gemstone can't find the password file: gemstone.secret

I'd suspect that the environment variable $GEMSTONE isn't setup correctly. On my installation:

echo $GEMSTONE

gives:

/opt/gemstone/product

also if I try

sudo echo $GEMSTONE

I get the same result. Do you see something similar?

Nick 

On 12 October 2011 21:23, Lawrence Kellogg <[hidden email]> wrote:
Hello Nick, 
  Well, I'm up to testing out my Gemstone install. 

 sudo /etc/init.d/gemstone restart
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001
Starting WAFastCGIAdaptor gem on port 9002
Starting WAFastCGIAdaptor gem on port 9003
Starting maintenance gem
  Starting service gem
                                                           [  OK  ]
[seasideuser@domU-12-31-39-14-08-6B ~]$ /opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9002.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9001.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9003.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 28: /maintenance_start.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 35: /service_start.log: Permission denied


It looks like I am missing permissions to write to the log files. 
Did I miss some change that I had to make to those two script files, runSeasideGems30 and gemstone? 

It has been a while since I have done any Gemstone work so I'm a little lost. 

Larry


On Oct 12, 2011, at 2:54 PM, Nick Ager wrote:

Hi Larry.

Try: 


thanks for the corrections - I fix the blog post in due course.

A good source of up-to-date information is:


Nick

On 12 October 2011 19:29, Lawrence Kellogg <[hidden email]> wrote:
Hey Nick, 

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
ERROR: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
To connect to glass.gemstone.com insecurely, use ‘--no-check-certificate’.

and with the no certificate option

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
WARNING: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
HTTP request sent, awaiting response... 404 Not Found
<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35 ERROR 404: Not Found.


I guess the install script has been moved somewhere....

Larry


On Oct 12, 2011, at 10:33 AM, Nick Ager wrote:

Hi Larry,

Make sure you include the " - " before your key and lines "#cloud-config" & "ssh_authorized_keys:" 
I find it helpful to form the syntax in a text editor prior to posting into the web-form.

  
  So, is there a space between the '-' and the 'ssh-rsa'? Does it matter? 

I haven't tried it without the spaces, but it works for me with the spaces.  
 
I saw another parameter that said something about disabling metadata. I guess that parameter is not needed. 

Yes that is optional.


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

Correct port 22 is SSH. I'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.
 

  It seems like the Security Group stuff has changed. I wasn't able to get the All Internet 
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/default. 
What do I do with that?

Just pick SSH and HTTP from the drop-down, but I don't think this is your problem.
  
  I wonder if it matters that I was trying this from my laptop over Wifi. 

I doubt that's an issue. 

Good luck

Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Nick
Hi Larry,

I'm mystified. One last idea, try:

cd /opt/gemstone/product/seaside/bin
startGemstone

Any luck?

BTW I assume you downloaded Gemstone 2.4.4.1, not 3.0Beta...

Nick

On 13 October 2011 14:10, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 8:56 AM, Nick Ager wrote:

Hi Larry,

If you examine your /etc/init.d/gemstone what user does the script use to execute the Gemstone scripts. In mine the key lines are:

RUNASUSER="seasideuser"
GEMSTONE_BIN="/opt/gemstone/product/seaside/bin"
GEMSTONE_STOPNET="/opt/gemstone/product/bin"

# Start GemStone
startGemStone() {
        logger "Starting GemStone server: "
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startGemstone
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startnet 

the environment that 'startGemstone' and friends use will be defined by the environment for user $RUNASUSER



  Yes, my RUNASUSER is also defined as seasideuser, but I still have the same problem.

seasideuser@domU-12-31-39-14-08-6B init.d]$ sudo /etc/init.d/gemstone restart
echoing GEMSTONE:
/opt/gemstone/product
seasideuser <<<<<<<<<<<<<<<------------ echo $RUNASUSER here
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001


Nick


On 13 October 2011 11:24, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 4:20 AM, Nick Ager wrote:

Hi Larry

I suspect that $GEMSTONE isn't defined in the context of the startup script. You could try adding:

echo 'echoing GEMSTONE:'
echo $GEMSTONE

within the startup script and see if you get any output. Otherwise I'm at a loss.


  You're right, the variable is not defined in the context of the startup script. 
So, I added it to the gemstone startup script but it still cannot locate the files! Why?

  I'm at a loss too.... How strange. 

  Here are all my environment variables: 

[seasideuser@domU-12-31-39-14-08-6B init.d]$ set | grep gem
DYLD_LIBRARY_PATH=/opt/gemstone/product/lib:
GEMSTONE=/opt/gemstone/product
GEMSTONE_DATADIR=/opt/gemstone/product/seaside/data
GEMSTONE_EXE_CONF=/opt/gemstone/product/seaside/data
GEMSTONE_KEYFILE=/opt/gemstone/product/seaside/etc/gemstone.key
GEMSTONE_LOGDIR=/opt/gemstone/log
GEMSTONE_SYS_CONF=/opt/gemstone/product/seaside/data/system.conf
LD_LIBRARY_PATH=/opt/gemstone/product/lib:
MANPATH=/opt/gemstone/product/doc:
OLDPWD=/opt/gemstone/product
PATH=/opt/gemstone/product/bin:/opt/gemstone/product/seaside/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/aws/bin:/home/seasideuser/bin
_=gemstone


Nick

On 13 October 2011 03:23, Lawrence Kellogg <[hidden email]> wrote:
I do have a gemstone.secret file


[seasideuser@domU-12-31-39-14-08-6B ~]$ ls $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/etc/gemstone.secret
[seasideuser@domU-12-31-39-14-08-6B ~]$ 


so I'm not sure why the restart script is complaining....

stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory

It also says this is missing: 

$GEMSTONE/bin/startnetldi 

but here it is: 

[seasideuser@domU-12-31-39-14-08-6B bin]$ ls -l $GEMSTONE/bin/startnetldi 
-r-xr-xr-x 1 seasideuser seasideuser 311158 Jul 13  2010 /opt/gemstone/product/bin/startnetldi
[seasideuser@domU-12-31-39-14-08-6B bin]$ 


Confusing....

Larry



On Oct 12, 2011, at 5:30 PM, Nick Ager wrote:

Hi Larry,

It looks as Gemstone can't find the password file: gemstone.secret

I'd suspect that the environment variable $GEMSTONE isn't setup correctly. On my installation:

echo $GEMSTONE

gives:

/opt/gemstone/product

also if I try

sudo echo $GEMSTONE

I get the same result. Do you see something similar?

Nick 

On 12 October 2011 21:23, Lawrence Kellogg <[hidden email]> wrote:
Hello Nick, 
  Well, I'm up to testing out my Gemstone install. 

 sudo /etc/init.d/gemstone restart
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001
Starting WAFastCGIAdaptor gem on port 9002
Starting WAFastCGIAdaptor gem on port 9003
Starting maintenance gem
  Starting service gem
                                                           [  OK  ]
[seasideuser@domU-12-31-39-14-08-6B ~]$ /opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9002.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9001.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9003.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 28: /maintenance_start.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 35: /service_start.log: Permission denied


It looks like I am missing permissions to write to the log files. 
Did I miss some change that I had to make to those two script files, runSeasideGems30 and gemstone? 

It has been a while since I have done any Gemstone work so I'm a little lost. 

Larry


On Oct 12, 2011, at 2:54 PM, Nick Ager wrote:

Hi Larry.

Try: 


thanks for the corrections - I fix the blog post in due course.

A good source of up-to-date information is:


Nick

On 12 October 2011 19:29, Lawrence Kellogg <[hidden email]> wrote:
Hey Nick, 

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
ERROR: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
To connect to glass.gemstone.com insecurely, use ‘--no-check-certificate’.

and with the no certificate option

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
WARNING: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
HTTP request sent, awaiting response... 404 Not Found
<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35 ERROR 404: Not Found.


I guess the install script has been moved somewhere....

Larry


On Oct 12, 2011, at 10:33 AM, Nick Ager wrote:

Hi Larry,

Make sure you include the " - " before your key and lines "#cloud-config" & "ssh_authorized_keys:" 
I find it helpful to form the syntax in a text editor prior to posting into the web-form.

  
  So, is there a space between the '-' and the 'ssh-rsa'? Does it matter? 

I haven't tried it without the spaces, but it works for me with the spaces.  
 
I saw another parameter that said something about disabling metadata. I guess that parameter is not needed. 

Yes that is optional.


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

Correct port 22 is SSH. I'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.
 

  It seems like the Security Group stuff has changed. I wasn't able to get the All Internet 
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/default. 
What do I do with that?

Just pick SSH and HTTP from the drop-down, but I don't think this is your problem.
  
  I wonder if it matters that I was trying this from my laptop over Wifi. 

I doubt that's an issue. 

Good luck

Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg

On Oct 13, 2011, at 9:44 AM, Nick Ager wrote:

Hi Larry,

I'm mystified. One last idea, try:

cd /opt/gemstone/product/seaside/bin
startGemstone

Any luck?

BTW I assume you downloaded Gemstone 2.4.4.1, not 3.0Beta...



  Well, that seems to work, I think.... 

stopstone[Info]: Stone repository monitor "seaside" has been stopped.
startstone[Info]: GemStone version '2.4.4.1'
startstone[Info]: Starting Stone repository monitor "seaside".
startstone[Info]: GEMSTONE is: "/opt/gemstone/product".
startstone[Warning]: /usr/lib64/libposix-aio.so not found, using librt.so
startstone[Info]:
    GEMSTONE_SYS_CONF=/opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux/seaside/data/system.conf
    GEMSTONE_EXE_CONF=/opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux/seaside/data/seaside.conf
startstone[Info]: Log file is '/opt/gemstone/log/seaside.log'.
startstone[Info]: GemStone server 'seaside' has been started.


[seasideuser@domU-12-31-39-14-08-6B bin]$ gslist -l
Status  Version    Owner    Pid   Port   Started     Type  Name
------ --------- --------- ----- ----- ------------ ------ ----
exists 2.4.4.1   seasideuser 20921 43237 Oct 13 13:45 cache  [hidden email]
exists 2.4.4.1   seasideuser 20920 49298 Oct 13 13:45 Stone  seaside

Should the ldi process be running? Yes, it is version 2.4.4.1 according to this....

Larry


Nick

On 13 October 2011 14:10, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 8:56 AM, Nick Ager wrote:

Hi Larry,

If you examine your /etc/init.d/gemstone what user does the script use to execute the Gemstone scripts. In mine the key lines are:

RUNASUSER="seasideuser"
GEMSTONE_BIN="/opt/gemstone/product/seaside/bin"
GEMSTONE_STOPNET="/opt/gemstone/product/bin"

# Start GemStone
startGemStone() {
        logger "Starting GemStone server: "
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startGemstone
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startnet 

the environment that 'startGemstone' and friends use will be defined by the environment for user $RUNASUSER



  Yes, my RUNASUSER is also defined as seasideuser, but I still have the same problem.

seasideuser@domU-12-31-39-14-08-6B init.d]$ sudo /etc/init.d/gemstone restart
echoing GEMSTONE:
/opt/gemstone/product
seasideuser <<<<<<<<<<<<<<<------------ echo $RUNASUSER here
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001


Nick


On 13 October 2011 11:24, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 4:20 AM, Nick Ager wrote:

Hi Larry

I suspect that $GEMSTONE isn't defined in the context of the startup script. You could try adding:

echo 'echoing GEMSTONE:'
echo $GEMSTONE

within the startup script and see if you get any output. Otherwise I'm at a loss.


  You're right, the variable is not defined in the context of the startup script. 
So, I added it to the gemstone startup script but it still cannot locate the files! Why?

  I'm at a loss too.... How strange. 

  Here are all my environment variables: 

[seasideuser@domU-12-31-39-14-08-6B init.d]$ set | grep gem
DYLD_LIBRARY_PATH=/opt/gemstone/product/lib:
GEMSTONE=/opt/gemstone/product
GEMSTONE_DATADIR=/opt/gemstone/product/seaside/data
GEMSTONE_EXE_CONF=/opt/gemstone/product/seaside/data
GEMSTONE_KEYFILE=/opt/gemstone/product/seaside/etc/gemstone.key
GEMSTONE_LOGDIR=/opt/gemstone/log
GEMSTONE_SYS_CONF=/opt/gemstone/product/seaside/data/system.conf
LD_LIBRARY_PATH=/opt/gemstone/product/lib:
MANPATH=/opt/gemstone/product/doc:
OLDPWD=/opt/gemstone/product
PATH=/opt/gemstone/product/bin:/opt/gemstone/product/seaside/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/aws/bin:/home/seasideuser/bin
_=gemstone


Nick

On 13 October 2011 03:23, Lawrence Kellogg <[hidden email]> wrote:
I do have a gemstone.secret file


[seasideuser@domU-12-31-39-14-08-6B ~]$ ls $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/etc/gemstone.secret
[seasideuser@domU-12-31-39-14-08-6B ~]$ 


so I'm not sure why the restart script is complaining....

stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory

It also says this is missing: 

$GEMSTONE/bin/startnetldi 

but here it is: 

[seasideuser@domU-12-31-39-14-08-6B bin]$ ls -l $GEMSTONE/bin/startnetldi 
-r-xr-xr-x 1 seasideuser seasideuser 311158 Jul 13  2010 /opt/gemstone/product/bin/startnetldi
[seasideuser@domU-12-31-39-14-08-6B bin]$ 


Confusing....

Larry



On Oct 12, 2011, at 5:30 PM, Nick Ager wrote:

Hi Larry,

It looks as Gemstone can't find the password file: gemstone.secret

I'd suspect that the environment variable $GEMSTONE isn't setup correctly. On my installation:

echo $GEMSTONE

gives:

/opt/gemstone/product

also if I try

sudo echo $GEMSTONE

I get the same result. Do you see something similar?

Nick 

On 12 October 2011 21:23, Lawrence Kellogg <[hidden email]> wrote:
Hello Nick, 
  Well, I'm up to testing out my Gemstone install. 

 sudo /etc/init.d/gemstone restart
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001
Starting WAFastCGIAdaptor gem on port 9002
Starting WAFastCGIAdaptor gem on port 9003
Starting maintenance gem
  Starting service gem
                                                           [  OK  ]
[seasideuser@domU-12-31-39-14-08-6B ~]$ /opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9002.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9001.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9003.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 28: /maintenance_start.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 35: /service_start.log: Permission denied


It looks like I am missing permissions to write to the log files. 
Did I miss some change that I had to make to those two script files, runSeasideGems30 and gemstone? 

It has been a while since I have done any Gemstone work so I'm a little lost. 

Larry


On Oct 12, 2011, at 2:54 PM, Nick Ager wrote:

Hi Larry.

Try: 


thanks for the corrections - I fix the blog post in due course.

A good source of up-to-date information is:


Nick

On 12 October 2011 19:29, Lawrence Kellogg <[hidden email]> wrote:
Hey Nick, 

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
ERROR: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
To connect to glass.gemstone.com insecurely, use ‘--no-check-certificate’.

and with the no certificate option

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
WARNING: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
HTTP request sent, awaiting response... 404 Not Found
<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35 ERROR 404: Not Found.


I guess the install script has been moved somewhere....

Larry


On Oct 12, 2011, at 10:33 AM, Nick Ager wrote:

Hi Larry,

Make sure you include the " - " before your key and lines "#cloud-config" & "ssh_authorized_keys:" 
I find it helpful to form the syntax in a text editor prior to posting into the web-form.

  
  So, is there a space between the '-' and the 'ssh-rsa'? Does it matter? 

I haven't tried it without the spaces, but it works for me with the spaces.  
 
I saw another parameter that said something about disabling metadata. I guess that parameter is not needed. 

Yes that is optional.


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

Correct port 22 is SSH. I'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.
 

  It seems like the Security Group stuff has changed. I wasn't able to get the All Internet 
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/default. 
What do I do with that?

Just pick SSH and HTTP from the drop-down, but I don't think this is your problem.
  
  I wonder if it matters that I was trying this from my laptop over Wifi. 

I doubt that's an issue. 

Good luck

Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Nick
Hi Larry,

So the problem seems to be in the /etc/init.d/gemstone script.

In the meantime if you want to start Gemstone.

cd /opt/gemstone/product/seaside/bin
startGemstone
startnet
runSeasideGems30 start WAFastCGIAdaptor 9001

and to stop:
runSeasideGems30 stop WAFastCGIAdaptor 9001
stopnetldi
stopGemstone


Nick


On 13 October 2011 14:47, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 9:44 AM, Nick Ager wrote:

Hi Larry,

I'm mystified. One last idea, try:

cd /opt/gemstone/product/seaside/bin
startGemstone

Any luck?

BTW I assume you downloaded Gemstone 2.4.4.1, not 3.0Beta...



  Well, that seems to work, I think.... 

stopstone[Info]: Stone repository monitor "seaside" has been stopped.
startstone[Info]: GemStone version '2.4.4.1'
startstone[Info]: Starting Stone repository monitor "seaside".
startstone[Info]: GEMSTONE is: "/opt/gemstone/product".
startstone[Warning]: /usr/lib64/libposix-aio.so not found, using librt.so
startstone[Info]:
    GEMSTONE_SYS_CONF=/opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux/seaside/data/system.conf
    GEMSTONE_EXE_CONF=/opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux/seaside/data/seaside.conf
startstone[Info]: Log file is '/opt/gemstone/log/seaside.log'.
startstone[Info]: GemStone server 'seaside' has been started.


[seasideuser@domU-12-31-39-14-08-6B bin]$ gslist -l
Status  Version    Owner    Pid   Port   Started     Type  Name
------ --------- --------- ----- ----- ------------ ------ ----
exists 2.4.4.1   seasideuser 20921 43237 Oct 13 13:45 cache  [hidden email]
exists 2.4.4.1   seasideuser 20920 49298 Oct 13 13:45 Stone  seaside

Should the ldi process be running? Yes, it is version 2.4.4.1 according to this....

Larry


Nick

On 13 October 2011 14:10, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 8:56 AM, Nick Ager wrote:

Hi Larry,

If you examine your /etc/init.d/gemstone what user does the script use to execute the Gemstone scripts. In mine the key lines are:

RUNASUSER="seasideuser"
GEMSTONE_BIN="/opt/gemstone/product/seaside/bin"
GEMSTONE_STOPNET="/opt/gemstone/product/bin"

# Start GemStone
startGemStone() {
        logger "Starting GemStone server: "
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startGemstone
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startnet 

the environment that 'startGemstone' and friends use will be defined by the environment for user $RUNASUSER



  Yes, my RUNASUSER is also defined as seasideuser, but I still have the same problem.

seasideuser@domU-12-31-39-14-08-6B init.d]$ sudo /etc/init.d/gemstone restart
echoing GEMSTONE:
/opt/gemstone/product
seasideuser <<<<<<<<<<<<<<<------------ echo $RUNASUSER here
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001


Nick


On 13 October 2011 11:24, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 4:20 AM, Nick Ager wrote:

Hi Larry

I suspect that $GEMSTONE isn't defined in the context of the startup script. You could try adding:

echo 'echoing GEMSTONE:'
echo $GEMSTONE

within the startup script and see if you get any output. Otherwise I'm at a loss.


  You're right, the variable is not defined in the context of the startup script. 
So, I added it to the gemstone startup script but it still cannot locate the files! Why?

  I'm at a loss too.... How strange. 

  Here are all my environment variables: 

[seasideuser@domU-12-31-39-14-08-6B init.d]$ set | grep gem
DYLD_LIBRARY_PATH=/opt/gemstone/product/lib:
GEMSTONE=/opt/gemstone/product
GEMSTONE_DATADIR=/opt/gemstone/product/seaside/data
GEMSTONE_EXE_CONF=/opt/gemstone/product/seaside/data
GEMSTONE_KEYFILE=/opt/gemstone/product/seaside/etc/gemstone.key
GEMSTONE_LOGDIR=/opt/gemstone/log
GEMSTONE_SYS_CONF=/opt/gemstone/product/seaside/data/system.conf
LD_LIBRARY_PATH=/opt/gemstone/product/lib:
MANPATH=/opt/gemstone/product/doc:
OLDPWD=/opt/gemstone/product
PATH=/opt/gemstone/product/bin:/opt/gemstone/product/seaside/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/aws/bin:/home/seasideuser/bin
_=gemstone


Nick

On 13 October 2011 03:23, Lawrence Kellogg <[hidden email]> wrote:
I do have a gemstone.secret file


[seasideuser@domU-12-31-39-14-08-6B ~]$ ls $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/etc/gemstone.secret
[seasideuser@domU-12-31-39-14-08-6B ~]$ 


so I'm not sure why the restart script is complaining....

stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory

It also says this is missing: 

$GEMSTONE/bin/startnetldi 

but here it is: 

[seasideuser@domU-12-31-39-14-08-6B bin]$ ls -l $GEMSTONE/bin/startnetldi 
-r-xr-xr-x 1 seasideuser seasideuser 311158 Jul 13  2010 /opt/gemstone/product/bin/startnetldi
[seasideuser@domU-12-31-39-14-08-6B bin]$ 


Confusing....

Larry



On Oct 12, 2011, at 5:30 PM, Nick Ager wrote:

Hi Larry,

It looks as Gemstone can't find the password file: gemstone.secret

I'd suspect that the environment variable $GEMSTONE isn't setup correctly. On my installation:

echo $GEMSTONE

gives:

/opt/gemstone/product

also if I try

sudo echo $GEMSTONE

I get the same result. Do you see something similar?

Nick 

On 12 October 2011 21:23, Lawrence Kellogg <[hidden email]> wrote:
Hello Nick, 
  Well, I'm up to testing out my Gemstone install. 

 sudo /etc/init.d/gemstone restart
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001
Starting WAFastCGIAdaptor gem on port 9002
Starting WAFastCGIAdaptor gem on port 9003
Starting maintenance gem
  Starting service gem
                                                           [  OK  ]
[seasideuser@domU-12-31-39-14-08-6B ~]$ /opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9002.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9001.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9003.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 28: /maintenance_start.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 35: /service_start.log: Permission denied


It looks like I am missing permissions to write to the log files. 
Did I miss some change that I had to make to those two script files, runSeasideGems30 and gemstone? 

It has been a while since I have done any Gemstone work so I'm a little lost. 

Larry


On Oct 12, 2011, at 2:54 PM, Nick Ager wrote:

Hi Larry.

Try: 


thanks for the corrections - I fix the blog post in due course.

A good source of up-to-date information is:


Nick

On 12 October 2011 19:29, Lawrence Kellogg <[hidden email]> wrote:
Hey Nick, 

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
ERROR: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
To connect to glass.gemstone.com insecurely, use ‘--no-check-certificate’.

and with the no certificate option

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
WARNING: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
HTTP request sent, awaiting response... 404 Not Found
<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35 ERROR 404: Not Found.


I guess the install script has been moved somewhere....

Larry


On Oct 12, 2011, at 10:33 AM, Nick Ager wrote:

Hi Larry,

Make sure you include the " - " before your key and lines "#cloud-config" & "ssh_authorized_keys:" 
I find it helpful to form the syntax in a text editor prior to posting into the web-form.

  
  So, is there a space between the '-' and the 'ssh-rsa'? Does it matter? 

I haven't tried it without the spaces, but it works for me with the spaces.  
 
I saw another parameter that said something about disabling metadata. I guess that parameter is not needed. 

Yes that is optional.


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

Correct port 22 is SSH. I'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.
 

  It seems like the Security Group stuff has changed. I wasn't able to get the All Internet 
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/default. 
What do I do with that?

Just pick SSH and HTTP from the drop-down, but I don't think this is your problem.
  
  I wonder if it matters that I was trying this from my laptop over Wifi. 

I doubt that's an issue. 

Good luck

Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg

On Oct 13, 2011, at 9:55 AM, Nick Ager wrote:

Hi Larry,

So the problem seems to be in the /etc/init.d/gemstone script.

In the meantime if you want to start Gemstone.

cd /opt/gemstone/product/seaside/bin
startGemstone
startnet
runSeasideGems30 start WAFastCGIAdaptor 9001


  Thanks. Well, that last line seems to have a problem with writing to the log file. 
Some permission issue? 

Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001
Starting maintenance gem
  Starting service gem
[seasideuser@domU-12-31-39-14-08-6B bin]$ /opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /opt/gemstone/log/WAFastCGIAdaptor_start-9001.log: Permission denied

Should WAFastCGIAdaptor show up in GSlist???

[seasideuser@domU-12-31-39-14-08-6B bin]$ gslist -l
Status  Version    Owner    Pid   Port   Started     Type  Name
------ --------- --------- ----- ----- ------------ ------ ----
exists 2.4.4.1   seasideuser 21071 50377 Oct 13 14:17 Netldi gs64ldi
exists 2.4.4.1   seasideuser 20921 43237 Oct 13 13:45 cache  [hidden email]
exists 2.4.4.1   seasideuser 20920 49298 Oct 13 13:45 Stone  seaside






and to stop:
runSeasideGems30 stop WAFastCGIAdaptor 9001
stopnetldi
stopGemstone


Nick


On 13 October 2011 14:47, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 9:44 AM, Nick Ager wrote:

Hi Larry,

I'm mystified. One last idea, try:

cd /opt/gemstone/product/seaside/bin
startGemstone

Any luck?

BTW I assume you downloaded Gemstone 2.4.4.1, not 3.0Beta...



  Well, that seems to work, I think.... 

stopstone[Info]: Stone repository monitor "seaside" has been stopped.
startstone[Info]: GemStone version '2.4.4.1'
startstone[Info]: Starting Stone repository monitor "seaside".
startstone[Info]: GEMSTONE is: "/opt/gemstone/product".
startstone[Warning]: /usr/lib64/libposix-aio.so not found, using librt.so
startstone[Info]:
    GEMSTONE_SYS_CONF=/opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux/seaside/data/system.conf
    GEMSTONE_EXE_CONF=/opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux/seaside/data/seaside.conf
startstone[Info]: Log file is '/opt/gemstone/log/seaside.log'.
startstone[Info]: GemStone server 'seaside' has been started.


[seasideuser@domU-12-31-39-14-08-6B bin]$ gslist -l
Status  Version    Owner    Pid   Port   Started     Type  Name
------ --------- --------- ----- ----- ------------ ------ ----
exists 2.4.4.1   seasideuser 20921 43237 Oct 13 13:45 cache  [hidden email]
exists 2.4.4.1   seasideuser 20920 49298 Oct 13 13:45 Stone  seaside

Should the ldi process be running? Yes, it is version 2.4.4.1 according to this....

Larry


Nick

On 13 October 2011 14:10, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 8:56 AM, Nick Ager wrote:

Hi Larry,

If you examine your /etc/init.d/gemstone what user does the script use to execute the Gemstone scripts. In mine the key lines are:

RUNASUSER="seasideuser"
GEMSTONE_BIN="/opt/gemstone/product/seaside/bin"
GEMSTONE_STOPNET="/opt/gemstone/product/bin"

# Start GemStone
startGemStone() {
        logger "Starting GemStone server: "
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startGemstone
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startnet 

the environment that 'startGemstone' and friends use will be defined by the environment for user $RUNASUSER



  Yes, my RUNASUSER is also defined as seasideuser, but I still have the same problem.

seasideuser@domU-12-31-39-14-08-6B init.d]$ sudo /etc/init.d/gemstone restart
echoing GEMSTONE:
/opt/gemstone/product
seasideuser <<<<<<<<<<<<<<<------------ echo $RUNASUSER here
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001


Nick


On 13 October 2011 11:24, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 4:20 AM, Nick Ager wrote:

Hi Larry

I suspect that $GEMSTONE isn't defined in the context of the startup script. You could try adding:

echo 'echoing GEMSTONE:'
echo $GEMSTONE

within the startup script and see if you get any output. Otherwise I'm at a loss.


  You're right, the variable is not defined in the context of the startup script. 
So, I added it to the gemstone startup script but it still cannot locate the files! Why?

  I'm at a loss too.... How strange. 

  Here are all my environment variables: 

[seasideuser@domU-12-31-39-14-08-6B init.d]$ set | grep gem
DYLD_LIBRARY_PATH=/opt/gemstone/product/lib:
GEMSTONE=/opt/gemstone/product
GEMSTONE_DATADIR=/opt/gemstone/product/seaside/data
GEMSTONE_EXE_CONF=/opt/gemstone/product/seaside/data
GEMSTONE_KEYFILE=/opt/gemstone/product/seaside/etc/gemstone.key
GEMSTONE_LOGDIR=/opt/gemstone/log
GEMSTONE_SYS_CONF=/opt/gemstone/product/seaside/data/system.conf
LD_LIBRARY_PATH=/opt/gemstone/product/lib:
MANPATH=/opt/gemstone/product/doc:
OLDPWD=/opt/gemstone/product
PATH=/opt/gemstone/product/bin:/opt/gemstone/product/seaside/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/aws/bin:/home/seasideuser/bin
_=gemstone


Nick

On 13 October 2011 03:23, Lawrence Kellogg <[hidden email]> wrote:
I do have a gemstone.secret file


[seasideuser@domU-12-31-39-14-08-6B ~]$ ls $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/etc/gemstone.secret
[seasideuser@domU-12-31-39-14-08-6B ~]$ 


so I'm not sure why the restart script is complaining....

stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory

It also says this is missing: 

$GEMSTONE/bin/startnetldi 

but here it is: 

[seasideuser@domU-12-31-39-14-08-6B bin]$ ls -l $GEMSTONE/bin/startnetldi 
-r-xr-xr-x 1 seasideuser seasideuser 311158 Jul 13  2010 /opt/gemstone/product/bin/startnetldi
[seasideuser@domU-12-31-39-14-08-6B bin]$ 


Confusing....

Larry



On Oct 12, 2011, at 5:30 PM, Nick Ager wrote:

Hi Larry,

It looks as Gemstone can't find the password file: gemstone.secret

I'd suspect that the environment variable $GEMSTONE isn't setup correctly. On my installation:

echo $GEMSTONE

gives:

/opt/gemstone/product

also if I try

sudo echo $GEMSTONE

I get the same result. Do you see something similar?

Nick 

On 12 October 2011 21:23, Lawrence Kellogg <[hidden email]> wrote:
Hello Nick, 
  Well, I'm up to testing out my Gemstone install. 

 sudo /etc/init.d/gemstone restart
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001
Starting WAFastCGIAdaptor gem on port 9002
Starting WAFastCGIAdaptor gem on port 9003
Starting maintenance gem
  Starting service gem
                                                           [  OK  ]
[seasideuser@domU-12-31-39-14-08-6B ~]$ /opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9002.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9001.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9003.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 28: /maintenance_start.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 35: /service_start.log: Permission denied


It looks like I am missing permissions to write to the log files. 
Did I miss some change that I had to make to those two script files, runSeasideGems30 and gemstone? 

It has been a while since I have done any Gemstone work so I'm a little lost. 

Larry


On Oct 12, 2011, at 2:54 PM, Nick Ager wrote:

Hi Larry.

Try: 


thanks for the corrections - I fix the blog post in due course.

A good source of up-to-date information is:


Nick

On 12 October 2011 19:29, Lawrence Kellogg <[hidden email]> wrote:
Hey Nick, 

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
ERROR: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
To connect to glass.gemstone.com insecurely, use ‘--no-check-certificate’.

and with the no certificate option

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
WARNING: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
HTTP request sent, awaiting response... 404 Not Found
<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35 ERROR 404: Not Found.


I guess the install script has been moved somewhere....

Larry


On Oct 12, 2011, at 10:33 AM, Nick Ager wrote:

Hi Larry,

Make sure you include the " - " before your key and lines "#cloud-config" & "ssh_authorized_keys:" 
I find it helpful to form the syntax in a text editor prior to posting into the web-form.

  
  So, is there a space between the '-' and the 'ssh-rsa'? Does it matter? 

I haven't tried it without the spaces, but it works for me with the spaces.  
 
I saw another parameter that said something about disabling metadata. I guess that parameter is not needed. 

Yes that is optional.


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

Correct port 22 is SSH. I'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.
 

  It seems like the Security Group stuff has changed. I wasn't able to get the All Internet 
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/default. 
What do I do with that?

Just pick SSH and HTTP from the drop-down, but I don't think this is your problem.
  
  I wonder if it matters that I was trying this from my laptop over Wifi. 

I doubt that's an issue. 

Good luck

Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg
In reply to this post by Nick
and a problem with finding X11 display module....

[seasideuser@domU-12-31-39-14-08-6B GemTools-1.0-beta.8-244x.app]$ ~/gemtools.sh
[seasideuser@domU-12-31-39-14-08-6B GemTools-1.0-beta.8-244x.app]$ could not find module vm-display-X11


hmmmm....


On Oct 13, 2011, at 9:55 AM, Nick Ager wrote:

Hi Larry,

So the problem seems to be in the /etc/init.d/gemstone script.

In the meantime if you want to start Gemstone.

cd /opt/gemstone/product/seaside/bin
startGemstone
startnet
runSeasideGems30 start WAFastCGIAdaptor 9001

and to stop:
runSeasideGems30 stop WAFastCGIAdaptor 9001
stopnetldi
stopGemstone


Nick


On 13 October 2011 14:47, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 9:44 AM, Nick Ager wrote:

Hi Larry,

I'm mystified. One last idea, try:

cd /opt/gemstone/product/seaside/bin
startGemstone

Any luck?

BTW I assume you downloaded Gemstone 2.4.4.1, not 3.0Beta...



  Well, that seems to work, I think.... 

stopstone[Info]: Stone repository monitor "seaside" has been stopped.
startstone[Info]: GemStone version '2.4.4.1'
startstone[Info]: Starting Stone repository monitor "seaside".
startstone[Info]: GEMSTONE is: "/opt/gemstone/product".
startstone[Warning]: /usr/lib64/libposix-aio.so not found, using librt.so
startstone[Info]:
    GEMSTONE_SYS_CONF=/opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux/seaside/data/system.conf
    GEMSTONE_EXE_CONF=/opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux/seaside/data/seaside.conf
startstone[Info]: Log file is '/opt/gemstone/log/seaside.log'.
startstone[Info]: GemStone server 'seaside' has been started.


[seasideuser@domU-12-31-39-14-08-6B bin]$ gslist -l
Status  Version    Owner    Pid   Port   Started     Type  Name
------ --------- --------- ----- ----- ------------ ------ ----
exists 2.4.4.1   seasideuser 20921 43237 Oct 13 13:45 cache  [hidden email]
exists 2.4.4.1   seasideuser 20920 49298 Oct 13 13:45 Stone  seaside

Should the ldi process be running? Yes, it is version 2.4.4.1 according to this....

Larry


Nick

On 13 October 2011 14:10, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 8:56 AM, Nick Ager wrote:

Hi Larry,

If you examine your /etc/init.d/gemstone what user does the script use to execute the Gemstone scripts. In mine the key lines are:

RUNASUSER="seasideuser"
GEMSTONE_BIN="/opt/gemstone/product/seaside/bin"
GEMSTONE_STOPNET="/opt/gemstone/product/bin"

# Start GemStone
startGemStone() {
        logger "Starting GemStone server: "
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startGemstone
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startnet 

the environment that 'startGemstone' and friends use will be defined by the environment for user $RUNASUSER



  Yes, my RUNASUSER is also defined as seasideuser, but I still have the same problem.

seasideuser@domU-12-31-39-14-08-6B init.d]$ sudo /etc/init.d/gemstone restart
echoing GEMSTONE:
/opt/gemstone/product
seasideuser <<<<<<<<<<<<<<<------------ echo $RUNASUSER here
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001


Nick


On 13 October 2011 11:24, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 4:20 AM, Nick Ager wrote:

Hi Larry

I suspect that $GEMSTONE isn't defined in the context of the startup script. You could try adding:

echo 'echoing GEMSTONE:'
echo $GEMSTONE

within the startup script and see if you get any output. Otherwise I'm at a loss.


  You're right, the variable is not defined in the context of the startup script. 
So, I added it to the gemstone startup script but it still cannot locate the files! Why?

  I'm at a loss too.... How strange. 

  Here are all my environment variables: 

[seasideuser@domU-12-31-39-14-08-6B init.d]$ set | grep gem
DYLD_LIBRARY_PATH=/opt/gemstone/product/lib:
GEMSTONE=/opt/gemstone/product
GEMSTONE_DATADIR=/opt/gemstone/product/seaside/data
GEMSTONE_EXE_CONF=/opt/gemstone/product/seaside/data
GEMSTONE_KEYFILE=/opt/gemstone/product/seaside/etc/gemstone.key
GEMSTONE_LOGDIR=/opt/gemstone/log
GEMSTONE_SYS_CONF=/opt/gemstone/product/seaside/data/system.conf
LD_LIBRARY_PATH=/opt/gemstone/product/lib:
MANPATH=/opt/gemstone/product/doc:
OLDPWD=/opt/gemstone/product
PATH=/opt/gemstone/product/bin:/opt/gemstone/product/seaside/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/aws/bin:/home/seasideuser/bin
_=gemstone


Nick

On 13 October 2011 03:23, Lawrence Kellogg <[hidden email]> wrote:
I do have a gemstone.secret file


[seasideuser@domU-12-31-39-14-08-6B ~]$ ls $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/etc/gemstone.secret
[seasideuser@domU-12-31-39-14-08-6B ~]$ 


so I'm not sure why the restart script is complaining....

stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory

It also says this is missing: 

$GEMSTONE/bin/startnetldi 

but here it is: 

[seasideuser@domU-12-31-39-14-08-6B bin]$ ls -l $GEMSTONE/bin/startnetldi 
-r-xr-xr-x 1 seasideuser seasideuser 311158 Jul 13  2010 /opt/gemstone/product/bin/startnetldi
[seasideuser@domU-12-31-39-14-08-6B bin]$ 


Confusing....

Larry



On Oct 12, 2011, at 5:30 PM, Nick Ager wrote:

Hi Larry,

It looks as Gemstone can't find the password file: gemstone.secret

I'd suspect that the environment variable $GEMSTONE isn't setup correctly. On my installation:

echo $GEMSTONE

gives:

/opt/gemstone/product

also if I try

sudo echo $GEMSTONE

I get the same result. Do you see something similar?

Nick 

On 12 October 2011 21:23, Lawrence Kellogg <[hidden email]> wrote:
Hello Nick, 
  Well, I'm up to testing out my Gemstone install. 

 sudo /etc/init.d/gemstone restart
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001
Starting WAFastCGIAdaptor gem on port 9002
Starting WAFastCGIAdaptor gem on port 9003
Starting maintenance gem
  Starting service gem
                                                           [  OK  ]
[seasideuser@domU-12-31-39-14-08-6B ~]$ /opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9002.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9001.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9003.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 28: /maintenance_start.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 35: /service_start.log: Permission denied


It looks like I am missing permissions to write to the log files. 
Did I miss some change that I had to make to those two script files, runSeasideGems30 and gemstone? 

It has been a while since I have done any Gemstone work so I'm a little lost. 

Larry


On Oct 12, 2011, at 2:54 PM, Nick Ager wrote:

Hi Larry.

Try: 


thanks for the corrections - I fix the blog post in due course.

A good source of up-to-date information is:


Nick

On 12 October 2011 19:29, Lawrence Kellogg <[hidden email]> wrote:
Hey Nick, 

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
ERROR: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
To connect to glass.gemstone.com insecurely, use ‘--no-check-certificate’.

and with the no certificate option

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
WARNING: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
HTTP request sent, awaiting response... 404 Not Found
<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35 ERROR 404: Not Found.


I guess the install script has been moved somewhere....

Larry


On Oct 12, 2011, at 10:33 AM, Nick Ager wrote:

Hi Larry,

Make sure you include the " - " before your key and lines "#cloud-config" & "ssh_authorized_keys:" 
I find it helpful to form the syntax in a text editor prior to posting into the web-form.

  
  So, is there a space between the '-' and the 'ssh-rsa'? Does it matter? 

I haven't tried it without the spaces, but it works for me with the spaces.  
 
I saw another parameter that said something about disabling metadata. I guess that parameter is not needed. 

Yes that is optional.


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

Correct port 22 is SSH. I'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.
 

  It seems like the Security Group stuff has changed. I wasn't able to get the All Internet 
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/default. 
What do I do with that?

Just pick SSH and HTTP from the drop-down, but I don't think this is your problem.
  
  I wonder if it matters that I was trying this from my laptop over Wifi. 

I doubt that's an issue. 

Good luck

Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Nick
In reply to this post by Larry Kellogg


  Thanks. Well, that last line seems to have a problem with writing to the log file. 
Some permission issue? 

Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001
Starting maintenance gem
  Starting service gem
[seasideuser@domU-12-31-39-14-08-6B bin]$ /opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /opt/gemstone/log/WAFastCGIAdaptor_start-9001.log: Permission denied


I guess try changing the ownership:

cd /opt
chown -R seasideuser:seasideuser gemstone



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Nick
In reply to this post by Larry Kellogg
Are you connecting with ssh -X to forward X11 to your local machine? For example:
ssh -X -C [hidden email]
The -X parameter enables X11-forwarding, -C compression

Have you installed the necessary X libraries?

sudo yum install xauth mesa-libGL.i386 libXrender.i386 libSM.i386 freetype.i386 libstdc++.i386


On 13 October 2011 15:54, Lawrence Kellogg <[hidden email]> wrote:
and a problem with finding X11 display module....

[seasideuser@domU-12-31-39-14-08-6B GemTools-1.0-beta.8-244x.app]$ ~/gemtools.sh
[seasideuser@domU-12-31-39-14-08-6B GemTools-1.0-beta.8-244x.app]$ could not find module vm-display-X11


hmmmm....


On Oct 13, 2011, at 9:55 AM, Nick Ager wrote:

Hi Larry,

So the problem seems to be in the /etc/init.d/gemstone script.

In the meantime if you want to start Gemstone.

cd /opt/gemstone/product/seaside/bin
startGemstone
startnet
runSeasideGems30 start WAFastCGIAdaptor 9001

and to stop:
runSeasideGems30 stop WAFastCGIAdaptor 9001
stopnetldi
stopGemstone


Nick


On 13 October 2011 14:47, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 9:44 AM, Nick Ager wrote:

Hi Larry,

I'm mystified. One last idea, try:

cd /opt/gemstone/product/seaside/bin
startGemstone

Any luck?

BTW I assume you downloaded Gemstone 2.4.4.1, not 3.0Beta...



  Well, that seems to work, I think.... 

stopstone[Info]: Stone repository monitor "seaside" has been stopped.
startstone[Info]: GemStone version '2.4.4.1'
startstone[Info]: Starting Stone repository monitor "seaside".
startstone[Info]: GEMSTONE is: "/opt/gemstone/product".
startstone[Warning]: /usr/lib64/libposix-aio.so not found, using librt.so
startstone[Info]:
    GEMSTONE_SYS_CONF=/opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux/seaside/data/system.conf
    GEMSTONE_EXE_CONF=/opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux/seaside/data/seaside.conf
startstone[Info]: Log file is '/opt/gemstone/log/seaside.log'.
startstone[Info]: GemStone server 'seaside' has been started.


[seasideuser@domU-12-31-39-14-08-6B bin]$ gslist -l
Status  Version    Owner    Pid   Port   Started     Type  Name
------ --------- --------- ----- ----- ------------ ------ ----
exists 2.4.4.1   seasideuser 20921 43237 Oct 13 13:45 cache  [hidden email]
exists 2.4.4.1   seasideuser 20920 49298 Oct 13 13:45 Stone  seaside

Should the ldi process be running? Yes, it is version 2.4.4.1 according to this....

Larry


Nick

On 13 October 2011 14:10, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 8:56 AM, Nick Ager wrote:

Hi Larry,

If you examine your /etc/init.d/gemstone what user does the script use to execute the Gemstone scripts. In mine the key lines are:

RUNASUSER="seasideuser"
GEMSTONE_BIN="/opt/gemstone/product/seaside/bin"
GEMSTONE_STOPNET="/opt/gemstone/product/bin"

# Start GemStone
startGemStone() {
        logger "Starting GemStone server: "
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startGemstone
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startnet 

the environment that 'startGemstone' and friends use will be defined by the environment for user $RUNASUSER



  Yes, my RUNASUSER is also defined as seasideuser, but I still have the same problem.

seasideuser@domU-12-31-39-14-08-6B init.d]$ sudo /etc/init.d/gemstone restart
echoing GEMSTONE:
/opt/gemstone/product
seasideuser <<<<<<<<<<<<<<<------------ echo $RUNASUSER here
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001


Nick


On 13 October 2011 11:24, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 4:20 AM, Nick Ager wrote:

Hi Larry

I suspect that $GEMSTONE isn't defined in the context of the startup script. You could try adding:

echo 'echoing GEMSTONE:'
echo $GEMSTONE

within the startup script and see if you get any output. Otherwise I'm at a loss.


  You're right, the variable is not defined in the context of the startup script. 
So, I added it to the gemstone startup script but it still cannot locate the files! Why?

  I'm at a loss too.... How strange. 

  Here are all my environment variables: 

[seasideuser@domU-12-31-39-14-08-6B init.d]$ set | grep gem
DYLD_LIBRARY_PATH=/opt/gemstone/product/lib:
GEMSTONE=/opt/gemstone/product
GEMSTONE_DATADIR=/opt/gemstone/product/seaside/data
GEMSTONE_EXE_CONF=/opt/gemstone/product/seaside/data
GEMSTONE_KEYFILE=/opt/gemstone/product/seaside/etc/gemstone.key
GEMSTONE_LOGDIR=/opt/gemstone/log
GEMSTONE_SYS_CONF=/opt/gemstone/product/seaside/data/system.conf
LD_LIBRARY_PATH=/opt/gemstone/product/lib:
MANPATH=/opt/gemstone/product/doc:
OLDPWD=/opt/gemstone/product
PATH=/opt/gemstone/product/bin:/opt/gemstone/product/seaside/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/aws/bin:/home/seasideuser/bin
_=gemstone


Nick

On 13 October 2011 03:23, Lawrence Kellogg <[hidden email]> wrote:
I do have a gemstone.secret file


[seasideuser@domU-12-31-39-14-08-6B ~]$ ls $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/etc/gemstone.secret
[seasideuser@domU-12-31-39-14-08-6B ~]$ 


so I'm not sure why the restart script is complaining....

stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory

It also says this is missing: 

$GEMSTONE/bin/startnetldi 

but here it is: 

[seasideuser@domU-12-31-39-14-08-6B bin]$ ls -l $GEMSTONE/bin/startnetldi 
-r-xr-xr-x 1 seasideuser seasideuser 311158 Jul 13  2010 /opt/gemstone/product/bin/startnetldi
[seasideuser@domU-12-31-39-14-08-6B bin]$ 


Confusing....

Larry



On Oct 12, 2011, at 5:30 PM, Nick Ager wrote:

Hi Larry,

It looks as Gemstone can't find the password file: gemstone.secret

I'd suspect that the environment variable $GEMSTONE isn't setup correctly. On my installation:

echo $GEMSTONE

gives:

/opt/gemstone/product

also if I try

sudo echo $GEMSTONE

I get the same result. Do you see something similar?

Nick 

On 12 October 2011 21:23, Lawrence Kellogg <[hidden email]> wrote:
Hello Nick, 
  Well, I'm up to testing out my Gemstone install. 

 sudo /etc/init.d/gemstone restart
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001
Starting WAFastCGIAdaptor gem on port 9002
Starting WAFastCGIAdaptor gem on port 9003
Starting maintenance gem
  Starting service gem
                                                           [  OK  ]
[seasideuser@domU-12-31-39-14-08-6B ~]$ /opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9002.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9001.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9003.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 28: /maintenance_start.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 35: /service_start.log: Permission denied


It looks like I am missing permissions to write to the log files. 
Did I miss some change that I had to make to those two script files, runSeasideGems30 and gemstone? 

It has been a while since I have done any Gemstone work so I'm a little lost. 

Larry


On Oct 12, 2011, at 2:54 PM, Nick Ager wrote:

Hi Larry.

Try: 


thanks for the corrections - I fix the blog post in due course.

A good source of up-to-date information is:


Nick

On 12 October 2011 19:29, Lawrence Kellogg <[hidden email]> wrote:
Hey Nick, 

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
ERROR: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
To connect to glass.gemstone.com insecurely, use ‘--no-check-certificate’.

and with the no certificate option

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
WARNING: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
HTTP request sent, awaiting response... 404 Not Found
<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35 ERROR 404: Not Found.


I guess the install script has been moved somewhere....

Larry


On Oct 12, 2011, at 10:33 AM, Nick Ager wrote:

Hi Larry,

Make sure you include the " - " before your key and lines "#cloud-config" & "ssh_authorized_keys:" 
I find it helpful to form the syntax in a text editor prior to posting into the web-form.

  
  So, is there a space between the '-' and the 'ssh-rsa'? Does it matter? 

I haven't tried it without the spaces, but it works for me with the spaces.  
 
I saw another parameter that said something about disabling metadata. I guess that parameter is not needed. 

Yes that is optional.


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

Correct port 22 is SSH. I'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.
 

  It seems like the Security Group stuff has changed. I wasn't able to get the All Internet 
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/default. 
What do I do with that?

Just pick SSH and HTTP from the drop-down, but I don't think this is your problem.
  
  I wonder if it matters that I was trying this from my laptop over Wifi. 

I doubt that's an issue. 

Good luck

Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg

On Oct 13, 2011, at 1:26 PM, Nick Ager wrote:

Are you connecting with ssh -X to forward X11 to your local machine? For example:
ssh -X -C [hidden email]

Yes, I login in with -X -C 

  Is a local ip necessary as a parameter?

The -X parameter enables X11-forwarding, -C compression

Have you installed the necessary X libraries?

sudo yum install xauth mesa-libGL.i386 libXrender.i386 libSM.i386 freetype.i386 libstdc++.i386



I noticed that other people on the net have run into the "could not find module vm-display-X11"
I haven't seen a solution yet.

Yes, I installed the libraries. I tried again and got this: 

seasideuser@domU-12-31-39-14-08-6B ~]$ sudo yum install xauth mesa-libGL.i386 libXrender.i386 libSM.i386 freetype.i386 libstdc++.i386
Loaded plugins: fastestmirror, priorities, security, update-motd
Loading mirror speeds from cached hostfile
amzn-main                                                                                                  | 2.1 kB     00:00     
amzn-updates                                                                                               | 2.1 kB     00:00     
Setting up Install Process
Package 1:xorg-x11-xauth-1.0.2-7.1.4.amzn1.x86_64 already installed and latest version
No package mesa-libGL.i386 available.
No package libXrender.i386 available.
No package libSM.i386 available.
No package freetype.i386 available.
No package libstdc++.i386 available.
Nothing to do
[seasideuser@domU-12-31-39-14-08-6B ~]$ ~/gemtools.sh[seasideuser@domU-12-31-39-14-08-6B ~]$ could not find module vm-display-X11


  The file permission thing seemed to fix the other problem with starting the gem but I still don't see 
a gem in the gslist....

  I'm getting close! ;-) Thanks for sticking with me. 

  Larry




On 13 October 2011 15:54, Lawrence Kellogg <[hidden email]> wrote:
and a problem with finding X11 display module....

[seasideuser@domU-12-31-39-14-08-6B GemTools-1.0-beta.8-244x.app]$ ~/gemtools.sh
[seasideuser@domU-12-31-39-14-08-6B GemTools-1.0-beta.8-244x.app]$ could not find module vm-display-X11


hmmmm....


On Oct 13, 2011, at 9:55 AM, Nick Ager wrote:

Hi Larry,

So the problem seems to be in the /etc/init.d/gemstone script.

In the meantime if you want to start Gemstone.

cd /opt/gemstone/product/seaside/bin
startGemstone
startnet
runSeasideGems30 start WAFastCGIAdaptor 9001

and to stop:
runSeasideGems30 stop WAFastCGIAdaptor 9001
stopnetldi
stopGemstone


Nick


On 13 October 2011 14:47, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 9:44 AM, Nick Ager wrote:

Hi Larry,

I'm mystified. One last idea, try:

cd /opt/gemstone/product/seaside/bin
startGemstone

Any luck?

BTW I assume you downloaded Gemstone 2.4.4.1, not 3.0Beta...



  Well, that seems to work, I think.... 

stopstone[Info]: Stone repository monitor "seaside" has been stopped.
startstone[Info]: GemStone version '2.4.4.1'
startstone[Info]: Starting Stone repository monitor "seaside".
startstone[Info]: GEMSTONE is: "/opt/gemstone/product".
startstone[Warning]: /usr/lib64/libposix-aio.so not found, using librt.so
startstone[Info]:
    GEMSTONE_SYS_CONF=/opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux/seaside/data/system.conf
    GEMSTONE_EXE_CONF=/opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux/seaside/data/seaside.conf
startstone[Info]: Log file is '/opt/gemstone/log/seaside.log'.
startstone[Info]: GemStone server 'seaside' has been started.


[seasideuser@domU-12-31-39-14-08-6B bin]$ gslist -l
Status  Version    Owner    Pid   Port   Started     Type  Name
------ --------- --------- ----- ----- ------------ ------ ----
exists 2.4.4.1   seasideuser 20921 43237 Oct 13 13:45 cache  [hidden email]
exists 2.4.4.1   seasideuser 20920 49298 Oct 13 13:45 Stone  seaside

Should the ldi process be running? Yes, it is version 2.4.4.1 according to this....

Larry


Nick

On 13 October 2011 14:10, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 8:56 AM, Nick Ager wrote:

Hi Larry,

If you examine your /etc/init.d/gemstone what user does the script use to execute the Gemstone scripts. In mine the key lines are:

RUNASUSER="seasideuser"
GEMSTONE_BIN="/opt/gemstone/product/seaside/bin"
GEMSTONE_STOPNET="/opt/gemstone/product/bin"

# Start GemStone
startGemStone() {
        logger "Starting GemStone server: "
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startGemstone
        daemon --user=$RUNASUSER $GEMSTONE_BIN/startnet 

the environment that 'startGemstone' and friends use will be defined by the environment for user $RUNASUSER



  Yes, my RUNASUSER is also defined as seasideuser, but I still have the same problem.

seasideuser@domU-12-31-39-14-08-6B init.d]$ sudo /etc/init.d/gemstone restart
echoing GEMSTONE:
/opt/gemstone/product
seasideuser <<<<<<<<<<<<<<<------------ echo $RUNASUSER here
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001


Nick


On 13 October 2011 11:24, Lawrence Kellogg <[hidden email]> wrote:

On Oct 13, 2011, at 4:20 AM, Nick Ager wrote:

Hi Larry

I suspect that $GEMSTONE isn't defined in the context of the startup script. You could try adding:

echo 'echoing GEMSTONE:'
echo $GEMSTONE

within the startup script and see if you get any output. Otherwise I'm at a loss.


  You're right, the variable is not defined in the context of the startup script. 
So, I added it to the gemstone startup script but it still cannot locate the files! Why?

  I'm at a loss too.... How strange. 

  Here are all my environment variables: 

[seasideuser@domU-12-31-39-14-08-6B init.d]$ set | grep gem
DYLD_LIBRARY_PATH=/opt/gemstone/product/lib:
GEMSTONE=/opt/gemstone/product
GEMSTONE_DATADIR=/opt/gemstone/product/seaside/data
GEMSTONE_EXE_CONF=/opt/gemstone/product/seaside/data
GEMSTONE_KEYFILE=/opt/gemstone/product/seaside/etc/gemstone.key
GEMSTONE_LOGDIR=/opt/gemstone/log
GEMSTONE_SYS_CONF=/opt/gemstone/product/seaside/data/system.conf
LD_LIBRARY_PATH=/opt/gemstone/product/lib:
MANPATH=/opt/gemstone/product/doc:
OLDPWD=/opt/gemstone/product
PATH=/opt/gemstone/product/bin:/opt/gemstone/product/seaside/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/aws/bin:/home/seasideuser/bin
_=gemstone


Nick

On 13 October 2011 03:23, Lawrence Kellogg <[hidden email]> wrote:
I do have a gemstone.secret file


[seasideuser@domU-12-31-39-14-08-6B ~]$ ls $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/etc/gemstone.secret
[seasideuser@domU-12-31-39-14-08-6B ~]$ 


so I'm not sure why the restart script is complaining....

stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory

It also says this is missing: 

$GEMSTONE/bin/startnetldi 

but here it is: 

[seasideuser@domU-12-31-39-14-08-6B bin]$ ls -l $GEMSTONE/bin/startnetldi 
-r-xr-xr-x 1 seasideuser seasideuser 311158 Jul 13  2010 /opt/gemstone/product/bin/startnetldi
[seasideuser@domU-12-31-39-14-08-6B bin]$ 


Confusing....

Larry



On Oct 12, 2011, at 5:30 PM, Nick Ager wrote:

Hi Larry,

It looks as Gemstone can't find the password file: gemstone.secret

I'd suspect that the environment variable $GEMSTONE isn't setup correctly. On my installation:

echo $GEMSTONE

gives:

/opt/gemstone/product

also if I try

sudo echo $GEMSTONE

I get the same result. Do you see something similar?

Nick 

On 12 October 2011 21:23, Lawrence Kellogg <[hidden email]> wrote:
Hello Nick, 
  Well, I'm up to testing out my Gemstone install. 

 sudo /etc/init.d/gemstone restart
Stopping Gems...
   No PID file found for gem on port 9001, not running?
   No PID file found for gem on port 9002, not running?
   No PID file found for gem on port 9003, not running?
   No PID file for for the maintenance gem, not running?
   No PID file for for the service gem, not running?
                                                           [  OK  ]
stopnetldi[Info]: GemStone version '2.4.4.1'
stopnetldi[Info]: Server 'gs64ldi' is not running.
Missing password file $GEMSTONE/seaside/etc/gemstone.secret[  OK  ]
                                                           [FAILED]
Missing password file $GEMSTONE/seaside/etc/gemstone.secret
/opt/gemstone/product/seaside/bin/startnet: line 8: /bin/startnetldi: No such file or directory
                                                           [  OK  ]
Starting Gems....
Starting WAFastCGIAdaptor gem on port 9001
Starting WAFastCGIAdaptor gem on port 9002
Starting WAFastCGIAdaptor gem on port 9003
Starting maintenance gem
  Starting service gem
                                                           [  OK  ]
[seasideuser@domU-12-31-39-14-08-6B ~]$ /opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9002.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9001.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 21: /WAFastCGIAdaptor_start-9003.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 28: /maintenance_start.log: Permission denied
/opt/gemstone/product/seaside/bin/runSeasideGems30: line 35: /service_start.log: Permission denied


It looks like I am missing permissions to write to the log files. 
Did I miss some change that I had to make to those two script files, runSeasideGems30 and gemstone? 

It has been a while since I have done any Gemstone work so I'm a little lost. 

Larry


On Oct 12, 2011, at 2:54 PM, Nick Ager wrote:

Hi Larry.

Try: 


thanks for the corrections - I fix the blog post in due course.

A good source of up-to-date information is:


Nick

On 12 October 2011 19:29, Lawrence Kellogg <[hidden email]> wrote:
Hey Nick, 

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:25:48--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
ERROR: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
To connect to glass.gemstone.com insecurely, use ‘--no-check-certificate’.

and with the no certificate option

--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  http://glass.gemstone.com/scripts/installGemstone.sh
Resolving glass.gemstone.com... 64.20.104.5
Connecting to glass.gemstone.com|64.20.104.5|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
--<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35--  https://glass.gemstone.com/scripts/installGemstone.sh
Connecting to glass.gemstone.com|64.20.104.5|:443... connected.
WARNING: certificate common name “magtrac.gemstone.com” doesn’t match requested host name “glass.gemstone.com”.
HTTP request sent, awaiting response... 404 Not Found
<a href="tel:2011-10-12%2018" value="+442011101218" target="_blank">2011-10-12 18:26:35 ERROR 404: Not Found.


I guess the install script has been moved somewhere....

Larry


On Oct 12, 2011, at 10:33 AM, Nick Ager wrote:

Hi Larry,

Make sure you include the " - " before your key and lines "#cloud-config" & "ssh_authorized_keys:" 
I find it helpful to form the syntax in a text editor prior to posting into the web-form.

  
  So, is there a space between the '-' and the 'ssh-rsa'? Does it matter? 

I haven't tried it without the spaces, but it works for me with the spaces.  
 
I saw another parameter that said something about disabling metadata. I guess that parameter is not needed. 

Yes that is optional.


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

Correct port 22 is SSH. I'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.
 

  It seems like the Security Group stuff has changed. I wasn't able to get the All Internet 
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/default. 
What do I do with that?

Just pick SSH and HTTP from the drop-down, but I don't think this is your problem.
  
  I wonder if it matters that I was trying this from my laptop over Wifi. 

I doubt that's an issue. 

Good luck

Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

jgfoster
On Oct 13, 2011, at 10:35 AM, Lawrence Kellogg wrote:

>  I still don't see a gem in the gslist....

Gems do not show in gslist, only a NetLDI, Shared Page Cache Monitor, and Stone.

James

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Nick
In reply to this post by Larry Kellogg

I noticed that other people on the net have run into the "could not find module vm-display-X11"
I haven't seen a solution yet.

Yes, I installed the libraries. I tried again and got this: 

seasideuser@domU-12-31-39-14-08-6B ~]$ sudo yum install xauth mesa-libGL.i386 libXrender.i386 libSM.i386 freetype.i386 libstdc++.i386
Loaded plugins: fastestmirror, priorities, security, update-motd
Loading mirror speeds from cached hostfile
amzn-main                                                                                                  | 2.1 kB     00:00     
amzn-updates                                                                                               | 2.1 kB     00:00     
Setting up Install Process
Package 1:xorg-x11-xauth-1.0.2-7.1.4.amzn1.x86_64 already installed and latest version
No package mesa-libGL.i386 available.
No package libXrender.i386 available.
No package libSM.i386 available.
No package freetype.i386 available.
No package libstdc++.i386 available.
Nothing to do
[seasideuser@domU-12-31-39-14-08-6B ~]$ ~/gemtools.sh[seasideuser@domU-12-31-39-14-08-6B ~]$ could not find module vm-display-X11

I've just checked on a new Amazon Linux distribution and I see the same problem. So something has changed between the Amazon Linux releases. I guess either it's based on a newer version of Centos and/or the repositories have changed their contents. I'm afraid I'm in the dark as much as you. The libraries loaded for me on the version of Amazon Linux I'm using. At this stage I'd resort to Google. 
The equivalent Ubuntu libraries are: 

sudo aptitude install xauth libgl1-mesa-dev ia32-libs 

Sorry I can't help further, perhaps someone else with better sys-admin knowledge can jump in. I'd be very interested in learning the solution...

Nick

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg

On Oct 13, 2011, at 2:56 PM, Nick Ager wrote:


I noticed that other people on the net have run into the "could not find module vm-display-X11"
I haven't seen a solution yet.

Yes, I installed the libraries. I tried again and got this: 

seasideuser@domU-12-31-39-14-08-6B ~]$ sudo yum install xauth mesa-libGL.i386 libXrender.i386 libSM.i386 freetype.i386 libstdc++.i386
Loaded plugins: fastestmirror, priorities, security, update-motd
Loading mirror speeds from cached hostfile
amzn-main                                                                                                  | 2.1 kB     00:00     
amzn-updates                                                                                               | 2.1 kB     00:00     
Setting up Install Process
Package 1:xorg-x11-xauth-1.0.2-7.1.4.amzn1.x86_64 already installed and latest version
No package mesa-libGL.i386 available.
No package libXrender.i386 available.
No package libSM.i386 available.
No package freetype.i386 available.
No package libstdc++.i386 available.
Nothing to do
[seasideuser@domU-12-31-39-14-08-6B ~]$ ~/gemtools.sh[seasideuser@domU-12-31-39-14-08-6B ~]$ could not find module vm-display-X11

I've just checked on a new Amazon Linux distribution and I see the same problem. So something has changed between the Amazon Linux releases. I guess either it's based on a newer version of Centos and/or the repositories have changed their contents. I'm afraid I'm in the dark as much as you. The libraries loaded for me on the version of Amazon Linux I'm using. At this stage I'd resort to Google. 
The equivalent Ubuntu libraries are: 

sudo aptitude install xauth libgl1-mesa-dev ia32-libs 

Sorry I can't help further, perhaps someone else with better sys-admin knowledge can jump in. I'd be very interested in learning the solution...



  You've been a great help. If I go Ubuntu, do I have to start from scratch with a new instance? 

  The funny thing is that I see the vm-display-X11 file

drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-display-null
drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-display-X11
drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 vm-sound-null
-rw-r--r-- 1 seasideuser seasideuser     28 Feb  5  2009 XDisplayControlPlugin.lib
drwxr-xr-x 3 seasideuser seasideuser   4096 Jul 15  2010 ZipPlugin

so I am confused....

Larry



Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Nick

  You've been a great help. If I go Ubuntu, do I have to start from scratch with a new instance? 

yes you will have to start from scratch - but that wasn't my intention. I mentioned the Ubuntu libraries as I thought it might help if you Google for the solution.

Nick

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg

On Oct 13, 2011, at 4:15 PM, Nick Ager wrote:


  You've been a great help. If I go Ubuntu, do I have to start from scratch with a new instance? 

yes you will have to start from scratch - but that wasn't my intention. I mentioned the Ubuntu libraries as I thought it might help if you Google for the solution.


  Ok, I'm chasing a few leads but am pretty much at a loss. I tried copying the vm-display-X11.la file to the same 
directory as Squeak, as someone suggested, but that didn't work. 

  I'm tired. I will try again later to make some progress. 

  Regards,

  Larry


Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg
In reply to this post by Nick
Hey Nick,
  It seems like your website is down. Any idea when it will come back up? 

  I'm still stuck on the: 

$ could not find module vm-display-X11

problem. Maybe I'll start from scratch and try Ubuntu.  

  Larry 


On Oct 13, 2011, at 4:15 PM, Nick Ager wrote:


  You've been a great help. If I go Ubuntu, do I have to start from scratch with a new instance? 

yes you will have to start from scratch - but that wasn't my intention. I mentioned the Ubuntu libraries as I thought it might help if you Google for the solution.

Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Nick
Hi Larry,

  It seems like your website is down. Any idea when it will come back up? 

Sorry about that it's back up.
 

  I'm still stuck on the: 

$ could not find module vm-display-X11

problem. Maybe I'll start from scratch and try Ubuntu.  

There must be a solution for Amazon Linux. I'll have a quick look tonight to see if I can find an answer

Nick


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Nick
Hi Larry,

I've posted a question on Amazon EC2 forums: https://forums.aws.amazon.com/thread.jspa?threadID=78308

In the meantime I've found the AMIs I configured with Gemstone:

EU/West ami-7f9bae0b 051115013102/GemStoneSeaside3.03Pier2-2010-12-29-NDA-v2
US/East ami-603bcb09 051115013102/GemStoneSeaside3.03Pier2-2011-01-30-2-NDA US-East

If you want to go with Ubuntu Ramon has a good post on his blog: http://onsmalltalk.com/2010-10-30-installing-a-gemstone-seaside-server-on-ubuntu-10.10

Hope this helps

Nick

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on EC2 Amazon Service

Larry Kellogg
Thanks , Nick! I'll keep an eye on the thread and start looking into setting up an Ubuntu instance. 

I know I'll get it to work, eventually. 

  Regards, 

  Larry

On Oct 17, 2011, at 4:38 PM, Nick Ager wrote:

Hi Larry,

I've posted a question on Amazon EC2 forums: https://forums.aws.amazon.com/thread.jspa?threadID=78308

In the meantime I've found the AMIs I configured with Gemstone:

EU/West ami-7f9bae0b 051115013102/GemStoneSeaside3.03Pier2-2010-12-29-NDA-v2
US/East ami-603bcb09 051115013102/GemStoneSeaside3.03Pier2-2011-01-30-2-NDA US-East

If you want to go with Ubuntu Ramon has a good post on his blog: http://onsmalltalk.com/2010-10-30-installing-a-gemstone-seaside-server-on-ubuntu-10.10

Hope this helps

Nick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
1234