Category: Uncategorized

  • Magento Admin login not working after transfer.

    Usually after transfer to another hosting account or change of domain name you are not able to login to magento admin panel. To fix this you will need to make changes in core_config_data table of magento database. You can either do it from PHPMyAdmin or directly from MySQL command line interface [plain][/plain] web/secure/base web/unsecure/base web/cookie/cookie_domain…

  • Replace failed hard drive in raid array

    When a hard drive in raid has failed then it’s very important to replace it immediately. Now suppose you have a raid1 array and with two disk /dev/sdc1 and /dev/sdd1. And the /dev/sdd1 has failed. Now to replace the drive First set it to fail and remove it. [bash] mdadm –manage /dev/md3 –fail /dev/sdd1 mdadm…

  • Magento – Exception printing is disabled

    You will get the below error when Magento error display is disabled and your site encountered some error. This good because other people will not know the internals of your site. But sometimes it’s very much easier to look at the errors directly on the site and fix it. To enable the error display on…

  • Nginx openat() vhost-error_log

    Sometimes you will get below logs in your /var/log/nginx/vhost-error_log file when nginx is configured are reverse proxy in cpanel [plain]2012/10/10 10:26:48 [crit] xxx#0: *xxxx openat() "/home/user/public_html/file.jpg" failed (13: Permission denied), client: 173.236.114.xxx, server: domain.com, request: "GET /file.jpg HTTP/1.1", host: "www.domain.com"[/plain] Now it’s due to symlink permission. Open nginx configuration file in my case /etc/nginx/nginx.conf and…

  • Check Joomla version from command line

    If you are a system administrator and used to command line it’s definitely going to bug you when you have to check the software version by login to the admin area. Directly check the version from shell makes the task done faster. For Joomla you can directly grep the $RELEASE and $DEV_LEVEL in the joomla…

  • Perl CPAN auto yes to all dependency

    Today I was installing a CPAN module on a server and it had a lots of dependency. And it was asking me every time to type “yes” to install those dependencies. Now for one or two dependency it’s ok but what if it has 40-50 dependencies like in my case. It’s very frustrating to wait…

  • msxml3.dll error ‘80072ee2’

    One of the page using asp Msxml2.ServerXMLHTTP was giving the below error. [plain] msxml3.dll error ‘80072ee2’ [/plain] On checking the code he was sending ServerXMLHTTP request to the same server. And this is not recommended by Microsoft itself. The calling Active Server Page (ASP) should not send requests to an ASP in the same virtual…

  • Windows Plesk MySQL admin password

    In windows plesk there are two instances of MySQL running. One is listening on port 8306 used by plesk and other running on regular 3306 which stores the clients database. Now to retrieve the MySQL admin password of user mysql. Follow the below steps. Open command promt and run the below commands [shell] cd %plesk_dir%\mysql\bin…

  • MySQL: Cannot load from mysql.proc. The table is probably corrupted

    If you have upgrade the MySQL 5 to a later minor version say 5.1 to 5.5 then you can usually end up getting below error in the logs, or your backup system fails to take database backup giving below error [plain] SHOW FUNCTION STATUS WHERE Db = ‘servertechsupport’: Cannot load from mysql.proc. The table is…

  • Install ZendOptimizer on Windows Plesk

    Download the ZendOptimizer from http://www.zend.com/en/products/guard/downloads Download Link – http://downloads.zend.com/optimizer/3.3.3/ZendOptimizer-3.3.3-Windows-i386.zip Extract the zip file and copy file ZendExtensionManager.dll and folder Optimizer-3.3.3 to C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\extras\lib Now open C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php.ini and add the below lines at the end of the file. [plain] [ZEND] zend_extension_ts = "C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\extras\lib\ZendExtensionManager.dll" zend_extension_manager.optimizer_ts="C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\extras\lib\Optimizer-3.3.3" [/plain] Now save the file…