Archive for the ‘SolusVM’ Category

SolusVM: Cancelling stuck migrations

April 8th, 2022 Comments off

There is a rare bug which can occur with SolusVM, in which migrations will get stuck at 0% – no matter how much time passes, like so or if you want to cancel the migration process because of slow transfer speed.

When this happens, do the following:

1) Connect to the SolusVM master via SSH

2) Execute the following command to create a database backup of the SolusVM master (it’s unlikely it will be needed, but, better safe than sorry!):

curl -o && sh

3) Execute the following command to launch a MySQL session:

MYSQL_PWD=`cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $3}'` mysql `cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $1}'` -u`cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $2}'` -h`cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $4}'`

4) Execute the following three commands, replacing “ID” with the ID of the VPS as shown in the URL when managing the VPS (i.e. – 99999 is the ID in this example)

update migrations set status = 2 where vserverid = 99999;
update migrations set status2 = 1 where vserverid = 99999;
update migrations set status3 = 1 where vserverid = 99999;

5) Open the SolusVM Migration page for the VPS in question.

6) Select “Migration failed. Clean ip the destination node and boot the source virtual server” 

Categories: Control Panel, OpenVZ, SolusVM Tags:

Mount windows/linux disk using kpartx

May 10th, 2017 Comments off

This post will guide you through how to access the contents of the virtual disk (LVM disk) directly so that you don’t need to boot the VM or when VM is not booting and you want to recover the data(windows or linux)

[root@node ~]# lvdisplay | grep centos
LV Path /dev/VolGroup/centos
LV Name centos

We need to create device maps from this LVM device’s partition tables.

kpartx -av /dev/VolGroup/centos

add map VolGroup-centos1 (253:8): 0 9912042 linear /dev/VolGroup/centos 63
add map VolGroup-centos2 (253:9): 0 562275 linear /dev/VolGroup/centos 9912105
add map VolGroup-centos : 0 562212 linear 253:9 9912168

Now we can mount the image and grab any files we may need.

mkdir /mnt/centos

mount /dev/mapper/vbox-centos1 /mnt/centos

Once we are done accessing our files, we can go ahead and unmount the partition and delete the partition mappings.

umount /mnt/centos

kpartx -d /dev/VolGroup/centos

Categories: OpenVZ, SolusVM Tags: , , , , ,

install vztop command

April 3rd, 2013 Comments off

How to install vztop command in centos

Take vzprocps tools from . These are usual ps and top utilities (named vztop and vzps to not conflict with the standard ones) with an -E option added. You can use -E CTID option to limit the output to the selected CTID (use 0 for the host system), or just -E without an argument to just add CTID column to output.


Download the below file using

rpm -ivh vzprocps-2.0.11-6.13.swsoft.i386.rpm


#vzps axf -E 500
#vztop and then press c


Categories: Control Panel, SolusVM Tags:

How to reset solusvm admin password

October 23rd, 2012 Comments off

How to reset solusvm admin password

If you have lost your admin password you can reset it via an SSH session on the master. Run the following command:

Login to the master node by SSH.

Run the below command

php /usr/local/solusvm/scripts/pass.php --type=admin --comm=change --username=<ADMINUSERNAME>

You will get below output.

New password: Asd$dfg%$htrr

Categories: SolusVM Tags:

How To : Clear the Admin blacklist log on SolusVM

October 23rd, 2012 Comments off

 How To : Clear the Admin blacklist log on SolusVM


If you enter wrong logins number of times for the Solsuvm admin section it can lock you by adding your IP to blacklist.

In this case if you have the root logins then you can clear the blacklist logs to get your access again yourself and if you do not have root logins then you will need to contact the admin with root logins to do this for you.

Below is the command you can use to clear the blacklist log :

php /usr/local/solusvm/scripts/clearauthlog.php --system --clear=all

Once you clear the logs, you should be able to login fine into the Admin section of SolusVM.


Categories: SolusVM Tags:
%d bloggers like this: