Archive for the 'Web and System Administrator' Category

[cPanel] License File

Thursday, January 14th, 2010

Below 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

SocialTwist Tell-a-Friend

Free Uptime Status Monitoring

Tuesday, January 5th, 2010

For SMB Company with few servers and network devices that can easily count by finger, you can know quickly if one of device has a problem. But if you are big company with a lot of servers, network devices and have several branches with server and router too, or a hosting provider, data center with many infrastructure, you need something that can easily monitor the uptime of those servers and network devices. (more…)

SocialTwist Tell-a-Friend

HP SmartStart CD Archives

Monday, January 4th, 2010

You are a sysadmin, and for your company system you chose to use HP Server, and your proud of it. First time installation should be easy because HP SmartStart CD is accompanying you, guiding you installing the OS for your choice (Windows, Novel, Suse, Redhat, etc)

After running several years without complain, suddenly the server need to rebuild due to corrupt, or something else. But alas, you didn’t find the smartstart CD. It was several years ago, how can I remember where to put it? Ah it’s was there, but alas again, the CD was stretch. And now you hoping you can turn back in time, to get the correct CD.

But dont be afraid, my dear colleagues, HP archives all SmartStart CD version, all you need to is download the right version for your server and burn it into cdrom. Here it is the link:

HP SmartStart CD Archives

SocialTwist Tell-a-Friend

Magento error with pdo_mysql

Sunday, December 27th, 2009

Magento 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…)

SocialTwist Tell-a-Friend

[bind] lame server

Monday, December 14th, 2009

Tired seeing lame server error on your BIND (DNS server) log?

Dec 14 17:26:29 ns named[14961]: lame server resolving
'163.98.42.89.in-addr.arpa'(in '98.42.89.in-addr.arpa'?):
85.120.66.98#53
Dec 14 17:26:36 ns named[14961]: lame server resolving
'163.98.42.89.in-addr.arpa'(in '98.42.89.in-addr.arpa'?):
85.120.66.100#53
Dec 14 17:26:36 ns named[14961]: lame server resolving
'163.98.42.89.in-addr.arpa'(in '98.42.89.in-addr.arpa'?):
85.120.66.100#53

Those lines can make your /var/log/message file big pretty easily and consume your harddisk space.  So edit your named.conf (/etc/named.conf or /var/named/chroot/etc/named.conf) and create a new logging section and add below lines: (more…)

SocialTwist Tell-a-Friend