View Single Post
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#938
Originally Posted by yablacky View Post
It seems that the error is not that the daemon did not start. The error is that something is wrong in detecting that the daemon got started. Because in the ps list you posted, it seems to be there, even more than once (which is ok but normally should not happen).

So we have to find out why the detection of specific processes in the process list does not work on your device.

Could you please do the following: check if ps shows a process like "python /opt/smscon/smscon_daemon". Then enter (as normal user)
Code:
$ pidof /opt/smscon/smscon_daemon
    ### expected empty result
    # then:
$ ps | grep -v grep | grep /opt/smscon/smscon_daemon
    ### expected something like
    7774 root     15684 S    python /opt/smscon/smscon_daemon
Should you get any other than the expected output please let me know exactly which output you got.
You are doing the "ps" diffently than I do. Maybe that is because you use an alias? A ps will only output your shell and ps itself.
When I add "-ef" to ps, I get:
Code:
root     17181     1  2 15:22 pts/1    00:00:00 python /opt/smscon/smscon_daemon
The pidof has indeed an empty result (because python itself is the process holder)
 

The Following User Says Thank You to ade For This Useful Post: