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

I have some questions I don't understand #15

Open
JQiue opened this issue Nov 19, 2023 · 1 comment
Open

I have some questions I don't understand #15

JQiue opened this issue Nov 19, 2023 · 1 comment

Comments

@JQiue
Copy link

JQiue commented Nov 19, 2023

root@archlinux ~/D/r/t/debug (main)# ll
total 36M
drwxr-xr-x 1 root root 1.4K Nov 16 14:02 build/
drwxr-xr-x 1 root root  17K Nov 16 14:06 deps/
drwxr-xr-x 1 root root    0 Nov 16 13:57 examples/
drwxr-xr-x 1 root root  572 Nov 16 14:06 incremental/
-rwxr-xr-x 2 root root  36M Nov 16 14:06 rust-demo*
-rw-r--r-- 1 root root  151 Nov 16 14:06 rust-demo.d
root@archlinux ~/D/r/t/debug (main)# sudo ser create ./rust-demo
Service rust-demo created at /etc/systemd/system/rust-demo.ser.service. To start run `ser start rust-demo`
+-----+-----------+--------+----------------+-------+--------+
| pid | name      | active | enable on boot | cpu % | memory |
+-----+-----------+--------+----------------+-------+--------+
| 0   | rust-demo | failed | false          | 0     | 0      |
+-----+-----------+--------+----------------+-------+--------+
root@archlinux ~/D/r/t/debug (main)# ser start rust-demo
service started: /org/freedesktop/systemd1/job/31947
+-----+-----------+--------+----------------+-------+--------+
| pid | name      | active | enable on boot | cpu % | memory |
+-----+-----------+--------+----------------+-------+--------+
| 0   | rust-demo | failed | false          | 0     | 0      |
+-----+-----------+--------+----------------+-------+--------+
root@archlinux ~/D/r/t/debug (main)# sudo ser logs rust-demo
Nov 19 21:15:31 archlinux (ust-demo)[19872]: rust-demo.ser.service: Failed to locate executable rust-demo: No such file or directory
Nov 19 21:15:31 archlinux (ust-demo)[19872]: rust-demo.ser.service: Failed at step EXEC spawning rust-demo: No such file or directory
Nov 19 21:15:31 archlinux systemd[1]: Started Servicer:rust-demo.
Nov 19 21:15:31 archlinux systemd[1]: rust-demo.ser.service: Main process exited, code=exited, status=203/EXEC
Nov 19 21:15:31 archlinux systemd[1]: rust-demo.ser.service: Failed with result 'exit-code'.
Nov 19 21:15:36 archlinux (ust-demo)[19887]: rust-demo.ser.service: Failed to locate executable rust-demo: No such file or directory
Nov 19 21:15:36 archlinux (ust-demo)[19887]: rust-demo.ser.service: Failed at step EXEC spawning rust-demo: No such file or directory
Nov 19 21:15:36 archlinux systemd[1]: Started Servicer:rust-demo.
Nov 19 21:15:36 archlinux systemd[1]: rust-demo.ser.service: Main process exited, code=exited, status=203/EXEC
Nov 19 21:15:36 archlinux systemd[1]: rust-demo.ser.service: Failed with result 'exit-code'.
Nov 19 21:22:52 archlinux (ust-demo)[20461]: rust-demo.ser.service: Failed to locate executable rust-demo: No such file or directory
Nov 19 21:22:52 archlinux (ust-demo)[20461]: rust-demo.ser.service: Failed at step EXEC spawning rust-demo: No such file or directory
Nov 19 21:22:52 archlinux systemd[1]: Started Servicer:rust-demo.
Nov 19 21:22:52 archlinux systemd[1]: rust-demo.ser.service: Main process exited, code=exited, status=203/EXEC
Nov 19 21:22:52 archlinux systemd[1]: rust-demo.ser.service: Failed with result 'exit-code'.
@FKPSC
Copy link

FKPSC commented Apr 26, 2024

did you try ser cat rust-demo to see what was created?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants