Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
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
Old 01-14-2023, 05:38 PM   #2
noequus
Junior Member
noequus began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2023
Device: Linux/Raspberry pi
Yikes...now I found a thread with the same question....Not sure how I missed that. The response was:

That error means /opt/calibre/calibre-server doesn't exist or the user pi does not have permission to read/execute it.

I don't know what to put into /opt/calibre. I tried putting the calibre-server.service code there but it didn't solve the problem. I'm not familiar with systemd....Suggestions welcome....
noequus is offline   Reply With Quote
Advert
Old 01-14-2023, 08:03 PM   #3
noequus
Junior Member
noequus began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2023
Device: Linux/Raspberry pi
Still not sure how my search missed it but problem solved with info in this post...The server was in /usr/bin..

Works now. Thank you!
noequus is offline   Reply With Quote
Reply

Tags
calibre server start


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre fails to start jmrdv Calibre 10 09-12-2021 09:14 AM
Cannot start Calibre-server (code=exited, status=203/EXEC) don_caviare Server 2 03-28-2020 09:59 AM
Calibre-server systemd socket unit example davidreads Server 1 01-10-2020 04:38 PM
since 1.35 content server fails to start - bonjour failure, wrong IP Clark G. Flipper Calibre 6 05-12-2014 07:21 AM
Calibre fails to start? thegreenemachine Calibre 1 03-14-2012 03:38 AM


All times are GMT -4. The time now is 07:04 PM.


MobileRead.com is a privately owned, operated and funded community.