Archive for the 'Freelance' Category
[cPanel] Internal Server Error after installation
Thursday, February 11th, 2010Installing cPanel is very easy, what you need is patience, enough bandwidth and following tutorial described in cPanel Quick Install Guide. But even I have followed the guide carefully and make sure I have make prepation still I can go wrong. Below is quick steps to install cPanel:
- Install Minimal CentOS
- Create harddrive partition
- Deactivate the firewall
- Disable SELinux
- Ensure your newly-installed OS has the latest updates and patches.
- Obtaining a cPanel/WHM License
- Begin Installation
cd /home wget -N http://layer1.cpanel.net/latest sh latest /usr/local/cpanel/cpkeyclt
After 5 hours installation is complete then when I am accessing WHM, this error came up
Internal Server Error
open3: exec of /usr/local/cpanel/whostmgr/bin/whostmgr3 ./initial_setup_wizard1 failed at cpsrvd line 6114
[ISPConfig] IP Address Changes
Wednesday, February 10th, 2010I was using ISPConfig, to ease my life configuring and managing WebServer at work and I am thinking to change IP Address of webserver to another segment. I got confused how to change the IP address of ISPConfig 2 so that all sites and system recognized and used the new IP properly. Luckily I am still subscribed to ISPConfig Forum and I found this thread which help me a lot. Below is copy of how to from that forum just incase the forum is down.
[cPanel] License File
Thursday, January 14th, 2010Below is several thing to know about about cPanel License file.
To validate (make sure) your IP Address already has license for cPanel to to cPanel License Validator, and enter your server main IP Address.
- If you have updating your cPanel License from Trial to Active, or
- If you change your server hostname, or
- You get Invalid License File error due to hostname change, bad system time, license IP address binding, firewall rules, and some other more obscure scenarios
You can try run this command as root
/usr/local/cpanel/cpkeyclt
A helpful expired license checklist in the cPanel forums takes troubleshooting further if the above methods don’t help.
PS: With an invalid license, any Web interface to cPanel will not work (including, WHM and Webmail)
from WebMarketEdge
Magento error with pdo_mysql
Sunday, December 27th, 2009Magento is a great Free / Open source eCommerce script, is much more prettier and yet complex than Prestashop or osCommerce or Virtuemart. Take sometimes to upload it to hosting server, but if your hosting provider have Automatic script installer like Installatron or Softacolous, you can install it in a breeze. So Installation of Magento is no longer problem.
But after a succesful installation, I even get this error saying that I dont have pdo_mysql installed on the server.
pdo_mysql extension is not installed
Trace:
#0 /home/store/public_html/lib/Zend/Db/Adapter/Abstract.php(441):
Varien_Db_Adapter_Pdo_Mysql->_connect()
#1 /home/store/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(230):
Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#2 /home/store/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(281):
Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#3 /home/store/public_html/app/code/core/Mage/Core/Model/Resource/
Type/Db/Pdo/Mysql.php(45):
Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#4 /home/store/public_html/app/code/core/Mage/Core/Model/
Resource.php(87): Mage_Core_Model_Resource_Type_Db_Pdo_Mysql-
>getConnection(Object(Mage_Core_Model_Config_Element))
#5 /home/store/public_html/app/code/core/Mage/Core/Model/Resource/
Setup.php(62): Mage_Core_Model_Resource->getConnection('core_setup')
#6 /home/store/public_html/app/code/core/Mage/Core/Model/Resource/
Setup.php(120): Mage_Core_Model_Resource_Setup->__construct('core_setup')
#7 /home/store/public_html/app/code/core/Mage/Core/Model/Config.php(263):
Mage_Core_Model_Resource_Setup::applyAllUpdates()
#8 /home/store/public_html/app/code/core/Mage/Core/Model/App.php(263):
Mage_Core_Model_Config->init(Array)
#9 /home/store/public_html/app/Mage.php(434):
Mage_Core_Model_App->init('', 'store', Array)
#10 /home/store/public_html/app/Mage.php(455):
Mage::app('', 'store', Array)
#11 /home/store/public_html/index.php(65): Mage::run()
#12 {main}
I don’t get it, when I check with function
<?php phpinfo(); ?>
pdo and pdo_mysql is there.
'--enable-pdo=shared' '--with-pdo-mysql=shared'
So, it’s time for searching and lurking into Google and Magento forum/docs
(more…)