03-14-2011, 01:51 PM | #1 |
Member
Posts: 12
Karma: 10
Join Date: Mar 2011
Device: Nook Color
|
Running Calibre content server as a service
After much searching on here and other places, I found that most users are just setting up a scheduled task to run at startup. I was looking for a bit better solution that is actually running as a service. I tried the Microsoft solution (instsrv), but was never able to get it to start. Finally came across an open source solution that actually worked. It is called ServiceEx. It allows one to run just about any program as a service. Configuration is achieved via an ini file. No gui, totally command line. The one complaint I would have about it is if you make changes, it has you uninstall and reinstall the service before any changes to the ini are recognized. With a little knowledge of the registry, you should be able to make changes without having to go through all that. All in all, it solved my problem and it is no longer necessary to have the machine logged in for the web server to work.
If you're interested, it can be found here: http://www.serviceex.com If you have questions, I will do my best to answer them, but take it easy on me, I just signed up for this forum today. LOL!!!! |
03-14-2011, 11:09 PM | #2 |
Member
Posts: 12
Karma: 10
Join Date: Mar 2011
Device: Nook Color
|
Wow...I figured there would be more interest in this topic. Looks like I was one of the few wanting to do this.
Not a hiccup so far. Works great. |
Advert | |
|
03-15-2011, 05:23 AM | #3 |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
I have Calibre running with the microsoft tools, and I don't have to have the server logged in at all times. I would have to look up how I did it (it's somewhere on the forum), but it works perfectly...
And you should give people a chance at reading your posts. No response within 24 hours doesn't mean nobody is interrested, but more likely that people are at work/bed/dinner/breakfast/lunch/walking/doing anything but reading the forums. |
03-15-2011, 05:51 AM | #4 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Also, you didn't post a question, so people are probably only going to answer if they want to thank you for the tip or of they have further questions.
|
03-15-2011, 03:26 PM | #5 |
Member
Posts: 12
Karma: 10
Join Date: Mar 2011
Device: Nook Color
|
Thanks guys.
I tried the MS tools, but kept getting a message saying it did not respond to a request to start. SO...I just moved on. Glad someone out there actually got it working with the native tools. Not a clue what I might have done wrong. Obviously, it's possible to get it to work. Running it as a service is the best way I've seen so far. It's seamless. By the way...um...Sweetpea (that's what I call my stepdaughter)...are you doing a scheduled task or actually running it as a service? |
Advert | |
|
03-16-2011, 07:06 PM | #6 |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2011
Device: KINDLE 3
|
Hi mathia,
Can you post the ini file please ? I can't do it run for me Thanks |
03-17-2011, 08:37 AM | #7 |
Member
Posts: 12
Karma: 10
Join Date: Mar 2011
Device: Nook Color
|
Sure...here are the settings I am using.
[ServiceEx] ServiceExeFullPath = "C:\Program Files\calibre2\calibre-server.exe" ; program arguments to be sent to executable options =-p 8081 --with-library "c:\calibre library" ; can program interact with desktop [true | false] (default: true) desktop = true ; start type (valid values: Auto Manual Disabled) (default: auto) Start=Auto ; start the service upon installation [true | false] (default: no) StartNow=false Please note, I am using a different port for mine. Let me know if I can be of further assistance. |
03-17-2011, 11:43 AM | #8 |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2011
Device: KINDLE 3
|
Thanks you very much
It works now! |
03-17-2011, 12:55 PM | #9 |
Member
Posts: 12
Karma: 10
Join Date: Mar 2011
Device: Nook Color
|
Excellent. Glad I could be of assistance. It's a great solution. I will probably experiment to see if I can get the instsrv method to work, but I am pretty happy with my current solution.
|
07-01-2011, 12:46 AM | #10 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jun 2011
Device: Asus Transformer
|
all i have to say is that was bloody awesome, super quick way of getting it done and now i dont need to have calibre open all the time.
now if only i could read books straight from the server instead of downloading them i would be set! |
07-01-2011, 01:17 AM | #11 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
|
07-01-2011, 10:40 AM | #12 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Jun 2011
Device: Asus Transformer
|
Quote:
what i meant to say was i want it to read from the server as in NOT download the ebook to the device. with something like 45k books in my calibre library i would prefer an option to be able to read the book from the server instead of have to download it to the device. that addon still downloads the book somewhere which is not what im after. sort of looking for a "Streaming" style like you can do with tvshows etc where it stays on the host PC. Last edited by rayuki; 07-01-2011 at 10:43 AM. |
|
07-01-2011, 10:48 AM | #13 | |
Grand Sorcerer
Posts: 12,251
Karma: 74007256
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Quote:
|
|
07-01-2011, 11:00 AM | #14 | |
Well trained by Cats
Posts: 29,945
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
If you have bandwidth: you could run VNC on your (GUI) Host and run http://www.realvnc.com/products/android/1.1/userguide/ VNC terminal on your honycomb device. Calibre viewer (or any other program) would be running on the 'server' |
|
07-01-2011, 11:05 AM | #15 | |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
The only way I could see it working is if there was some sort of server side process that could convert the book to HTML and then deliver up the HTML pages on demand. However this is not something I have seen any references to anyone developing such a capability. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A Howto: Running Calibre Content server on Windows Startup | sherman | Calibre | 26 | 02-17-2019 10:37 PM |
calibre content server only. | nesvarbu | Calibre | 5 | 02-18-2011 03:40 AM |
Calibre as a service in a linux server without QT4 | nadid | Calibre | 4 | 01-25-2011 12:00 AM |
Running Calibre on Terminal Server | JeffAlan66 | Calibre | 2 | 08-12-2010 02:00 PM |
Trouble running calibre-server | ould | Calibre | 0 | 04-16-2010 02:18 PM |