Wondering how to resolve Solusvm “slave connection error”? We can help you.
At Bobcares, we often get requests from customers SolusVM errors as part of our Server Management Services.
Today, let us see how our Support Engineers fix this error.
Different solusVM “slave connection error”
While accessing SolusVM Admin control panel users often receive different connection errors related to solusVM slave.
Today, we will discuss two of those errors and how our Support Techs fixed it.
1. Error Retrieving Information Could not contact
You may get an error in your SolusVM Admin control panel like the one below, even if your slave is online.
Error Retrieving Information... Could not contact xxx.xx.xxx.xx on port 6767
413 - Request Entity Too Large
Assuming your slave dedicated server is online and you can SSH into it then there are a few things you can check to see why your Master cannot connect to your slave.
-
Check if you have used all your space.
Use the df -h command inside your slave to check you have not used all of the available space on the / drive.
If you have and it shows as 100% usage you will need to delete some files. This will restore access.
-
Check if the ID Key and Password Correct
You can check the file /usr/local/solusvm/data/solusvm.conf inside your slave and compare it to your node settings in your SolusVM admin panel. Ensure they match.
Use the below command:
cat /usr/local/solusvm/data/solusvm.conf
Also, check if your Master IP listed in /usr/local/solusvm/data/allow.dat
if not add the IP of your master to this file and save it.
-
Check Firewall Blocking Connections
Disable the firewall on both your master and slave to see if this resolves your problem and restores connectivity.
You need to ensure port 6767 is open on both your master and your slave. You can use an iptables rule to open this port.
-
Check SELinux Status
Check the status of SELinux and if it is enabled disable it. You can check the status of SELinux by issuing
sestatus
If SELinux is enabled you can disable it by editing the /etc/sysconfig/selinux file.
nano /etc/sysconfig/selinux
Just change the SELinux=enforcing directive to the one below, save and close the file. It’s a good idea to reboot at this stage.
SELinux=disabled
2.Master SolusVM fails to connect to the slave node
Typically, error message will look as shown below
Cause for the error:
The slave server does not support older PHP handler. The issue can occur after upgrade to the latest SolusVM releases.
Resolution:
Let us see the steps followed by our Support Techs to resolve this error.
- Firstly, connect to the slave server via SSH
- Then, make php alias to use SolusVM compiled PHP:
# mv /usr/bin/php /usr/bin/backup-php
# ln -s /usr/local/svmstack/php/bin/php /usr/bin/php
3. Switch from lighttpd to svmstack-nginx service:
- Install repository
# yum install solusvm-release
- Shutdown lighttpd service
# service lighttpd stop
# chkconfig lighttpd off
- Install nginx and legacy configuration file
# yum install svmstack-nginx svmstack-nginx-legacy-slave-config
- Start new service
# service svmstack-nginx restart
# service svmstack-fpm restart
[Need assistance with SolusVM error? We can help you]
Conclusion
In short, while accessing SolusVM Admin control panel users often receive different connection errors related to solusVM slave.Today, we discussed about two different solusVM connection error and solutions provided by our Support Techs.
0 Comments