Results 1 to 4 of 4

Thread: I am not able to lunch my simple web application

  1. #1

    Default I am not able to lunch my simple web application

    Hi,When I deploye my application in amazon ec2 with cloud foundry ,deployment is done successfully but after deployement when i lunch my web application i am geting below error,so please help my any bady.

    ---------------- START --------------
    Executing command: Sat Sep 12 08:25:19 EDT 2009 : ssh on ec2-174-129-120-59.compute-1.amazonaws.com: dos2unix|bash
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed

    5 46684 5 2575 0 0 16721 0 0:00:02 --:--:-- 0:00:02 16721
    100 46684 100 46684 0 0 117k 0 --:--:-- --:--:-- --:--:-- 184k
    copying aws to /usr/bin/
    Stopping MySQL: [FAILED]
    Shutting down postfix: [FAILED]
    error reading information on service xvfb: No such file or directory
    xvfb: unrecognized service
    Stopping tomcat5:
    Executing command: Sat Sep 12 08:25:21 EDT 2009 : ssh on ec2-174-129-120-59.compute-1.amazonaws.com: dos2unix|bash
    Executing command: Sat Sep 12 08:25:21 EDT 2009 : ssh on ec2-174-129-120-59.compute-1.amazonaws.com: dos2unix|bash
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed

    5 46684 5 2575 0 0 15582 0 0:00:02 --:--:-- 0:00:02 15582
    100 46684 100 46684 0 0 112k 0 --:--:-- --:--:-- --:--:-- 178k
    copying aws to /usr/bin/
    Stopping MySQL: [FAILED]
    Shutting down postfix: [FAILED]
    error reading information on service xvfb: No such file or directory
    xvfb: unrecognized service
    Stopping tomcat5:
    Executing command: Sat Sep 12 08:25:22 EDT 2009 : ssh on ec2-174-129-120-59.compute-1.amazonaws.com: dos2unix|bash
    Executing command: Sat Sep 12 08:25:23 EDT 2009 : ssh on ec2-174-129-120-59.compute-1.amazonaws.com: dos2unix|bash
    Executing command: Sat Sep 12 08:25:23 EDT 2009 : ssh on ec2-174-129-120-59.compute-1.amazonaws.com: dos2unix|bash
    installing ...
    Thank you for using SpringSource tc Server!
    Executing command: Sat Sep 12 08:25:26 EDT 2009 : ssh on ec2-174-129-120-59.compute-1.amazonaws.com: dos2unix|bash
    Executing command: Sat Sep 12 08:25:26 EDT 2009 : ssh on ec2-174-129-120-59.compute-1.amazonaws.com: /sbin/service mysqld stop
    Stopping MySQL: [FAILED]
    Executing command: Sat Sep 12 08:25:27 EDT 2009 : ssh on ec2-174-129-120-59.compute-1.amazonaws.com: cat > /etc/my.cnf
    Executing command: Sat Sep 12 08:25:27 EDT 2009 : ssh on ec2-174-129-120-59.compute-1.amazonaws.com: /sbin/service mysqld start
    Initializing MySQL database: Installing MySQL system tables...
    OK
    Filling help tables...
    OK

    To start mysqld at boot time you have to copy
    support-files/mysql.server to the right place for your system

    PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
    To do so, start the server, then issue the following commands:
    /usr/bin/mysqladmin -u root password 'new-password'
    /usr/bin/mysqladmin -u root -h domU-12-31-39-02-25-B6 password 'new-password'
    See the manual for more instructions.
    You can start the MySQL daemon with:
    cd /usr ; /usr/bin/mysqld_safe &

    You can test the MySQL daemon with mysql-test-run.pl
    cd mysql-test ; perl mysql-test-run.pl

    Please report any problems with the /usr/bin/mysqlbug script!

    The latest information about MySQL is available on the web at
    http://www.mysql.com
    Support MySQL by buying support/licenses at http://shop.mysql.com
    [ OK ]
    Starting MySQL: [ OK ]
    Executing command: Sat Sep 12 08:25:31 EDT 2009 : ssh on ec2-174-129-120-59.compute-1.amazonaws.com: mysql -u root

    ----------------- END ---------------

  2. #2
    Join Date
    Aug 2009
    Posts
    61

    Default

    And what's the error you're getting? You posted a log from your deployment, but what happens when you click on "Go to Home Page" link?

  3. #3

    Default Page can't be Displayed

    Quote Originally Posted by dvolk View Post
    And what's the error you're getting? You posted a log from your deployment, but what happens when you click on "Go to Home Page" link?

    After deploying i am not able to lunch my web application,when i click lunch button,i am geting page can't be displyed error.

  4. #4
    Join Date
    Aug 2009
    Posts
    61

    Default

    I assume you're getting the "page cannot be displayed" error after you click on "Go to Home Page" link. If that's the case, did you open port 80 in your default AWS security group?

    Using either ElasticFox or AWS Management console, you need to allow access to port 80 from either your location, or the whole world.

    Please let us know if you need help with that.

    Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •