Aarvi

Mysql

ImportError: cannot import name to_unicode

Are you getting below error while updating working on yum root@vps [/]# yum clean packages Traceback (most recent call last): File “/usr/bin/yum”, line 28, in ? import yummain File “/usr/share/yum-cli/yummain.py”, line 32, in ? from yum.i18n import to_unicode, utf8_width ImportError: cannot import name to_unicode Below are the steps to fix this issue Download yum rpm […]
Read more

RTNETLINK answers: File exists

Openvz architecture in Centos 6.5 has an issue If you are facing issues where ifconfig shows no ip address or below error root@server [/]# ifconfig root@server [/]# /etc/init.d/network restart Shutting down loopback interface:                          [  OK  ] Bringing up loopback interface:  RTNETLINK answers: Operation not supported Failed to bring up lo. [FAILED] Bringing up interface venet0:  […]
Read more

Removing a LVM Volume Group in Linux

[root@host1Z1 ~]# vgdisplay — Volume group — VG Name               vol_grp1 System ID Format                lvm2 Metadata Areas        1 Metadata Sequence No  165 VG Access             read/write VG Status             resizable MAX LV                0 Cur LV                10 Open LV               2 Max PV                0 Cur PV                1 Act PV                1 VG Size               839.84 GiB PE Size               4.00 MiB Total PE              […]
Read more

Fatal error: Cannot make static method SGL_FrontController::run() non static in class RVSWebInit in

If you are facing issues with rvsitebuilder on cpanel server with error “Fatal error: Cannot make static method SGL_FrontController::run() non static in class RVSWebInit in” Run the below commands to fix it perl /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/autoinstaller.cgi –force=rvseagullmod Then run update RVSitebuilder again. perl /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/autoinstaller.cgi –force=rvsitebuilder Now  republish the website, the error will be fixed  
Read more

How to remove a logical volume

SSH to server and use the below steps Check active volume first using [root@load ~]# lvscan ACTIVE            ‘/dev/vg_load/lv_root’ [50.00 GiB] inherit ACTIVE            ‘/dev/vg_load/lv_home’ [53.80 GiB] inherit ACTIVE            ‘/dev/vg_load/lv_swap’ [7.50 GiB] inherit Say you want to remove the volume /dev/vg_load/lv_home Type the below command [root@load ~]# lvremove /dev/vg_load/lv_home Do you really want to remove active logical […]
Read more

Domain name Transfer

To transfer the domain name from your old domain registrar to us                                             Please apply using below URL Once done please make sure the at your old domain registrar 1) You need to disable the privacy Protection                                       […]
Read more

The mod_security plugin could not connect to the database: cPanel

If you have been getting the error “The mod_security plugin could not connect to the  database” Below are the steps to rectify it SSH to server Check the password set for modsec database using below command, In my case below was the password root@vps [~]# grep “dbpassword” /etc/cron.hourly/modsecparse.pl my $dbpassword = ‘qS_lqkU5mXkA’; my $dbh  = […]
Read more

Aarvi server solutions Is a Web Hosting Support Company that has built a solid reputation for quality, reliability, and true professional service