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
222 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 82

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 82

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This article discusses four methods for overlaying images in a container on a web page
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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.

706 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

18 Experts available now in Live!

Get 1:1 Help Now