• Home
  • About
  • Portfolio
  • Hire me
  • Templates
blog.lopau.com

Just Another Dang Blog

A tech blog about web development, graphic designs, freelancing, cloud computing, mobile development, innovations and seo.
Welcome to lopau.com - a digital playground, online portfolio, web experiments and blog of Paulo Orquillo
« Facebook Vanity URL
FireFox 3.5 Upgrade »
Jun 26
Cloud Experience

Got the chance to mess around with Amazon EC2 console. And was really amazed on how fast setting up a server with AMI(Amazon Machine Image) is. Just browse from already existing thousands of AMI then launch. That simple.

One experience though that I don’t like somehow are that these LAMP AMIs seems a little flaky. I was looking into CentOS LAMP AMI. First thing I do after connecting to SSH on the instance is check if all LAMP is working and what version they are on.

First AMI I selected, apache restart doesnt work properly, I get the

apr_sockaddr_get_info() error

tried troubleshooting it then finally quit. Terminated the AMI and launched another one.

Then on the next other instances I can’t connect to MySQL but Apache and PHP are working right.

ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)

Terminated the instance again and started a new one but still get the same error on MySQL. The solution I found is to simply install all the updates to overwrite any corrupted files.

Simply yum

#yum -y upgrade mysql mysql-server php-mysql

Now my LAMP is working great and ready for more cloud computing.


This entry was posted on Friday, June 26th, 2009 at 11:33 pm and is filed under Cloud Computing. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 Responses to “Cloud Experience”

  1. XkiD | Cloud Experience | blog.xkid.ro Says:
    June 26th, 2009 at 11:44 pm

    [...] here:  Cloud Experience Posted in PHP | Tags: a-little-flaky-, a-server-with, amazon, chance, check-if-all, instance, [...]

  2. lopau Says:
    July 9th, 2009 at 3:01 am

    I encountered the error on another VPS and thought would give the solution how I fixed it there.

    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)

    If this is a fresh server, start the mysql by

    # service mysqld start

Leave a Reply

  • Popular Posts

    • Fixing power problems with your LG Flatron Monitor (LG1753S)
    • Finally passed my Force.com Certified Developer Exam
    • DIY: HP Laptop Power Adapter Repair
    • How to Setup PHP, MySQL and phpMyAdmin on Mac OS X Snow Leopard
    • Setup EC2 and FileZilla with PPK file on Mac OS X
    • Safari Bug on Lion: The application Safari canceled restart

    Recent Comments

    • Neha Maheshwari: HELLO GUYS, I AM PLANNING TO GIVE DEV-401 EXAM.i FOUND THIS LINK TO BE USEFUL.IF ANYONE IS HAVING...
    • Padmavathi: Hi, I am planning to give dev-401 exam. If anyone is having material please forward preparation material...
    • lopau: hi, you are right the panel once open its difficult to close without using solvent but this permanently bonds...
    • Rahul T Rajan: Sir, I am also trying to do the adapter rework. So i got some information from you this blog. And i...
    • Cindy: Hi, I am planning to proceed with dev 401 exam. Can you please share the material? Thank you!!!...
    • Angelica: Thanks again, i’ll just try to find it.
    • Recent Posts

      • R.I.P Steve Jobs, Stay Hungry Stay Foolish
      • Inkling by Wacom
      • Create a Web Service using SOAP
      • 3D Augmented Reality platform(QR+AR) for iPhone, iPad, Android, BB
      • Create rewrite rules for friendly url for WordPress plugin custom queries
    • Blogroll

      • Abiel Online
      • Abiel's Tech Blog
      • Copongcopong’s Notes from Walk the walk
      • Get Rich Talks
      • Javi’s Go Blog
      • The Passionate Pilgrim’s Musings and Ramblings
      • Tinokla’s Scribbles and Doodles
    • Links

      • LS Blogs
      • Pampanga Province Websites
      • Top Blogs Philippines
      • Travel and Gobble
    • Proudly Pinoy!
    • Add to Technorati Favorites
    • Web Development & Design - Top Blogs Philippines

    • Sponsored Ads

      Summer Savings! $7.49 .com
      Ensogo
    • Categories

      • Adsense
      • Airsoft
      • Android
      • apple
      • Blogs
      • Browsers
      • Cloud Computing
      • CSS
      • Desktop Publishing
      • Facebook
      • Firefox
      • Flex
      • Fonts
      • Free WP Templates
      • Freelance
      • Google
      • Hardware
      • HTML 5
      • iOS
      • Ipad
      • iPhone
      • IT
      • Javascript
      • microsoft
      • Mobile Development
      • Online Scams
      • Others
      • Personal
      • Personal Finance
      • Photography
      • Photoshop
      • PHP
      • Political
      • Projects
      • SalesForce
      • Security
      • SEO
      • Social Marketing
      • Travelling
      • Troubleshooting
      • Tutorials
      • WAMP
      • Web Resources
      • Wordpress
    • Tags

      Adsense among ed andriod apache apple blogging Blogs Cloud Computing CSS cuil development earn online enable gd library Firefox Fonts force.com Freelance godaddy Google google analytics government increase traffic internet fraud internet scams iPhone knol knowledge content Money mysql online purchase page rank pagerank PHP politics pr search engines SEO social media content social networks text browser themes web traffic western union Wordpress zend certification

    Just Another Dang Blog is proudly powered by WordPress
    Entries (RSS) and Comments (RSS).
    Valid XHTML 1.0 Transitional Valid CSS!