Vipin John Wilson

Author's posts

Jan 10

Compile error with ‘gcc’

Met with the following gcc error while I was compiling a package from its source. ======= gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory ======= The fix is, you need to install gcc-c++ do yum install gcc-c++ you are done 🙂

Nov 26

Lost dual boot option and need to reinstall grub

The steps in this post are applicable to be done in distributions like Redhat, Centos and Fedora. Recently I met with an issue like my personal desktop has lost its Dual Boot option at the startup. The machine has been working by having both Windows XP and Centos present in it. The dual boot option …

Continue reading

Nov 26

Broken grub and getting only grub prompt at the startup

At this case you will get only a grub prompt while at the startup. Please follow the below steps to install grub. grub> find /boot/grub/stage1 (hd0,5) (This means the boot loader lies on the first harddisk hd0 and its 5th logical partition) grub> root (hd0,5) grub> kernel /boot/vmlinuz-2.6.18-238.19.1.el5.i386 ro root=/dev/sda6 (I gave /dev/sda6 because that …

Continue reading

Nov 01

Import mails from a non cPanel server

It’s easy for us to import emails over between two cPanel servers, no matter we are migrating 50 or 100 accounts or so, its an easy job to do via WHM or even via backend of cPanel servers. But what if your task to migrate over all emails from a non cPanel server. aahh now …

Continue reading

Nov 01

PHP code error : “Fatal error: Call-time pass-by-reference has been removed”

The function reference “&” has already been deprecated in use from php versions over 5.3 and so. You only need to remove the symbol “&” with the function argument. Suppose if it is like below in the code array_function(&$files); make it change to array_function($files); Reload the webpage and see…..tadangg 🙂

Oct 30

Mass migration between virtualmin servers

Basically I was new to this virtualmin administration and its interface was really confusing to me. My task was to do a mass domains migration between two centos servers having virtualmin panel installed in it. Following are the steps I did for the server wide migration. First reduced the TTLs to 5min prior to hours …

Continue reading

Oct 28

How to extract .jpa archive file? :)

Some clients may approach you with the backup file as .jpa archive(joomlapack) which cannot extract using the usual tools available in server. This can be done by using the third party script Akeeba Extract Wizard. Download the Akeeba pack from here Upload the kickstart zip archive again in public_html or in the same folder …

Continue reading

Oct 27

PHP 5.4 : Strict standards : Non-static methods called statically

I got the following error while loading up a domain running on php 5.4 ======================= Strict Standards: Non-static method JLoader::import() should not be called statically in /home/user/public_html/libraries/joomla/import.php on line 29 Strict Standards: Non-static method JLoader::register() should not be called statically in /home/user/public_html/libraries/joomla/loader.php on line 71 Strict Standards: Non-static method JLoader::import() should not be called statically …

Continue reading

Oct 08

Legacy filter_module syntax causing 500 error in apache 2.4

Hey, sometimes you may come up with the following error in error log which is actually causing by legacy filter_module syntax on the htaccess file. ====================== [Sun Oct 06 18:20:24.119633 2013] [core:alert] [pid 47884] [client 5.x.x.x:54039] /home/user/public_html/.htaccess: FilterProvider takes three arguments, filter-name provider-name match-expression [Sun Oct 06 18:20:31.705923 2013] [core:alert] [pid 48315] [client 157.x.x.x:46020] /home/user/public_html/.htaccess: …

Continue reading

Sep 27

Trim down load in server without killing your current running process.

It’s a fact that while we initiate some cpu or memory consumable process or job, the load in server goes high and sometimes the server become unresponsive. But what if the situation is same everytime especially in case of shared servers. The processess like pkgacct, copying, moving high sized files/folders can’t be ignored at the …

Continue reading