If your having isues on a Sharded or Grid server - Good Info to Know

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
sugna
Forum Members
Forum Members
Posts: 196
Joined: Wed Oct 10, 2007 3:04 pm

If your having isues on a Sharded or Grid server - Good Info to Know

Post by sugna »

I have many CMSMS installs on Media Temple servers. I use their grid package which is primarily a shared service. Recently one of my site was throwing errors like CG Extensions can't be found. This happened twice. The first time I freaked out and rebuilt the site the second time it happened I put in a support request and found that they were moving the site and others to a temp server and ip due to server load issues.

If you are having this issue the fix is as follows. This is from Media Temple Support:

Your site was again moved by our system but the way your site was configured this will cause problems with any future changes. We provide you with a path that is immune to these changes by our system. This is the /home/49570/ path. I made a backup of your config.php to config.mtbak.php file and made the following changes.

oriolesfitness.com@n11:~/domains/oriolesfitness.com/html$ diff config.mtbak.php config.php
85c85
$config['root_path'] = '/home/49570/domains/oriolesfitness.com/html';
91c91
$config['previews_path'] = '/home/49570/domains/oriolesfitness.com/html/tmp/cache';
94c94
$config['uploads_path'] = '/home/49570/domains/oriolesfitness.com/html/uploads';
155c155
$config['image_uploads_path'] = '/home/49570/domains/oriolesfitness.com/html/uploads/images';
194c194

\ No newline at end of file
---
> ?>

Notice how the lines changed from the /nfs/c03/h05... to a shorter and nicer path /home/49570... This change is resistant to any further system movements that we initiate. Please replace any other instances of the /nfs/c03... paths with the /home/49570 if you find any.

You site is now functional again.

If you have any further questions regarding your (mt) Media Temple services, please feel free to contact us at any time.

Best Regards,

Justin B.
Customer Support
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: If your having isues on a Sharded or Grid server - Good Info to Know

Post by Dr.CSS »

For "errors like CG Extensions can't be found."...

Install the CG Extensions, most likely a module was just installed that depends on this one to function, sorry the error message is not more explicit...
User avatar
sugna
Forum Members
Forum Members
Posts: 196
Joined: Wed Oct 10, 2007 3:04 pm

Re: If your having isues on a Sharded or Grid server - Good Info to Know

Post by sugna »

Yes true but not the solution for this issue.

Everytime my host moves my site to lessen the load somehow the paths get screwed up so the solution is what is needed for the reason for this post.

So if for some reason your site works one day and not the next check out your host to see if they are moving your site to a temp server.

Shane
Post Reply

Return to “CMSMS Core”