Hello all
I have a perl script which work fine has i am connected on my HM server
When i use RCC from my workstation , for the same test i recieve this result : Error: unable to start script
my script is on d:\script\ directory on my server.
I can imagine that RCC try to execute from the D: partition of my workstation... and doesn't find my script... neither i don't have installed activeperl on my workstation ...
My questions :
1) what is the best practice working with scripts and RCC? (having either perl and same drive with my scripts in local) ?
2) Even if i see thi error in rcc, is the test running properly in production mode (silently HM as service)
Thank you for your feedback
Best Regards
Philippe
Error: unable to start script from RCC
Not sure I understand...
RCC does not perform tests at all, it just shows test results. Test can be performed by HostMonitor or RMA.
So I am not sure where exactly do you see this error
May be you are trying to create script for Shell Script test method and you are using "Lets try" debugging tool provided by Script Manager?
Also, please always tell us what version of the software do you use.
Regards
Alex
RCC does not perform tests at all, it just shows test results. Test can be performed by HostMonitor or RMA.
So I am not sure where exactly do you see this error

May be you are trying to create script for Shell Script test method and you are using "Lets try" debugging tool provided by Script Manager?
Also, please always tell us what version of the software do you use.
Regards
Alex
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
So, the script works when HostMonitor is started in application mode, but does not work when HostMonitor is started in service mode, right?
What account do you use to start HostMonitor service? We recommend to start in under admins account. Anyway, I would suggest you to grant the following privileges to the user, HostMonitor is running under:
1. Log on as service
2. Replace a process level token
3. Take ownership of files or other objects
Foregoing privileges can be granted using "Local Security Policy" applet (Start -> Programs -> "Administrative Tools" -> "Local Security Policy" applet -> "Local Policies" -> "User Rights Assignment").
Regards,
Max
What account do you use to start HostMonitor service? We recommend to start in under admins account. Anyway, I would suggest you to grant the following privileges to the user, HostMonitor is running under:
1. Log on as service
2. Replace a process level token
3. Take ownership of files or other objects
Foregoing privileges can be granted using "Local Security Policy" applet (Start -> Programs -> "Administrative Tools" -> "Local Security Policy" applet -> "Local Policies" -> "User Rights Assignment").
Regards,
Max
Hello Max
I have to say , i don't know if it does not run in service mode but if the erro message said that you are right !!!
my user account is a domain admin
I have change the following because :
my service was running under my account... i put it again as local system with interaction with the deskto
Now from rcc on my workstation the scripts are running well !!!
thank you...
But...
All my wmi tests show access denied...
I have to say , i don't know if it does not run in service mode but if the erro message said that you are right !!!
my user account is a domain admin
I have change the following because :
my service was running under my account... i put it again as local system with interaction with the deskto
Now from rcc on my workstation the scripts are running well !!!
thank you...
But...
All my wmi tests show access denied...
Does "RCC reply field" mean "Reply field of the test item"?I see in RCC reply field : " error: unable to start script"
when i log in rtc on my server
stopping service
launching Hm
everything is ok
Then this problem has nothing to do with RCC. There is some permission issue. Do you use the same account for HostMonitor in service mode and HostMonitor started as application?
Sure, it does not work. Its pretty bad idea to use local system account that does not have any rights to use network functions. Many other tests will not work as well.my service was running under my account... i put it again as local system with interaction with the deskto
All my wmi tests show access denied...
Please use account with admin rights and follow instructions published by Max in previous answer.
Regards
Alex
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Wait a bit. Do you mean, you've changed user credentials using standard Windows "Services" applet? Ok, now leave it as it is: Log on as "Local system account" with marked "Allow service to interact with desktop" option. Now you may use HostMonitor menu "Options" -> "Service" tab in order to specify certain user credentials (Domain Admin is Ok). Quote from the manual: http://www.ks-soft.net/hostmon.eng/mfra ... tm#Servicepgobat wrote:my service was running under my account... i put it again as local system with interaction with the deskto
===========================
Note #1: When HostMonitor starts as a service, it uses the system account (as all interactive services). But this account may not have all the necessary permissions, so some tests will not work correctly (UNC test, "disk free space" test for shared drives, "CPU Usage" test for remote machines, etc). If you need these tests, you will need to assign a special user account on the Service page in the Options dialog. In this case HostMonitor will impersonate the security context of the user. Do not change the account using the system utility "Services". If you do so, HostMonitor may be unable to interact with the desktop.
===========================
Glad to hear that.pgobat wrote:Now from rcc on my workstation the scripts are running well !!!

Please, specify admin account into "Options" -> "Service" tab. Everything should go smoothly. Also you may use "Connection Manager" to specify account for different remote servers: http://www.ks-soft.net/hostmon.eng/mfra ... htm#conmgrpgobat wrote:All my wmi tests show access denied...
Regards,
Max