[ec2-beta] ec2-ubuntu instance down

Hu Houcun houcun at gmail.com
Tue Feb 17 05:29:40 GMT 2009


Hey Eric:     Steps to reproduce:
   - Create instance with ami-814aaee8
   - login using ssh
   - two sources are added to the configuration file
deb http://za.archive.ubuntu.com/ubuntu/ intrepid main restricted
deb http://za.archive.ubuntu.com/ubuntu/ intrepid multiverse   - apt-get
update
   - sudo apt-get install sun-java5-jre sun-java5-jdk
   - java -version  "1_5_16"
   - apt-get install postgresql-8.3
   - download liferay-portal-jboss-tomcat-5.0-5.2.1.zip
   - unzip liferay-portal-jboss-tomcat-5.0-5.2.1.zip to /mnt/server
   - cd /server/../bin/
   - ./run.sh -b 0.0.0.0 all &
 show messages:
[1] 28735
root at domU-12-31-39-00-A5-14:/mnt/server/server/jboss-tomcat-5.0.0/bin#
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /mnt/server/server/jboss-tomcat-5.0.0

  JAVA: java

  JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m
-XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
-Xmx1024m -XX:MaxPermSize=256m -XX:SurvivorRatio=10 -Dfile.encoding=UTF-8
-Duser.timezone=GMT

  CLASSPATH: /mnt/server/server/jboss-tomcat-5.0.0/bin/run.jar

=========================================================================

----------------------------------------------------
   -- Now it was block.
   -- tried SSH connect ,nginx servr (80) and all, no response..
   -- login AWS control panel
   -  reboot instance
      wait 3 min ..
   -  SSH login instance
   -  download jboss 5.0.0.GA and unzip
   -  run jboss 5.0.0  ,after 2 min running successed

  all instructions in above ,Eric.

  when will release the beta2?


   Regards,
   Houcun
  2008.2.17

2009/2/17 Eric Hammond <ehammond at thinksome.com>

> Houcun:
>
> What do you mean when you say the instanced "downed"?  Was there an
> error message?  Did the ssh session become non-responsive?
>
> "jboss" sounds like it might have Java in it and there is a known
> problem installing some Java packages on the official beta1.
>
>  https://bugs.launchpad.net/ubuntu-on-ec2/+bug/310898
>
> Can you provide a detailed list of instructions on how to reproduce the
> problem including what files to download and how to install and run it?
>
> Alternatively, you may wish to simply wait for beta2 and test it again
> there.
>
> --
> Eric Hammond
> ehammond at thinksome.com
>
>
>
> Hu Houcun wrote:
> > Hey,all:
> >      Has anybody tried hosting liferay with amazon EC2 service?
> >      When I running liferay-jboss-5.2.1 in ec2-ubuntu , the instance
> > downed at once.
> >      Anyone have any experience?
> >
> >      Houcun
> >      2008.2.16
> >
> > --
> >
> > Email :Houcun at gmail.com <mailto:Houcun at gmail.com>
> >
>



-- 

Email :Houcun at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/mailman/private/ec2/attachments/20090217/4ed78539/attachment-0002.htm 


More information about the Ec2-beta mailing list