On Oct 13, 2011, at 4:20 AM, Nick Ager wrote:
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
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
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:
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
On Oct 13, 2011, at 8:56 AM, Nick Ager wrote: Hi Larry, 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
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
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:
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
On Oct 13, 2011, at 9:44 AM, Nick Ager wrote: Hi Larry, 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
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Larry, 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:
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
On Oct 13, 2011, at 9:55 AM, Nick Ager wrote:
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
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
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:
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Larry Kellogg
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 |
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:
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
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: Yes, I login in with -X -C Is a local ip necessary as a parameter?
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: packages.us-east-1.amazonaws.com * amzn-updates: packages.us-east-1.amazonaws.com 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
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
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 |
In reply to this post by Larry Kellogg
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 |
On Oct 13, 2011, at 2:56 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? 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
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
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 |
On Oct 13, 2011, at 4:15 PM, Nick Ager wrote:
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
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
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:
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Larry,
Sorry about that it's back up.
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 |
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 |
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, _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |