[oe] systemd service failing at start

Henning Heinold henning at itconsulting-heinold.de
Fri Jul 11 07:31:09 UTC 2014


On Thu, Jul 10, 2014 at 08:43:02PM -0600, Eduardo Silva wrote:
> Hi,
> 
> For some reason the systemd service that i plan to use for Monkey HTTP
> Server in Yocto is not starting up when booting the core-image-sato image.
> Once is booting it hangs saying:
> 
>   [  OK  ] Stopped Monkey HTTP Server
>   [  ***   ] A Start job is running for Run pending postinsts (20min 12s...)
> 
> My service file looks like this:
> 
> --- start of monkey.service---
> 
> [Unit]
> Description=Monkey HTTP Server
> Requires=network.target remote-fs.target
> After=network.target remote-fs.target
> 
> [Service]
> Type=forking
> ExecStart=/usr/bin/monkey --daemon
> PIDFile=/var/run/monkey.pid.2001
> TimeoutSec=10
> 
> [Install]
> WantedBy=multi-user.target
> 
> -- end--
> 
> If i deploy Monkey RPM (cooked by bitbake) on the Sato image and i add this
> service once the system is up, systemd can start the service without
> problems, everything works: start, stop, status, etc. Do i am missing
> something that can be generating some problems on the first boot ?
> 
> thanks for your help
> 

What is systemd saying when you examine the status after boot?

Bye Henning



More information about the Openembedded-devel mailing list