Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service failed to start (code=exited, status=101) #10

Open
fafaaye opened this issue May 19, 2020 · 5 comments
Open

Service failed to start (code=exited, status=101) #10

fafaaye opened this issue May 19, 2020 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@fafaaye
Copy link

fafaaye commented May 19, 2020

Hi, I've installed font helper but it can't run. I don't know what causes this error.

This is the result when I checked the status

● fonthelper.service - Font Helper for Figma
   Loaded: loaded (/lib/systemd/system/fonthelper.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2020-05-19 13:54:12 WIB; 7min ago
  Process: 10393 ExecStop=/bin/bash -c `which killall` fonthelper (code=exited, status=0/SUCCESS)
  Process: 10644 ExecStart=/opt/FontHelper/fonthelper (code=exited, status=101)
 Main PID: 10644 (code=exited, status=101)

Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Main process exited, code=exited, status=101/n/a
Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Failed with result 'exit-code'.
Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Service hold-off time over, scheduling restart.
Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Scheduled restart job, restart counter is at 5.
Mei 19 13:54:12 studio systemd[1]: Stopped Font Helper for Figma.
Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Start request repeated too quickly.
Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Failed with result 'exit-code'.
Mei 19 13:54:12 studio systemd[1]: Failed to start Font Helper for Figma.

thanks

@fafaaye fafaaye changed the title Service failed to start Service failed to start (code=exited, status=101) May 19, 2020
@ChugunovRoman
Copy link
Collaborator

Hi, what info in the log file?

@fafaaye
Copy link
Author

fafaaye commented May 19, 2020

Hi, thanks for your quick reply!

The last four log files doesn't contain anything, and this is the 5th log file
fonthelper_2020-05-19_06-33-26.log

it looks like this, the remaining is same as the last line all the way down

[2020-05-19 06:33:26.515299 +07:00] INFO [/home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/simple-server-0.4.0/src/lib.rs:214] Server started at http://127.0.0.1:18412
[2020-05-19 12:05:51.342620 +07:00] INFO [src/server.rs:34] Request received. GET /figma/font-files
[2020-05-19 12:05:51.342875 +07:00] INFO [/home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/libfonthelper-0.2.4/src/lib.rs:26] Freetype2 library initialized successful
[2020-05-19 12:05:51.342980 +07:00] WARN [/home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/finder-0.1.5/src/lib.rs:169] No such file or directory (os error 2)
[2020-05-19 12:05:51.371781 +07:00] WARN [/home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/finder-0.1.5/src/lib.rs:169] Not a directory (os error 20)
[2020-05-19 12:05:51.382800 +07:00] WARN [/home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/finder-0.1.5/src/lib.rs:169] Not a directory (os error 20)
[2020-05-19 12:05:51.392496 +07:00] WARN [/home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/finder-0.1.5/src/lib.rs:169] Not a directory (os error 20)
[2020-05-19 12:05:51.402227 +07:00] WARN [/home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/finder-0.1.5/src/lib.rs:169] Not a directory (os error 20)

again, thanks!

@ChugunovRoman ChugunovRoman self-assigned this May 19, 2020
@ChugunovRoman ChugunovRoman added the bug Something isn't working label May 19, 2020
@marchellodev
Copy link

In my case the problem was due to a missed comma in the config file

@divine-comedian
Copy link

divine-comedian commented Mar 7, 2024

I'm also getting this error now! I made the latest update to 0.1.8

This is my output on start / status check

mitch@MackerelCommand ~ [3]> systemctl --user start figma-fonthelper.service                                                (base) 
mitch@MackerelCommand ~> systemctl --user status figma-fonthelper.service                                                   (base) 
× figma-fonthelper.service - Font Helper for Figma
     Loaded: loaded (/home/mitch/.config/systemd/user/figma-fonthelper.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2024-03-07 09:52:47 CST; 3s ago
    Process: 9880 ExecStart=/usr/bin/env bash -c ${XDG_DATA_HOME:-/home/mitch/.local/share}/figma-fonthelper/fonthelper (code=exit>
   Main PID: 9880 (code=exited, status=101)
        CPU: 11ms

Mar 07 09:52:47 MackerelCommand systemd[2392]: figma-fonthelper.service: Scheduled restart job, restart counter is at 5.
Mar 07 09:52:47 MackerelCommand systemd[2392]: Stopped Font Helper for Figma.
Mar 07 09:52:47 MackerelCommand systemd[2392]: figma-fonthelper.service: Start request repeated too quickly.
Mar 07 09:52:47 MackerelCommand systemd[2392]: figma-fonthelper.service: Failed with result 'exit-code'.
Mar 07 09:52:47 MackerelCommand systemd[2392]: Failed to start Font Helper for Figma.
mitch@MackerelCommand ~ [SIGINT]>                                                              

in the logs I see this error info:

A start job for unit UNIT has finished with a failure.
The job identifier is 1264 and the job result is failed.

@divine-comedian
Copy link

I had a similar issue - my solution was a clean uninstall then reinstall - since there is no uninstall script it's a bit tricky but I uninstalled using the commands suggested in this comment - #11 (comment)

I reinstalled again from curl and now it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants