<div dir="ltr"><div><div>I'm running the daemon with the following<br><br>def thesetup(st_out, mf, xf, pidfile):<br>        dmon = daemon.DaemonContext(<br>                working_directory='/',<br>                umask=0o002,<br>                pidfile = lockfile.FileLock(pidfile),<br>        )<br><br>        dmon.signal_map = {<br>                signal.SIGHUP:  hup,<br>                signal.SIGQUIT: quit,<br>                signal.SIGINT:  interrupt,<br>        }<br>        dmon.stdout = st_out<br>        dmon.files_preserve = [mf, xf]<br>        return dmon<br><br></div>and a pidfile already exists in /var/run/immortal.pid.<br><br></div>Once running the process is stuck here, but no error is thrown so the daemon can't detect the problem.  Is there a way to see the error?<br><div><div><div><br>select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)<br>link("/var/run/aster-standin-92fe2700.135462690457600465152996", "/var/run/immortal.pid.lock") = -1 EEXIST (File exists)<br>stat("/var/run/aster-standin-92fe2700.135462690457600465152996", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0<br>select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)<br>link("/var/run/aster-standin-92fe2700.135462690457600465152996", "/var/run/immortal.pid.lock") = -1 EEXIST (File exists)<br>stat("/var/run/aster-standin-92fe2700.135462690457600465152996", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0<br>select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)<br>link("/var/run/aster-standin-92fe2700.135462690457600465152996", "/var/run/immortal.pid.lock") = -1 EEXIST (File exists)<br>stat("/var/run/aster-standin-92fe2700.135462690457600465152996", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0<br>select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)<br>link("/var/run/aster-standin-92fe2700.135462690457600465152996", "/var/run/immortal.pid.lock") = -1 EEXIST (File exists)<br>stat("/var/run/aster-standin-92fe2700.135462690457600465152996", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0<br>select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)<br>link("/var/run/aster-standin-92fe2700.135462690457600465152996", "/var/run/immortal.pid.lock") = -1 EEXIST (File exists)<br>stat("/var/run/aster-standin-92fe2700.135462690457600465152996", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0<br>select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)<br>link("/var/run/aster-standin-92fe2700.135462690457600465152996", "/var/run/immortal.pid.lock") = -1 EEXIST (File exists)<br>stat("/var/run/aster-standin-92fe2700.135462690457600465152996", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0<br>select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)<br>link("/var/run/aster-standin-92fe2700.135462690457600465152996", "/var/run/immortal.pid.lock") = -1 EEXIST (File exists)<br>stat("/var/run/aster-standin-92fe2700.135462690457600465152996", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0<br>select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)<br>link("/var/run/aster-standin-92fe2700.135462690457600465152996", "/var/run/immortal.pid.lock") = -1 EEXIST (File exists)<br>stat("/var/run/aster-standin-92fe2700.135462690457600465152996", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0<br>select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)<br>link("/var/run/aster-standin-92fe2700.135462690457600465152996", "/var/run/immortal.pid.lock") = -1 EEXIST (File exists)<br>stat("/var/run/aster-standin-92fe2700.135462690457600465152996", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0<br>select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)<br>link("/var/run/aster-standin-92fe2700.135462690457600465152996", "/var/run/immortal.pid.lock") = -1 EEXIST (File exists)<br>stat("/var/run/aster-standin-92fe2700.135462690457600465152996", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0<br>select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)<br>link("/var/run/aster-standin-92fe2700.135462690457600465152996", "/var/run/immortal.pid.lock") = -1 EEXIST (File exists)<br>stat("/var/run/aster-standin-92fe2700.135462690457600465152996", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0<br>select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)<br>link("/var/run/aster-standin-92fe2700.135462690457600465152996", "/var/run/immortal.pid.lock") = -1 EEXIST (File exists)<br>stat("/var/run/aster-standin-92fe2700.135462690457600465152996", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0<br>select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)<br>link("/var/run/aster-standin-92fe2700.135462690457600465152996", "/var/run/immortal.pid.lock") = -1 EEXIST (File exists)<br clear="all"><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="color:rgb(80,0,80);font-size:12.8px"><b style="font-size:12.8px"><font color="#0b5394">Bill Rees</font></b><b style="font-size:12.8px;color:rgb(136,136,136)"> </b><b style="color:rgb(136,136,136);font-family:Calibri,sans-serif"><span style="font-size:10.5pt;font-family:Arial,sans-serif">| </span></b><br style="font-size:12.8px;color:rgb(136,136,136)"><div style="font-size:12.8px;color:rgb(136,136,136)"><div style="font-size:12.8px;color:rgb(136,136,136)">Stack Labs <span style="font-family:Arial,sans-serif;font-size:small">| </span><span style="font-size:12.8px">10054</span><font size="2"> Pasadena Ave, Cupertino, CA 95014</font></div></div><div style="font-size:12.8px;color:rgb(136,136,136)"><font size="2"></font><span style="font-size:small"> </span><a href="mailto:brees@stacklighting.com" style="font-size:small" target="_blank">brees @stacklighting.com</a><span style="font-size:small"> </span></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><p style="margin:0in 0in 0.0001pt;color:rgb(34,34,34);font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:7.5pt"><font color="#999999">This electronic mail transmission may contain private, confidential and privileged information </font></span><span style="color:rgb(153,153,153);font-size:7.5pt">that is for the sole use of the intended recipient.  If you are not the intended recipient, you </span><span style="color:rgb(153,153,153);font-size:7.5pt">are hereby notified that any review, dissemination, distribution, archiving, or copying of this </span><span style="font-size:7.5pt"><font color="#999999">communication is strictly prohibited.  If you received this communication in error, please reply </font></span><span style="color:rgb(153,153,153);font-size:7.5pt">to this message immediately and delete the original message and the associated reply.</span></p></div></div></div></div></div></div>
</div></div></div></div></div>