1

I'm developing a real time website. It's a map where the color of each city changes based on the current emotion.

I have the python part which is connected to my database. So whenever I run the python code a new record is added to the database. - it's a streaming code so it's never ending.

The command line that is suitable for my python code is (nohup) since I want it always running.

I'm using (Bluehost) as hosting server - VPS package.

I opened my SSH command line and run the command: enter image description here

So this means it's working? It created an out file but no record is added to the database!

What's the problem? Thank you

IS Student
  • 35
  • 4

1 Answers1

3

The line Exit 2 means that there is a problem. You'll find a description in nohup.out (see the line that says ignoring input and appending nohup.out)

For a hint more clarity: the line that has Exit ... means the process called through nohup has terminated. The integer generally has meaning (more on those here), but you need to look at the actual nohup.out file before you'll learn anything.

cwallenpoole
  • 79,954
  • 26
  • 128
  • 166