Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-14-2018, 12:23 PM   #1
howi42
Member
howi42 began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Sep 2014
Device: none
server dies

My server runs, but dies after a short time , when accessed remotely:
● calibre.service - Calibre Service
Loaded: loaded (/lib/systemd/system/calibre.service; enabled; vendor preset: enabled)
Active: failed (Result: timeout) since Sun 2018-01-14 14:53:51 CET; 3h 17min ago
Process: 17212 ExecStart=/usr/bin/calibre-server --daemonize --max-opds-items=30 --max-opds-ungrouped-items=100 --port..................
Main PID: 17212 (code=exited, status=0/SUCCESS)

Jan 14 14:52:20 howiserver systemd[1]: Started Calibre Service.
Jan 14 14:53:51 howiserver systemd[1]: calibre.service: State 'stop-sigterm' timed out. Killing.
Jan 14 14:53:51 howiserver systemd[1]: calibre.service: Unit entered failed state.
Jan 14 14:53:51 howiserver systemd[1]: calibre.service: Failed with result 'timeout'.

Anything I can do to get more information on that ?
howi42 is offline   Reply With Quote
Old 01-14-2018, 12:25 PM   #2
howi42
Member
howi42 began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Sep 2014
Device: none
here is the service file :


[Unit]
Description=Calibre Service
After=network.target

[Service]
Type=simple
User=howi
Group=howi

ExecStart=/usr/bin/calibre-server\
--daemonize\
--max-opds-items=30\
--max-opds-ungrouped-items=100\
--port 8080 \
--log=/opt/calibre/calibre.log \
--enable-auth \
/media/howi/cc730ce1-a103-420c-929f-f2f2854c8751/calbel

[Install]
WantedBy=multi-user.target
howi42 is offline   Reply With Quote
Advert
Old 01-14-2018, 12:37 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Dont use daemonize in your systemd service, see https://manual.calibre-ebook.com/server.html for an example systemd unit file.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What to do when a device dies? MarjaE Which one should I buy? 9 09-01-2015 08:41 PM
E. L. Doctorow dies. kennyc News 9 08-05-2015 07:52 PM
Can we setup a DNS server to fake amazon's server and remote apply the jailbreak? zfu Kindle Developer's Corner 9 05-07-2015 10:08 AM
calibre-server OPDS catalog - manual move to web server HaakonME Related Tools 5 09-21-2012 03:11 AM
500 Internal Server Error accessing content server Calibre 0.8.8 DaddyO57 Calibre 1 07-20-2012 06:08 PM


All times are GMT -4. The time now is 05:58 AM.


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