Applicable to:
- SolusVM
Symptoms
-
Unable to login to the SolusVM Master web interface: after typing credentials the same login page is shown.
-
Lighttpd web server is used on the server:
# service lighttpd status
-
Recently SolusVM was updated.
Cause
Old PHP packages are installed on the server.
Resolution
-
Connect to the SolusVM Master server over SSH.
-
Move you the current system PHP binary:
# mv /usr/bin/php /usr/bin/backup-php
-
Create a link to SolusVM PHP binary:
# ln -s /usr/local/svmstack/php/bin/php /usr/bin/php
-
Switch Lighttpd web server to Nginx:
a) Install the SolusVM repository:
# yum install solusvm-release
b) Stop and disable Lighttpd web server:
# service lighttpd stop
# chkconfig lighttpd offc) Install Nginx web server and legacy configuration:
# yum install svmstack-nginx svmstack-nginx-legacy-master-config
d) Start services:
# service svmstack-nginx restart
# service svmstack-fpm restart
Note: on slave nodes, PHP binaries and web server also should be switched. Steps are the same, except for step "c":
# yum install svmstack-nginx svmstack-nginx-legacy-slave-config
Comments
0 comments
Please sign in to leave a comment.