Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 03-14-2011, 01:51 PM   #1
mathia
Member
mathia began at the beginning.
 
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!!!!
mathia is offline   Reply With Quote
Old 03-14-2011, 11:09 PM   #2
mathia
Member
mathia began at the beginning.
 
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.
mathia is offline   Reply With Quote
Advert
Old 03-15-2011, 05:23 AM   #3
Sweetpea
Grand Sorcerer
Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.
 
Sweetpea's Avatar
 
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.
Sweetpea is offline   Reply With Quote
Old 03-15-2011, 05:51 AM   #4
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
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.
Manichean is offline   Reply With Quote
Old 03-15-2011, 03:26 PM   #5
mathia
Member
mathia began at the beginning.
 
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?
mathia is offline   Reply With Quote
Advert
Old 03-16-2011, 07:06 PM   #6
gabglus
Junior Member
gabglus began at the beginning.
 
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
gabglus is offline   Reply With Quote
Old 03-17-2011, 08:37 AM   #7
mathia
Member
mathia began at the beginning.
 
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.
mathia is offline   Reply With Quote
Old 03-17-2011, 11:43 AM   #8
gabglus
Junior Member
gabglus began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2011
Device: KINDLE 3
Thanks you very much

It works now!
gabglus is offline   Reply With Quote
Old 03-17-2011, 12:55 PM   #9
mathia
Member
mathia began at the beginning.
 
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.
mathia is offline   Reply With Quote
Old 07-01-2011, 12:46 AM   #10
rayuki
Junior Member
rayuki began at the beginning.
 
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!
rayuki is offline   Reply With Quote
Old 07-01-2011, 01:17 AM   #11
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by rayuki View Post
now if only i could read books straight from the server instead of downloading them i would be set!
If you use FireFox there is the EPUBReader add on that supports this.
itimpi is offline   Reply With Quote
Old 07-01-2011, 10:40 AM   #12
rayuki
Junior Member
rayuki began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2011
Device: Asus Transformer
Quote:
Originally Posted by itimpi View Post
If you use FireFox there is the EPUBReader add on that supports this.
i use an asus transformer and im not sure if it would work for that.

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.
rayuki is offline   Reply With Quote
Old 07-01-2011, 10:48 AM   #13
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,251
Karma: 74007256
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Quote:
Originally Posted by rayuki View Post
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.
Convert them all to HTML and just read HTML pages :P
PeterT is offline   Reply With Quote
Old 07-01-2011, 11:00 AM   #14
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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:
Originally Posted by rayuki View Post
i use an asus transformer and im not sure if it would work for that.

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.
Any web page (EPUB,PDF...) you see is Downloaded (or you would not see it )
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'
theducks is offline   Reply With Quote
Old 07-01-2011, 11:05 AM   #15
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by rayuki View Post
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.
The point is that ePub is not a serial format, so it is not really amenable to 'streaming'.

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.
itimpi is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 04:38 AM.


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