[self-host][oracle-linux] runner as a service not working
See original GitHub issueDescribe the bug
sudo ./svc.sh install
cannot create service correctly for oracle-linux
To Reproduce Steps to reproduce the behavior:
- install the runner
- Go to directory
actions-runner
- Run
sudo ./svc.sh install
- Run
sudo ./svc.sh start
- See error
Expected behavior
After Run sudo ./svc.sh start
, the service status should be active.
Runner Version and Platform
Version of runner: actions-runner-linux-x64-2.288.1
Linux: Oracle Linux Server release 8.5
What’s not working?
$ sudo ./svc.sh start
/etc/systemd/system/actions.runner.davidkhala-delphi-fabric.github-action-runner-ol8.service
● actions.runner.davidkhala-delphi-fabric.github-action-runner-ol8.service - GitHub Actions Runner (davidkhala-delphi-fabric.github-action-runner-ol8)
Loaded: loaded (/etc/systemd/system/actions.runner.davidkhala-delphi-fabric.github-action-runner-ol8.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2022-03-15 02:54:42 GMT; 6ms ago
Process: 244512 ExecStart=/home/opc/actions-runner/runsvc.sh (code=exited, status=203/EXEC)
Main PID: 244512 (code=exited, status=203/EXEC)
3月 15 02:54:42 github-action-runner-ol8 systemd[1]: Started GitHub Actions Runner (davidkhala-delphi-fabric.github-action-runner-ol8).
3月 15 02:54:42 github-action-runner-ol8 systemd[1]: actions.runner.davidkhala-delphi-fabric.github-action-runner-ol8.service: Main process e…s=203/EXEC
3月 15 02:54:42 github-action-runner-ol8 systemd[1]: actions.runner.davidkhala-delphi-fabric.github-action-runner-ol8.service: Failed with re…xit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
Runner and Worker’s Diagnostic Logs
No log found in _diag
folder
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Self hosted runner not starting up as a service. · Issue #2652
Describe the bug. A clear and concise description of what the bug is. We are trying to startup a self hosted runner as...
Read more >Configuring the self-hosted runner application as a service
Stop the self-hosted runner application if it is currently running. Install the service with the following command: sudo ./svc.sh install. Alternatively, the ...
Read more >GitHub action self-host runner as service fails - linux
I have changed User=admin.user to User=uid in the /etc/systemd/system/actions.runner._services.Linux-Host01.service file and then executed
Read more >Troubleshoot self-hosted runner
Our support engineers are available to help with service issues, billing, or account related questions, and can help troubleshoot build configurations. Contact ...
Read more >Troubleshooting runners | Bitbucket Cloud
Checking the status of a runner. The runner status can be checked on the Runners page associated with the workspace or repository.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I ran into the same issue but resolved it with a fix found at https://stackoverflow.com/a/71886213/17996442
chcon system_u:object_r:usr_t:s0 runsvc.sh
I am afraid that this is out of scope for the runner itself.
The dotnet drop support for Oracle Linux since dotnet 5.0, we won’t able to support it until dotnet core decides to support it.
The runner is currently on dotnet 6.0
https://github.com/dotnet/core/blob/main/release-notes/5.0/5.0-supported-os.md#support-changes-from-net-core-31