12-10-2016, 10:06 AM | #1 |
Bibliothekar
Posts: 38
Karma: 10
Join Date: Jun 2011
Location: San Jose City, Philippines
Device: Galaxy Tab S w/Bookari Premium
|
calibre-server won't work right
I've been running the server on my openSUSE for over a year. Several days ago I upgraded the OS from 13.2 to openSUSE Leap 42.2 after formatting the root partition. A new calibre installation was downloaded from the web site and installed exactly as before.
The command I use to start the server is: /usr/bin/calibre-server --daemonize --url-prefix /library --port 8787 --with-library "/home/Calibre/MASTER" & which now results in the following error message:
The calibre-server didn't seem to run at first, but ps xaf | grep calibre shows this:
The calibre program will start and run without any problem. Port forwarding is right, port 8787 is open in the firewall, and now that I got my dynamic dns functioning again I and others can finally connect to http://behne.ddns.net:8787, but strangely, I cannot connect to http://localhost:8787 - the browser says Unable to connect. You think the opposite would be true between the two URL's! Concerning the error message, the best I can figure is that there appears to be a library mismatch between the system used to create the executable program and the new system I am running the program on. This suggests three options:
Does anyone know exactly how to accomplish numbers 2 and 3 to get rid of the annoying error message, and also how to get it working on the localhost address again? |
12-10-2016, 09:52 PM | #2 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
First of all the error from sh does not have anything to do with your inability to connect to localhost, which is likely because you changed the interface calibre listens on in Preferences->Tweaks. And calibre already uses LD_PRELOAD and comes with its own copy of libreadline.so and does not use the sh program at all (it has its own native code launchers). The mismatch is because the version of libreadline used by calibre is not the version used by the system, and it does not affect calibre functioning (libreadline is only needed for interactive prompts, which are only used by calibre-debug, not in normal calibre operation).
|
Advert | |
|
12-11-2016, 03:36 AM | #3 |
Bibliothekar
Posts: 38
Karma: 10
Join Date: Jun 2011
Location: San Jose City, Philippines
Device: Galaxy Tab S w/Bookari Premium
|
I did not change anything in Preferences->Tweaks. Had I done so I would have mentioned it. The only changes here are:
1. installed a new OS version. 2. Installed a new calibre from your web page the recommended way. No settings were changed at all. I did just now check in Preferences->Tweaks after reading your reply to see what it is set to, and found it still set to the default: server_listen_on = '0.0.0.0' so my inability to connect to localhost is not due to that setting, it has to be something else pecular to the OS upgrade. |
12-11-2016, 08:36 AM | #4 |
Grand Sorcerer
Posts: 12,160
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Does running /use/bin/calibre-server set items like LD_PRELOAD?
|
12-11-2016, 02:43 PM | #5 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
/usr/bin/calibre-server is just a symlink to /opt/calibre/calibre-server on a binary install.
|
Advert | |
|
Tags |
calibre-server, libreadline.so.6 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre 1.20 After updating, sorting won't work | Buckshot2 | Library Management | 2 | 01-26-2014 03:09 PM |
Cannot Get Calibre Content Server to work | deamon_knight | Calibre | 4 | 02-10-2013 04:37 PM |
Updated Calibre...now it won't work. | Bookworm1487 | Conversion | 1 | 06-05-2012 12:29 AM |
Calibre server won't start! | Moketa | Calibre | 6 | 05-24-2012 07:31 PM |
Calibre web server on MAC I cant get to work.. any help appreciated. | stustaff | Calibre | 5 | 01-06-2010 06:05 PM |