Re: System service


Andreas Müller
 

On Fri, May 3, 2019 at 10:22 AM JH <jupiter.hce@...> wrote:

Hi Andreas,

In cases like these:

* expecting sytemd starting service automatically
* something went wrong

I ask systemd for it with 'systemctl status <service>'

So what does 'systemctl status ofono' say?
You right, it was aborted, but it had no problems to be started
manually, a little mysterious, need further investigation. Thanks
Andreas.

# systemctl status ofono
��● ofono.service - Telephony service
Loaded: loaded
(8;;file://solarevk/lib/systemd/system/ofono.service/lib/systemd/system/ofono.service8;;;
enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-05-03 01:01:04 UTC; 7h ago
Process: 218 ExecStart=/usr/sbin/ofonod -n (code=exited, status=1/FAILURE)
Main PID: 218 (code=exited, status=1/FAILURE)

May 03 01:01:01 solarevk systemd[1]: Starting Telephony service...
May 03 01:01:01 solarevk ofonod[218]: oFono version 1.24
May 03 01:01:01 solarevk systemd[1]: Started Telephony service.
May 03 01:01:03 solarevk ofonod[218]: Aborting (signal 11) [/usr/sbin/ofonod]
May 03 01:01:04 solarevk systemd[1]: ofono.service: Main process
exited, co��…LURE
May 03 01:01:04 solarevk systemd[1]: ofono.service: Failed with result
'exi��…de'.
Hint: Some lines were ellipsized, use -l to show in full.

# systemctl status ofono
��● ofono.service - Telephony service
Loaded: loaded (8;;file://solarevk/lib/systemd/system/ofono.service/lib/syst)
Active: active (running) since Fri 2019-05-03 08:18:59 UTC; 2s ago
Main PID: 275 (ofonod)
CGroup: /system.slice/ofono.service
��└��─275 /usr/sbin/ofonod -n

May 03 08:18:59 solarevk systemd[1]: Starting Telephony service...
May 03 08:18:59 solarevk ofonod[275]: oFono version 1.24
May 03 08:18:59 solarevk systemd[1]: Started Telephony service.
May 03 08:19:00 solarevk ofonod[275]: Interface org.ofono.AllowedAccessPoin��…lt
Hint: Some lines were ellipsized, use -l to show in full.
Accidentally I made this a private discussion - make it public again
so others with similar issues might not need to ask again :)

Andreas

Join yocto@lists.yoctoproject.org to automatically receive all group messages.