Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : reboot in rescue using the API



Threaded Mode | Print  

 reboot in rescue using the API (6 Replies, Read 8913 times)
uname-r
Group: Member
Post Group: Newbie
Posts: 38
Status:
Hi,

How can i reboot in rescue mode using the client API?  I see nothing in the doc about this.

Possible?  Any API function for this?

Thank you
IP: --   

reboot in rescue using the API
uname-r
Group: Member
Post Group: Newbie
Posts: 38
Status:
Someone can provide an answer to this question plz?
IP: --   

reboot in rescue using the API
uname-r
Group: Member
Post Group: Newbie
Posts: 38
Status:
...i only need the variables.

IP: --   

reboot in rescue using the API
syedshah20
Group: Member
Post Group: Newbie
Posts: 1
Status:
Please change your SSH port.
You have this option in Virtualizor Admin Panel -> Configuration

Its difficult for people to exploit your server if the SSH port is different.


-----------------------
You can easily check out our high quality  Testking OG0-092 You can also get success in real hodges
IP: --   

reboot in rescue using the API
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
Quote From : uname-r October 25, 2013, 6:55 pm
...i only need the variables.



Main Act = rescue

Sir, the main varibles that should be posted are  :
enablerescue - This will enable rescue mode.
password - Rescue Password
conf_password - Same as password

disablerescue - Will disable rescuemode

-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Virtualizor - The Next Generation VPS Panel
Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Pinguzo - Server and Domain Monitoring tool
PopularFX - Marketplace of WordPress, Drupal, Joomla, Bootstrap themes
Remote Installer - Use Softaculous over FTP/FTPS/SFTP
IP: --   

reboot in rescue using the API
PitbullOL
Group: Member
Post Group: Newbie
Posts: 2
Status:
Why No Information in Wiki ? http://virtualizor.com/enduser-api/?php#disable-rescue

$v->r($v->rescue(126, ['disablerescue']));

It dosent work for me how is my Problem Need help pls.

Greetz
IP: --   

reboot in rescue using the API
chirag
Group: Virtualizor Team
Post Group: Elite Member
Posts: 419
Status:
Quote
$v->r($v->rescue(126, ['disablerescue']));


I just checked the SDK and the function to disabke rescue si not there yet.
Please add the below function in sdk/enduser.php on your virtualizor server :

Like below :

function disable_rescue($vid){
       
    $post = array('disablerescue' => 1);
   
    //MAKE the Request
    $res = $this->call('index.php?svs='.$vid.'&act=rescue', $post);
   
    //DID it finish?
    if(!empty($res['done'])){
        return true;
    }else{
        return false;
    }
}

Above function should resolve your issue. We will add this in our next release.
Sorry for the inconvenience caused.
Let us know for further information.

-----------------------
Virtualizor - VPS Control Panel
Follow us on Facebook
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 16, 2024, 2:40 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.027