Softaculous


Topic : Error in setting root password while creating new VPS in virtualizor


Posted By: kritika on April 2, 2021, 7:36 am
While creating a new VPS, The following errors were found: There was an error in setting the Root Password of the new VPS.


-Setting the root password...(Show less)
Started
[Command] /sbin/kpartx /dev/store-1/vsv1002-dc404qiqe3d8wkxx-o3xye9bstrsdxlob
[Retval] 0
[Output]: Show
[Command] /sbin/kpartx -l /dev/store-1/vsv1002-dc404qiqe3d8wkxx-o3xye9bstrsdxlob
[Retval] 0
[Output]: Show
[Command] /sbin/kpartx -avs /dev/store-1/vsv1002-dc404qiqe3d8wkxx-o3xye9bstrsdxlob
[Retval] 0
[Output]: Show
[Command] /bin/umount /home/v1002/0
[Retval] 32
[Output]: Show [Error]: Show
[Command] /sbin/kpartx -d /dev/store-1/vsv1002-dc404qiqe3d8wkxx-o3xye9bstrsdxlob
[Retval] 0
[Output]: Show
There was an error in setting the Root Password of the new VPS


Posted By: jevingala on April 2, 2021, 8:35 am | Post: 1
Hi,


Were previous commands working fine ?

Like dd ?
Is the OS template downloaded fully on panel ?

-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/

Posted By: kritika on April 2, 2021, 9:36 am | Post: 2
Yes, commands are working on the server. While creating a new VPS via virtualizor, the error is generating. Logs are mentioned below:

Beginning VPS creation...

-Building the VPS...(Show less)
Beginning VPS creation...
Downloading OS Template from Master
[Command] lsof -i:5901
[Retval] 1
[Output]: Show
Preparing configuration file as per your requirement
[Command] /usr/bin/uuidgen
[Retval] 0
[Output]: Show
[Command] /usr/bin/virsh version
[Retval] 0
[Output]: Show
[Command] /usr/libexec/qemu-kvm --version
[Retval] 0
[Output]: Show
Configuration file created successfully
Calling After config write Hook
After config write hook called successfully
[Command] /bin/ln -s '/etc/libvirt/qemu/v1002.xml' '/etc/libvirt/qemu/autostart/v1002.xml' 2>/dev/null
[Retval] 0
[Output]: Show
Creating Disk : 1
[Command] /sbin/lvcreate -L 20.000G -n vsv1002-duuxn1pewovelzw4-uo7scoxw89qswvei /dev/store-1
[Retval] 0
[Output]: Show
[Command] /sbin/lvdisplay "/dev/store-1/vsv1002-duuxn1pewovelzw4-uo7scoxw89qswvei"
[Retval] 0
[Output]: Show
[Command] /bin/dd if="/var/virtualizor/kvm/centos-7.9-x86_64.img" bs=24M | throttle -w 2 -m 2000 | dd  of=/dev/store-1/vsv1002-duuxn1pewovelzw4-uo7scoxw89qswvei bs=24M 2>&1
[Retval] 0
[Output]: Show
Starting resizing the disk
[Command] lvresize -L 20.000G /dev/store-1/vsv1002-duuxn1pewovelzw4-uo7scoxw89qswvei
[Retval] 5
[Output]: Show [Error]: Show
[Command] /sbin/kpartx /dev/store-1/vsv1002-duuxn1pewovelzw4-uo7scoxw89qswvei
[Retval] 0
[Output]: Show
Finished Resizing of disk
Starting resizing of filesystem
[Command] /sbin/kpartx -l /dev/store-1/vsv1002-duuxn1pewovelzw4-uo7scoxw89qswvei
[Retval] 0
[Output]: Show
[Command] /sbin/kpartx -avs /dev/store-1/vsv1002-duuxn1pewovelzw4-uo7scoxw89qswvei
[Retval] 0
[Output]: Show
[Command] /sbin/kpartx -d /dev/store-1/vsv1002-duuxn1pewovelzw4-uo7scoxw89qswvei
[Retval] 0
[Output]: Show
Finished resizing of filesystem
Calling hook after create VPS
Create VPS operation finished



Inserting into database...
-Setting the root password...(Show less)
Started
[Command] /sbin/kpartx /dev/store-1/vsv1002-duuxn1pewovelzw4-uo7scoxw89qswvei
[Retval] 0
[Output]: Show
[Command] /sbin/kpartx -l /dev/store-1/vsv1002-duuxn1pewovelzw4-uo7scoxw89qswvei
[Retval] 0
[Output]: Show
[Command] /sbin/kpartx -avs /dev/store-1/vsv1002-duuxn1pewovelzw4-uo7scoxw89qswvei
[Retval] 0
[Output]: Show
Array
(
    [0] => umount: /home/v1002/0: not mounted
)
Array
(
)
[Command] /sbin/kpartx -d /dev/store-1/vsv1002-duuxn1pewovelzw4-uo7scoxw89qswvei
[Retval] 0
[Output]: Show


There was an error in setting the Root Password of the new VPS

Posted By: jevingala on April 2, 2021, 9:41 am | Post: 3
Hi,

Please open a support ticket with access details to check it further :

https://softaculous.deskuss.com/open.php?topicId=2

-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/

Posted By: kritika on April 2, 2021, 9:56 am | Post: 4
Hello,

I have opened the ticket id> 266341

Posted By: jevingala on April 2, 2021, 11:17 am | Post: 5
Hi,


Installing throttle package on the server helped.

-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/

Posted By: rrojas994 on August 11, 2021, 8:15 pm | Post: 6
I am getting the same error on my server. I attempted to update "throttle" package on the server and it is already installed and up to date. What can be going on here?

Posted By: jevingala on August 12, 2021, 3:52 am | Post: 7
Hi,

Can you verify if OS template size and size on disk column are matching on Master panel (and slave , if any) ?
If its properly downloaded, then can you view logs for commands on Tasks page for creating vps task ?

-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/

Posted By: rrojas994 on August 16, 2021, 12:34 pm | Post: 8
I checked the OS template size and it said "0". So I reinstalled the template and now I don't get this error anymore. Thank you!

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.