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

Exec format error #1629

Open
rahulsharmahere opened this issue Mar 2, 2024 · 3 comments
Open

Exec format error #1629

rahulsharmahere opened this issue Mar 2, 2024 · 3 comments

Comments

@rahulsharmahere
Copy link

I have been new to ErsazTV and trying to setup it on my Ubuntu 22.04, but when i start the service I am getting error

ersatztv.service - ErsatzTV Service
     Loaded: loaded (/etc/systemd/system/ersatztv.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sat 2024-03-02 12:09:52 IST; 2s ago
    Process: 18129 ExecStart=/opt/ersatztv/ErsatzTV (code=exited, status=203/EXEC)
   Main PID: 18129 (code=exited, status=203/EXEC)
        CPU: 8ms

Mar 02 12:09:52 homeserver systemd[1]: Started ErsatzTV Service.
Mar 02 12:09:52 homeserver systemd[18129]: ersatztv.service: Failed to execute /opt/ersatztv/ErsatzTV: Exec format error
Mar 02 12:09:52 homeserver systemd[18129]: ersatztv.service: Failed at step EXEC spawning /opt/ersatztv/ErsatzTV: Exec format error
Mar 02 12:09:52 homeserver systemd[1]: ersatztv.service: Main process exited, code=exited, status=203/EXEC
Mar 02 12:09:52 homeserver systemd[1]: ersatztv.service: Failed with result 'exit-code'.

My ersatztv.service looks like


[Unit]
Description=ErsatzTV Service

[Service]
ExecStart=/opt/ersatztv/ErsatzTV
Restart=on-abort
User=rahul
WorkingDirectory=/opt/ersatztv

[Install]
WantedBy=multi-user.target
@jasongdove
Copy link
Collaborator

Please paste the full file name of the ErsatzTV release that you downloaded.

@rahulsharmahere
Copy link
Author

Hi,I had downloaded ErsatzTV-v0.8.5-beta-linux-arm64.tar.gz

@jasongdove
Copy link
Collaborator

Okay, unless you have an arm64 architecture, you will want to use x64 i.e. ErsatzTV-v0.8.5-beta-linux-x64.tar.gz

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