Symptoms
When visiting WHM > Server Configuration > Cloudlinux LVE Manager > Dashboard you will see Node.JS listed as "Unconfigured" and you will also get the error "Unable to complete setting up Node.JS" when trying to reconfigure.
Description
This is usually caused by having the incorrect mod_passenger package installed on the server. The package that needs to be installed on the server is this:
ea-apache24-mod-alt-passenger
But the package currently installed is this:
ea-ruby24-mod_passenger
Downloading the log files from the same interface you should see this line appearing somewhere in the logs:
Error: ea-apache24-mod-alt-passenger conflicts with 1:ea-ruby24-mod_passenger-5.3.7-3.el7.cloudlinux.1.x86_64
Workaround
Trying to install ea-apache24-mod-alt-passenger will fail unless first these packages are removed from the server:
ruby24-mod_passenger
ruby24-libuv
ruby24-ruby-wrapper
After removing these packages, the correct package can be installed by running this command:
yum install -y ea-apache24-mod-alt-passenger
After the installation is complete, the respective Node.JS section in the WHM > Server Configuration > Cloudlinux LVE Manager > Dashboard interface needs to be refreshed and then the error should disappear. Please refer to this link for instruction on how to install Node.JS Selector on Cloudlinux:
Comments
0 comments
Article is closed for comments.