View Single Post
Old 01-14-2023, 05:13 PM   #1
noequus
Junior Member
noequus began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2023
Device: Linux/Raspberry pi
Calibre server fails to start: systemd status=203/EXEC

Hi everyone:

The server is working fine when I start it from the Connect/Share button within Calibre. I would like to have the server run when Calibre is not running and have followed the instructions in the manual here But the server fails to start:

n 14 12:35:49 ktch-12-SD47 systemd[1]: Started calibre Content server.
Jan 14 12:35:49 ktch-12-SD47 systemd[4338]: calibre-server.service: Failed to execute /etc/systemd/system/calibre-server.service: Exec format error
Jan 14 12:35:49 ktch-12-SD47 systemd[4338]: calibre-server.service: Failed at step EXEC spawning /etc/systemd/system/calibre-server.service: Exec format error
Jan 14 12:35:49 ktch-12-SD47 systemd[1]: calibre-server.service: Main process exited, code=exited, status=203/EXEC
Jan 14 12:35:49 ktch-12-SD47 systemd[1]: calibre-server.service: Failed with result 'exit-code'.

Here's the service code I am using, copied from the manual with my user info:

Code:
[Unit]
Description=calibre Content server
After=network.target

[Service]
Type=simple
User=pi
Group=pi
ExecStart=/opt/calibre/calibre-server /home/pi/CalibreLibrary

[Install]
WantedBy=multi-user.target
I'm running Calibre 6.11.0 on a Raspberry Pi (Buster) but not familiar with systemd setup...Perhaps something v. simple, thus explaining why I do not find this error on the forum. Thank you for any help,
Gary
noequus is offline   Reply With Quote