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
227 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
  • 2
3 Comments
 
LVL 83

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 83

Accepted Solution

by:
Dave Baldwin earned 500 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

937 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now