Just Another Dang Blog

A tech blog on IT, web development, graphic designs, freelancing, making money online and seo.
Welcome to lopau.com - a digital playground, online portfolio and blog of Paulo Orquillo
  • Home
  • About
  • Portfolio
  • Hire me
  • Templates
« 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.

Related posts:

  1. Understanding Cloud Computing
  2. WordPress parse error: syntax error on PHP 5.2.x
  3. Import sql dump using the MySQL client
  4. PHP Certified Developers
  5. WordPress error- Is its parent directory writable by the server?

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

  • Recent Posts

    • Fixing power problems with your LG Flatron Monitor (LG1753S)
    • Force Update your HTC Hero (GSM)
    • App Inventor for Andriod
    • Object Relationships and Fields
    • Force.com Custom Objects
  • Recent Comments

    • ForcePrepare: A new resource on Force.com Developer Certification. It contains free tutorials and mock exams.
    • ForcePrepare: A new site on SalesForce Developer certification has been recently launched –...
    • htc hero: Does anybody know which kind of video recordsdata are supported? I remember the Intuition solely might dl...
    • lopau: its really a matter of preference and OS of choice. Andriod or IOs 4.0. Because of the competition they bring...
    • Benjamin Hall: anyone who makes money on the internet would love to know the secret of John Chow’s...
    • Sony BDPS370: Having spent loads of time reading many of the great blog posts about some of the HTC phones, this one...
  • Proudly Pinoy!
  • Add to Technorati Favorites
  • Web Development & Design - Top Blogs Philippines

  • Categories

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

    • July 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
  • 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
  • Tags

    Adsense among ed andriod apache apple blogging Blogs Cloud Computing CSS cuil development earn online enable gd library Firefox Fonts Freelance Google google analytics government increase traffic internet fraud internet scams iPhone knol knowledge content Money mysql online purchase pagerank page rank PHP politics pr search engines SEO social media content social networks text browser themes web design web developer 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!