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
228 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
installing docker on ubuntu 6 28
how can i gnupg encrypt a PDF document? 12 28
awk sed 8 39
Eloquent ORM manual paginator defaults to simple 2 19
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…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

813 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

17 Experts available now in Live!

Get 1:1 Help Now