Note: Please go to docs.rightscale.com to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > FAQs > Why is my app server stranding on the db default recipe?

Why is my app server stranding on the db default recipe?

Table of Contents

Overview

When launching an application server based on a Rightscale PHP App server template (or another similar template) and using an Ubuntu 12.04 image, it might strand when booting and running the db::default recipe.

You may see an error similar to this in the audit entries -

*ERROR> 15:19:48: gem_package[mysql] (/var/cache/rightscale/cookbooks/default/2e15d7b020c4d7e48516846feaef5d6a/cookbooks/db_mysql/providers/default.rb:330:in `class_from_file') had an error:
    gem_package[mysql] (/var/cache/rightscale/cookbooks/default/2e15d7b020c4d7e48516846feaef5d6a/cookbooks/db_mysql/providers/default.rb line 330) had an error: RightScale::Exceptions::Exec: "/opt/rightscale/sandbox/bin/gem install mysql -q --no-rdoc --no-ri -v "2.7" -- --build-flags --with-mysql-config" exited with 1, expected 0.

Resolution

This issue is related to using an Ubuntu image on your applicatoin server along with the 'Database Provider Type' input set to db_mysql_5.1.

 

The input in question is found on the app server and looks like so:

 

GB PHP App  v13.3  RAX legacy   RightScale Server Inputs.png

 

Our Ubuntu 12.04 image on our app server templates do not support using the db_mysql_5.1 database provider type. If you are using our latest application server template (for example, PHP App Server (v13.3)), and you have a MySQL 5.1 server and wish to use the db_mysql_5.1 provider type, you MUST use a Centos image on the application server, or you MUST upgrade to using a MySQL 5.5 template for your database server and switch the provider type input to db_mysql_5.5.

 

In short, using an Ubuntu 12.04 image with the db_mysql_5.1 database provider type input is not supported on our v13.x infinity lineage templates.

 

Questions? Concerns?

 

Feel free to open a ticket in the Rightscale dashboard under the Support -> Email link in the top right corner, or call us at (866) 787-2253 and we will be happy to assist.

You must to post a comment.
Last modified
14:01, 23 May 2013

Tags

Classifications

This page has no classifications.

Announcements

None


© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.