?
Solved

Linux instance has service called 'Forever' and Node.js installed for embedding videos. Service stops working, once we close our SSH session!

Posted on 2014-11-13
3
Medium Priority
?
242 Views
Last Modified: 2014-11-18
hi guys,

I'm running a Linux machine on the Amazon cloud. On this, we've installed Node.js and a service called Forever installed on it. The purpose is to embed videos, so that once the link of the video is inserted, then the entire video gets inserted onto the page. A bit like how facebook does it, when you post a link it grabs and embeds the video onto the page.

To do this, we needed to install Node.js and a service called Forever.

Whenever we use SSH on port 22, to log onto the server, the Forever service works and the embedding of videos work without any issues. The moment we close our SSH session, the entire links stop working which probably means that the forever service stops running.

Do any of you have any ideas how we could look into this or troubleshoot this?

Thank you
Yashy
0
Comment
Question by:Yashy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 40441833
Probably your whole 'virtual' site closes when you logout and it only restarts when it gets a page request.
0
 
LVL 1

Author Comment

by:Yashy
ID: 40447035
Is there any way to keep it open?
0
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 2000 total points
ID: 40447825
You would have to check with Amazon to see what their policies are.  You may need to upgrade your server with them.
0

Featured Post

Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question