SolusVM blank page - Fix it Now ?








SolusVM is a powerful GUI-based VPS management system which allows you to monitor your VPS status and change basic settings. Blank page in SolusVM generally happens when PHP does not have json module enabled.

Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to perform related SolusVm queries.


Nature of SolusVM blank page error 

SolusVM gives a blank page after the 1.20.09 update on CentOS 5 node.

When the PHP version is 5.1.

You can check the PHP version using below command:

# php -v

lighttpd web server serves the requests to Master SolusVM web interface

You can see following error in the error log:

# tail -fn0 /var/log/lighttpd/error.log
2018-12-05 16:41:49: (mod_fastcgi.c.2538) FastCGI-stderr: PHP Fatal error: Call to undefined function json_decode() in /usr/local/solusvm/includes/config.php on line 102

This issue is usually caused as system PHP does not have json module enabled.


How to fix SolusVM blank page error ?

To fix this error, follow this steps below.

1.Firstly, connect to the Master SolusVM server via SSH

2.Then, update the PHP to the packages by symlink PHP to svmstack PHP using the below command.

# 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:

i. Firstly, install repository

# yum install solusvm-release

ii. Then, shutdown lighttpd service

# service lighttpd stop
# chkconfig lighttpd off

iii. Then, install nginx and legacy configuration file for master

# yum install svmstack-nginx svmstack-nginx-legacy-master-config

iv. Next, install nginx and legacy configuration file for slave

# yum install svmstack-nginx svmstack-nginx-legacy-slave-config

v. Finally, start new service

# service svmstack-nginx restart
# service svmstack-fpm restart

If the issue still persists, try to re-install SoulsVM and reboot following below steps.

SolusVM requires the following specification:

i. CentOS 5+ based linux operating system

ii. At least one external IP address

To install, in SSH as root do the following:

$ wget http://soluslabs.com/installers/solusvm/install chmod 755 install ./install

In order to reboot,

a. Login to your SolusVM Control Panel.

b. Scroll down and you can see a "Reboot" option. Click it!

c. It will show a confirmation window. Click on "Yes".

 


[Trying to fix SolusVM errors? We can help you. ]



Conclusion

This article covers methods to resolve blank page in SolusVM due to a missing PHP extension. 


For Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on LinuxAPT.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com