01-14-2018, 12:23 PM | #1 |
Member
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 ? |
01-14-2018, 12:25 PM | #2 |
Member
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 |
Advert | |
|
01-14-2018, 12:37 PM | #3 |
creator of calibre
Posts: 44,337
Karma: 23661992
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.
|
|
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 |