Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : Re-Add Slave after Forcibly remove



Threaded Mode | Print  

 Re-Add Slave after Forcibly remove, Difficulties Adding the virtual server again (3 Replies, Read 3093 times)
cibi
Group: Member
Post Group: Newbie
Posts: 1
Status:
I had a master server with a slave. I found the slave offline since 2 days. The master had his version updated from 3.19 to 3.25. I resetted the API keys on the master and tried to sync but no sync. I then updated the master API key in slave universal.php but it won't do. I tried to remove to add it back and I forcibly removed the slave. I updated the version to 3.25 on the slave. Now when we try to add it back we have the error saying that IPs of VPS on the slave server already exist:"the following IP(s) already exist on the master .

How can I proceed to add this slave again please?

PS:

No slave record on the master UI

Universal.php on master:
$globals['slave'] = 0;
$globals['masterkey'] = '';
$globals['masterip'] = '';
$globals['key'] = '....M2jrH9DlYs74JCx...............'; // do not exist on master
$globals['pass'] = '.....gvtHzAGVhdhqk................'; // do not exist on master

Universal.php on slave:
$globals['slave'] = '1';
$globals['masterkey'] = 'xigYQDNq1CHIAc.............'; // exists on the master
$globals['masterip'] = 'x.220.19.177';
$globals['key'] = '.....ptkP9FW6kOlp.................';  // exists on the slave
$globals['pass'] = '......HZ7QDz8N....................'; // exists on the slave

Thanks
   
IP: --   

Re-Add Slave after Forcibly remove
infuriatedutilized
Group: Member
Post Group: Newbie
Posts: 1
Status:

Quote From : cibi July 23, 2025, 12:14 pm
I had a master server with a slave. I found the slave offline since 2 days. The master had his version updated from 3.19 to 3.25. I resetted the API keys on the master and tried to sync but no sync. I then updated the master API key in slave universal.php but it won't do. I tried to remove to add it back and I forcibly removed the slave. I updated the version to 3.25 on the slave. Now when we try to add it back we have the error saying that IPs of VPS on the slave server already exist:"the following IP(s) already exist on the master .

How can I proceed to add this slave again please?

PS:

No slave record on the master UI

Universal.php on master:
$globals['slave'] = 0;
$globals['masterkey'] = '';
$globals['masterip'] = '';
$globals['key'] = '....M2jrH9DlYs74JCx...............'; // do not exist on master
$globals['pass'] = '.....gvtHzAGVhdhqk................'; // do not exist on master

Universal.php on slave:
$globals['slave'] = '1';
$globals['masterkey'] = 'xigYQDNq1CHIAc.............'; // exists on the master
$globals['masterip'] = 'x.220.19.177';
$globals['key'] = '.....ptkP9FW6kOlp.................';  // exists on the slave
$globals['pass'] = '......HZ7QDz8N....................'; // exists on the slave

Thanks
   

The error means old IP records from the slave still exist on the master.
Delete those IPs from the master’s database (ips or servers table), restart the web service, then re-add the slave using the current master key from universal.php.
Ensure both are on version 3.25 before syncing.
IP: --   

Re-Add Slave after Forcibly remove
alicesphere
Group: Member
Post Group: Newbie
Posts: 3
Status:
Quote From : cibi July 23, 2025, 12:14 pm
I had a master server with a slave. I found the slave offline since 2 days. The master had his version updated from 3.19 to 3.25. I resetted the API keys on the master and tried to sync but no sync. I then updated the master API key in slave universal.php but it won't do. I tried to remove to add it back and I forcibly removed the slave. I updated the version to 3.25 on the slave. Now when we try to add it back we have the error saying that IPs of VPS on the slave server already exist:"the following IP(s) already exist on the master .

How can I proceed to add this slave again please?

PS:

No slave record on the master UI

Universal.php on master:
$globals['slave'] = 0;
$globals['masterkey'] = '';
$globals['masterip'] = '';
$globals['key'] = '....M2jrH9DlYs74JCx...............'; // do not exist on master
$globals['pass'] = '.....gvtHzAGVhdhqk................'; // do not exist on master

Universal.php on slave:
$globals['slave'] = '1';
$globals['masterkey'] = 'xigYQDNq1CHIAc.............'; // exists on the master
$globals['masterip'] = 'x.220.19.177';
$globals['key'] = '.....ptkP9FW6kOlp.................';  // exists on the slave
$globals['pass'] = '......HZ7QDz8N....................'; // exists on the slave

Thanks
   

It seems like the old IP records from the slave are still causing issues on the master server. To fix this, you should check the master’s database and remove any old IP entries associated with the slave. After deleting those entries, restart the web service and then try to re-add the slave using the updated master key in universal.php. Ensure both servers are running version 3.25 before syncing.
IP: --   

Re-Add Slave after Forcibly remove
sikanderk
Group: Virtualizor Team
Post Group: Newbie
Posts: 21
Status:
Hi,

Is your issue resolved?
Are you using shared IP Pool ?
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is November 15, 2025, 9:15 am.

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