You are not logged in.
i update mormot and recompile my background service and he broken - not work. I rollback to old mormot folder and service work fine, again change folder to new mormot and broken.
i run sample 10 - Background Http service and he broken too///
log on /install:
20140905 15080316 trace mORMotHttpServerService="ssStopped"
20140905 15080316 info Controling mORMotHttpServerService with command "/install"
20140905 15080316 OSERR CreateService("mORMotHttpServerService","mORMot Http Server Service") "Указанная служба уже существует" (1073) stack trace API 00528B12 005A77BA 005A7DB6 006345A7 00639D3E 7C817077
20140905 15080316 trace Quitting command line
20140905 15080316 trace mORMotHttpServerService="ssStopped"
log on /start
20140905 15080437 trace mORMotHttpServerService="ssStopped"
20140905 15080437 info Controling mORMotHttpServerService with command "/start"
20140905 15080443 OSERR TServiceController(00C84F90) Start "Служба не ответила на запрос своевременно" (1053) stack trace API 00528C02 005A7C92 005A7E56 006345A7 00639D3E 7C817077
20140905 15080443 trace Quitting command line
20140905 15080443 trace mORMotHttpServerService="ssStopped"
Last edited by proto (2014-09-05 11:35:15)
Offline
Seems the same as http://synopse.info/forum/viewtopic.php?id=1868
Could you please create an issue ticket, linking to both forum threads?
Offline
Only a note from me:
I use mORMot as service with the newest version and it works well.
I start the service on cmd with:
net start/stop XXX
I have XE6 upd 1.
Offline
hm, very strange.
rewrite server with 10 - Background Http service and try use xxx /install and danielkuettner command - it works!
thanks for advise danielkuettner, but i dont know why new version broken /start command, may be not execute procedure TSQLite3HttpService.DoStart(Sender: TService)?
Offline
Offline
This is in fact a limitation of the service implementation in Windows: you can not start a service from the same executable which implements it.
We have therefore added httpServiceSetup so that HttpService sample would be managed (i.e. install/start/stop/uninstall) in a separated sample.
See the ticket and http://synopse.info/fossil/info/d6d4c3283b
Offline