Hey there.
I recently installed calibre (1.13) as a headless content server: Just moved my library to a machine that's always on, installed it completely standalone using
Code:
sudo python -c "import sys; py3 = sys.version_info[0] > 2; u = __import__('urllib.request' if py3 else 'urllib', fromlist=1); exec(u.urlopen('http://status.calibre-ebook.com/linux_installer').read()); main()"
This worked for a time. Now I'm in the weird situation that it works _sometimes_. Most of the time starting calibre-server leads to these lines and the process dieing:
Code:
Dec 08 12:35:57 bitdump calibre-server[1243]: Traceback (most recent call last):
Dec 08 12:35:57 bitdump calibre-server[1243]: File "site-packages/calibre/library/server/base.py", line 272, in start
Dec 08 12:35:57 bitdump calibre-server[1243]: File "site-packages/calibre/library/server/base.py", line 265, in start_cherrypy
Dec 08 12:35:57 bitdump calibre-server[1243]: File "site-packages/cherrypy/process/wspbus.py", line 250, in start
Dec 08 12:35:57 bitdump calibre-server[1243]: ChannelFailures: IOError(2, 'No such file or directory')
There's nothing special about the way I launch the thing:
Code:
/usr/bin/calibre-server --max-cover=600x800 --max-opds-items=30 --max-opds-ungrouped-items=100 --username=calibre --port=8888 --pidfile=/var/run/calibre/calibre-server.pid --with-library=/tank/books
The thing is: Sometimes .. it works/stays up. I tried following the stack trace, but I don't see anything special in there, certainly nothing about potential files/directories. I'd be glad if someone could help me fix this situation.
Minor sidenote, added but low priority issue: I cannot use --daemonize with calibre-server, which is the reason why that option is absent from my line above. I'd prefer to use that, but ..
[bitdump dar]# /usr/bin/calibre-server --max-cover=600x800 --max-opds-items=30 --max-opds-ungrouped-items=100 --username=calibre --port=8888 --pidfile=/var/run/calibre/calibre-server.pid --with-library=/tank/books --daemonize
Aborted (core dumped)