You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to create a binary service, but encounter some errors when start it. It should be very simple, maybe i miss something? pls help, thanks!
Operating system Info:
uname -a
Linux xxx 5.15.0-102-generic #112-Ubuntu SMP Tue Mar 5 16:50:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Used Release File: https://github.com/servicer-labs/servicer/releases/download/v0.1.13/servicer-x86_64-unknown-linux-gnu
Fail to start service:
sudo svc start blog
service started: /org/freedesktop/systemd1/job/262712
+-----+------+--------+----------------+-------+--------+
| pid | name | active | enable on boot | cpu % | memory |
+-----+------+--------+----------------+-------+--------+
| 0 | blog | failed | false | 0 | 0 |
+-----+------+--------+----------------+-------+--------+
Related logs:
svc logs blog
...
Aug 04 20:55:09 mia systemd[1]: Started Servicer:blog.
Aug 04 20:55:09 mia systemd[3783910]: blog.ser.service: Failed to locate executable blog: No such file or directory
Aug 04 20:55:09 mia systemd[3783910]: blog.ser.service: Failed at step EXEC spawning blog: No such file or directory
Aug 04 20:55:09 mia systemd[1]: blog.ser.service: Main process exited, code=exited, status=203/EXEC
Aug 04 20:55:09 mia systemd[1]: blog.ser.service: Failed with result 'exit-code'.
My executable file location: ~/apps/blog/blog
svc cat blog
Reading /etc/systemd/system/blog.ser.service:
# Generated with Servicer
[Unit]
Description=Servicer:blog
After=network.target
[Service]
Type=simple
User=woyo
WorkingDirectory=/home/woyo/apps/blog
ExecStart=blog
[Install]
WantedBy=multi-user.target
The text was updated successfully, but these errors were encountered:
Hi there,
I try to create a binary service, but encounter some errors when start it. It should be very simple, maybe i miss something? pls help, thanks!
Operating system Info:
uname -a Linux xxx 5.15.0-102-generic #112-Ubuntu SMP Tue Mar 5 16:50:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Used Release File:
https://github.com/servicer-labs/servicer/releases/download/v0.1.13/servicer-x86_64-unknown-linux-gnu
Fail to start service:
Related logs:
svc logs blog ... Aug 04 20:55:09 mia systemd[1]: Started Servicer:blog. Aug 04 20:55:09 mia systemd[3783910]: blog.ser.service: Failed to locate executable blog: No such file or directory Aug 04 20:55:09 mia systemd[3783910]: blog.ser.service: Failed at step EXEC spawning blog: No such file or directory Aug 04 20:55:09 mia systemd[1]: blog.ser.service: Main process exited, code=exited, status=203/EXEC Aug 04 20:55:09 mia systemd[1]: blog.ser.service: Failed with result 'exit-code'.
My executable file location: ~/apps/blog/blog
The text was updated successfully, but these errors were encountered: