If your having isues on a Sharded or Grid server - Good Info to Know
Posted: Tue Jan 06, 2009 2:24 pm
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
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