Can I run Node.js on cPanel without CloudLinux?
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Madeline
  2. Wednesday, 20 May 2020
  3.  Subscribe via email
I'm trying to deploy a node.js app on my server.

I've followed the instructions laid out by cPanel in their documentation here: Guide to Node.js Installations and here: How to Install a Node.js Application. I want to do this without CloudLinux and given Apache's Node.js module it seemed to be possible.

However, even though deploying the app in the backend seems fine, I'm getting this error when trying to access the app in my browser:

The Phusion Passenger application server tried to start the web application through a Passenger-internal helper tool called the SpawnEnvSetupper. But that helper tool encountered an internal error.

Error Details: Failed to initialize LVE library: : init_lve error [2] The stdout/stderr output of the subprocess so far is: Error: Failed to initialize LVE library: : init_lve error [2]

I tried deploying the same node.js app on a subdomain and had the same error. Then I tried to deploy it on another server that I manage (following the same steps) and was able to do so successfully. My hosting company seems to think there was an issue when I uninstalled CloudLinux from my server. (I had previously set it up to run Node and then had it removed once I discovered that I wouldn't need it paymydoctor).

I don't know much about LVE but I do know that it's a part of CloudLinux. So, do I still need to have CloudLinux installed after all?

Thanks.
Rate this post:
  1. 20.05.2020 10:05:52
  2. # 1
Sergey Khristich Accepted Answer
Posts: 338
Joined: 20.05.2019
0
Votes
Undo
Hello,
Thank you for reaching out! Could you please clarify which passenger package you are using?
Please show the output of the command:

# rpm -qa | grep passenger

Thanks in advance!
Marketing Manager
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.