Bitsum Community Forum

General Category => Process Lasso => Topic started by: Ruhe on February 07, 2009, 06:20:58 AM

Title: Service start/stop via tray
Post by: Ruhe on February 07, 2009, 06:20:58 AM
Hi all,

is there a reason why the tray function 'start/stop core engine' does not work if the core engine is running as service ("Run as user" mode)? Using this function does not start/stop the service.
Title: Re: Service start/stop via tray
Post by: Jeremy Collake on February 07, 2009, 04:37:57 PM
Hmm, I just did some quick tests here, in both Vista and XP, and it appeared to work fine to start/stop the service. I still need to test in Vista /w UAC, as perhaps the problem you see lies there.

Are you using the x32 or x64 build? And which operating system are you using?
Title: Re: Service start/stop via tray
Post by: Ruhe on February 07, 2009, 04:45:15 PM
I will retest it tomorrow too.

You can find the info you requested in my signature  ;)
Process Lasso Pro v3.46.2 [x32], Vista Business, SP 1, 32bit, enabled UAC
Title: Re: Service start/stop via tray
Post by: Ruhe on February 08, 2009, 05:01:15 AM
Some further notes:

After a new installation of PL as system service (as already mentioned "Run as user" enabled) the service is installed but not running, start type: auto

The tray icon offers the option "Start core engine", whereas the the Main menu of the GUI offers "Stop core engine" ???

Using the tray icon ("Start/stop core engine"):
nothing happens, the service is still not running, and, the tray icon text still says "Start core engine".

Using the GUI Main menu ("Start/stop core engine"):
nothing happens, the service is still not running, and, the text still says "Stop core engine".
Title: Re: Service start/stop via tray
Post by: Jeremy Collake on February 08, 2009, 05:16:54 PM
I've now reproduced this errata, thank you for the additional information. I apologize for not getting to the Vista /w UAC testing earlier.

The problem is that Process Lasso doesn't have sufficient rights to start or stop the service when running in 'normal rights' mode with UAC enabled.

I've verified that when you select 'HIGHEST RIGHTS' during the install process (last dialog), the service start/stop will work. For users running the governor as a service, this is usually the desired setting anyway. In this mode, each instance of the governor and GUI will manage the processes of all running users.

Does this solution work for you? I am going change the installer so that this option is the default if the user selects running the core engine as a service.

Meanwhile, I will fix the discrepency between the two menus.

Thanks for report this
Title: Re: Service start/stop via tray
Post by: Ruhe on February 09, 2009, 07:44:14 AM
Thanks for your response and explanation.

QuoteFor users running the governor as a service, this is usually the desired setting anyway.

I didn't know this fact. Did you mention it in the documentation?

QuoteI am going change the installer so that this option is the default if the user selects running the core engine as a service.

I've noticed your change regarding this in the release notes of the new beta.
Title: Re: Service start/stop via tray
Post by: Jeremy Collake on February 09, 2009, 06:50:49 PM
I do need to mention that in the documentation. In fact, there are A LOT of things I need to mention in the documentation ;o. I plan to start a major overhaul of the docs soon.

Anyway, I hope the new beta solves this problem. I apologize for not realizing this bug earlier. If you notice any other problems, just let me know.

Thanks.