<div dir="ltr">Getting rid of the template syntax changed the behavior but now it appears there's another problem I don't understand.<div>it tries to start the unit and it shows some encouraging signs but fails because a timeout was exceeded.</div><div>Celery starts and shows healthy output but then sends a SIGCHLD and then dies</div><div>I don't know if you know what celery is but its a task queue so it does create child processes</div><div>I thought the Type=forking line in the service unit would let systemd about that.</div><div>Or maybe its dying for some other reason?</div><div>It works fine when run without systemd</div><div>I don't think I can send you detailed output until we get this issue resolved with the mailing list and why its not excepting emails with debug output.</div><div>Short emails seem to post. Long ones don't. There's no indication of whats going on</div><div>I'll try including the journalctl -xe output and see if that crashes the email list:</div><div><br></div><div><div>Dec 05 13:20:30 stower celery[5675]: ---- **** -----</div><div>Dec 05 13:20:30 stower celery[5675]: --- * *** * -- Linux-3.10.0-693.5.2.el7.x86_64-x86_64-with-centos-7.4.1708-Core 2017-12-05 13:19:02</div><div>Dec 05 13:20:30 stower celery[5675]: -- * - **** ---</div><div>Dec 05 13:20:30 stower celery[5675]: - ** ---------- [config]</div><div>Dec 05 13:20:30 stower celery[5675]: - ** ---------- .> app: tasks:0x1e15c90</div><div>Dec 05 13:20:30 stower celery[5675]: - ** ---------- .> transport: amqp://guest:**@localhost:5672//</div><div>Dec 05 13:20:30 stower celery[5675]: - ** ---------- .> results: rpc://</div><div>Dec 05 13:20:30 stower celery[5675]: - *** --- * --- .> concurrency: 2 (prefork)</div><div>Dec 05 13:20:30 stower celery[5675]: -- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)</div><div>Dec 05 13:20:30 stower celery[5675]: --- ***** -----</div><div>Dec 05 13:20:30 stower celery[5675]: -------------- [queues]</div><div>Dec 05 13:20:30 stower celery[5675]: .> celery exchange=celery(direct) key=celery</div><div>Dec 05 13:20:30 stower celery[5675]: [tasks]</div><div>Dec 05 13:20:30 stower celery[5675]: . tasks.test.add</div><div>Dec 05 13:20:30 stower celery[5675]: . tasks.twt_api.tasks.twt_followers_ids</div><div>Dec 05 13:20:30 stower celery[5675]: . tasks.twt_api.tasks.twt_friends_ids</div><div>Dec 05 13:20:31 stower systemd[1]: Received SIGCHLD from PID 5675 (celery).</div><div>Dec 05 13:20:31 stower systemd[1]: Child 5675 (celery) died (code=exited, status=0/SUCCESS)</div><div>Dec 05 13:20:31 stower systemd[1]: Child 5675 belongs to celery_bf.service</div><div>Dec 05 13:20:31 stower systemd[1]: celery_bf.service: control process exited, code=exited status=0</div><div>Dec 05 13:20:31 stower polkitd[684]: Unregistered Authentication Agent for unix-process:5659:1185247 (system bus name :1.53, object path /org/freedesktop/Polic</div><div>Dec 05 13:20:31 stower systemd[1]: celery_bf.service got final SIGCHLD for state final-sigterm</div><div>Dec 05 13:20:31 stower systemd[1]: celery_bf.service changed final-sigterm -> failed</div><div>Dec 05 13:20:31 stower systemd[1]: Job celery_bf.service/start finished, result=failed</div><div>Dec 05 13:20:31 stower systemd[1]: Failed to start Celery bf Service.</div><div>-- Subject: Unit celery_bf.service has failed</div><div>-- Defined-By: systemd</div><div>-- Support: <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a></div><div>-- </div><div>-- Unit celery_bf.service has failed.</div><div>-- </div><div>-- The result is failed.</div><div>Dec 05 13:20:31 stower systemd[1]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Mana</div><div>Dec 05 13:20:31 stower systemd[1]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedes</div><div>Dec 05 13:20:31 stower systemd[1]: Unit celery_bf.service entered failed state.</div><div>Dec 05 13:20:31 stower systemd[1]: celery_bf.service failed.</div><div>Dec 05 13:20:31 stower systemd[1]: celery_bf.service: cgroup is empty</div><div>Dec 05 13:20:31 stower systemd[1]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/unit/celery_5fbf_2eservice interface=or</div><div>Dec 05 13:20:31 stower systemd[1]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/unit/celery_5fbf_2eservice interface=or</div><div>Dec 05 13:20:31 stower systemd[1]: Got message type=method_call sender=:1.54 destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/celery_</div><div>Dec 05 13:20:31 stower systemd[1]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedes</div><div>Dec 05 13:20:31 stower systemd[1]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedes</div><div>Dec 05 13:20:31 stower systemd[1]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedes</div><div>Dec 05 13:20:31 stower systemd[1]: SELinux access check scon=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcon=unconfined_u:object_r:systemd_unit_file</div><div>Dec 05 13:20:31 stower systemd[1]: Sent message type=method_return sender=n/a destination=:1.54 object=n/a interface=n/a member=n/a cookie=1317 reply_cookie=7 </div><div>Dec 05 13:20:31 stower systemd[1]: Got cgroup empty notification for: /system.slice/celery_bf.service</div><div>Dec 05 13:20:31 stower systemd[1]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd</div><div>Dec 05 13:20:31 stower systemd[1]: Got message type=signal sender=org.freedesktop.DBus destination=n/a object=/org/freedesktop/DBus interface=org.freedesktop.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 5, 2017 at 1:04 PM, Doug Snyder <span dir="ltr"><<a href="mailto:webcoach101@gmail.com" target="_blank">webcoach101@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm trying to get you the debug output as described in <a href="https://freedesktop.org/wiki/Software/systemd/Debugging/#index3h1" style="font-family:gotham,helvetica,arial,sans-serif;font-size:14px" target="_blank">https://freedesktop.org/<wbr>wiki/Software/systemd/<wbr>Debugging/#index3h1</a><div>I'm sending the emails but they aren't showing up in the email list at: <a href="https://lists.freedesktop.org/archives/systemd-devel/2017-December/thread.html#39934" target="_blank">https://lists.freedesktop.<wbr>org/archives/systemd-devel/<wbr>2017-December/thread.html#<wbr>39934</a></div><div>with or without email attachments</div><div><br></div><div>At this point two people have said I have an updated systemd which is strange because I thought I used the latest CentOS minimal install</div><div><div>$ systemctl --version</div><div>systemd 219</div><span class=""><div>+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN</div></span></div><div>So maybe it makes sense for me to just update and see if that resolves this.</div><div><br></div><div>I don't know how to do that though.</div><div>I found these instruciton but they don't work anymore:</div><div><a href="https://www.certdepot.net/new-systemd-version/" target="_blank">https://www.certdepot.net/new-<wbr>systemd-version/</a><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Dec 5, 2017 at 9:36 AM, Lennart Poettering <span dir="ltr"><<a href="mailto:lennart@poettering.net" target="_blank">lennart@poettering.net</a>></span> wrote:<br></span><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Sa, 02.12.17 20:40, Doug Snyder (<a href="mailto:webcoach101@gmail.com" target="_blank">webcoach101@gmail.com</a>) wrote:<br>
<br>
> I'm trying to write a basic systemd service. The ExecStart command I'm<br>
> using works. The systemd service doesn't. It throws a cryptic error and I<br>
> can't find any documentation on the web that makes any sense of it. I<br>
> posted on this list and got no responses. Is this list active? If not is<br>
> there somewhere I can get basic help for setting up a service. Systemd is<br>
> the default tool daemonizing on most Linux distros right? There must be<br>
> some way to get help to get a basic example working.<br>
<br>
</span>Please always indicate which systemd version you are using, which<br>
distribution and which kernel.<br>
<span><br>
> Nov 20 13:58:33 stower systemd[1]: celery_bf.service failed to run 'start'<br>
> task: Operation not supported<br>
<br>
</span>Hmm, this indicates that some kernel functionality required is not<br>
available in the kernel. I am not sure which one that is, and logging<br>
is a bit too brief for that.<br>
<br>
If you run "systemd-analyze set-log-level debug", and run this again,<br>
what do you see then?<br>
<span class="m_-6280331761409125876HOEnZb"><font color="#888888"><br>
Lennart<br>
<br>
--<br>
Lennart Poettering, Red Hat<br>
</font></span></blockquote></div></div></div><br></div>
</blockquote></div><br></div>