question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[self-host][oracle-linux] runner as a service not working

See original GitHub issue

Describe the bug sudo ./svc.sh install cannot create service correctly for oracle-linux

To Reproduce Steps to reproduce the behavior:

  1. install the runner
  2. Go to directory actions-runner
  3. Run sudo ./svc.sh install
  4. Run sudo ./svc.sh start
  5. 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:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

23reactions
wgeraghtycommented, Apr 22, 2022

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

1reaction
TingluoHuangcommented, Mar 22, 2022

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found