Skip to content

Job for [email protected] failed because the control process exited with error code. #6

@itsazzad

Description

@itsazzad
$ systemctl enable --now [email protected]
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-unit-files ===
Authentication is required to manage system service or unit files.
Authenticating as: Ubuntu (ubuntu)
Password:
==== AUTHENTICATION COMPLETE ===
==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
Authentication is required to reload the systemd state.
Authenticating as: Ubuntu (ubuntu)
Password:
==== AUTHENTICATION COMPLETE ===
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start '[email protected]'.
Authenticating as: Ubuntu (ubuntu)
Password:
==== AUTHENTICATION COMPLETE ===
Job for [email protected] failed because the control process exited with error code.
See "systemctl status [email protected]" and "journalctl -xeu [email protected]" for details.
$ systemctl status [email protected][email protected] - Session Push Notification Server -- apns notifier
     Loaded: loaded (/etc/systemd/system/[email protected]; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Wed 2023-11-01 08:48:55 UTC; 3s ago
    Process: 138982 ExecStart=/usr/bin/python3 -mspns.notifiers.apns (code=exited, status=217/USER)
   Main PID: 138982 (code=exited, status=217/USER)
        CPU: 2ms

systemd[1]: Starting Session Push Notification Server -- apns notifier...
systemd[1]: [email protected]: Main process exited, code=exited, status=217/USER
systemd[1]: [email protected]: Failed with result 'exit-code'.
systemd[1]: Failed to start Session Push Notification Server -- apns notifier.
$ sudo journalctl -xeu [email protected]
░░ A stop job for unit [email protected] has finished.
░░
░░ The job identifier is 4831558 and the job result is done.
Nov 01 08:59:28 vps-b0b0ebac systemd[1]: Starting Session Push Notification Server -- apns notifier...
░░ Subject: A start job for unit [email protected] has begun execution
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit [email protected] has begun execution.
░░
░░ The job identifier is 4831558.
Nov 01 08:59:28 vps-b0b0ebac systemd[1]: [email protected]: Main process exited, code=exited, status=217/USER
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit [email protected] has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 217.
Nov 01 08:59:28 vps-b0b0ebac systemd[1]: [email protected]: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit [email protected] has entered the 'failed' state with result 'exit-code'.
Nov 01 08:59:28 vps-b0b0ebac systemd[1]: Failed to start Session Push Notification Server -- apns notifier.
░░ Subject: A start job for unit [email protected] has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit [email protected] has finished with a failure.
░░
░░ The job identifier is 4831558 and the job result is failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions