recieving Win32 Error. Code: 5. while HM running as a servi

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
rpaden
Posts: 15
Joined: Fri Dec 23, 2005 3:05 pm

recieving Win32 Error. Code: 5. while HM running as a servi

Post by rpaden »

I am recieving the win32 error code 5 error message while trying to monitor a service on a w2k3 r2 server while HM is running as a service. I have the test logging in as a domain administrator, just like the other services i monitor on other servers. the other servers are w2k sp4.
when host monitor is not running as service this will not happen. I am running 5.92
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Windows error code 5 means "Access is denied". Have you specified admin account on Service page in the Options dialog?
I have the test logging in as a domain administrator, just like the other services i monitor on other servers.
Do you mean only one Windows 2003 server returns such error while other Windows 2000 servers located in the SAME DOMAIN works fine?

Regards
Alex
rpaden
Posts: 15
Joined: Fri Dec 23, 2005 3:05 pm

Post by rpaden »

yes that is correct
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

"Access is denied" error appears when HostMonitor's system cannot log in the the remote machine using necessary account. Have you specified an account into "Connect as" field or do you use "Connection Manager?"
Could you check the "Security Log" using Event Viewer applet on Win2003 machine to verify what account HostMonitor is using to connect to the server?

Regards,
Max
rpaden
Posts: 15
Joined: Fri Dec 23, 2005 3:05 pm

Post by rpaden »

KS-Soft Europe wrote:"Access is denied" error appears when HostMonitor's system cannot log in the the remote machine using necessary account. Have you specified an account into "Connect as" field or do you use "Connection Manager?"
I am using the Connect as field and am entering my administrator account information
KS-Soft Europe wrote:Could you check the "Security Log" using Event Viewer applet on Win2003 machine to verify what account HostMonitor is using to connect to the server?

Regards,
Max
The security log does not show any activity for host monitor and neither doess the system or application logs
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

It might be a firewall issue. Please ensure the firewall on Win2003 machine allows requests from HostMonitor (especially TCP ports 139,445 and UDP ports 137,138)

Regards,
Max
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

The security log does not show any activity for host monitor
May be appropriate audit policy is not enabled?

Regards
Alex
rpaden
Posts: 15
Joined: Fri Dec 23, 2005 3:05 pm

Post by rpaden »

KS-Soft Europe wrote:It might be a firewall issue. Please ensure the firewall on Win2003 machine allows requests from HostMonitor (especially TCP ports 139,445 and UDP ports 137,138)

Regards,
Max
I have the firewall turned off
rpaden
Posts: 15
Joined: Fri Dec 23, 2005 3:05 pm

Post by rpaden »

KS-Soft wrote:
The security log does not show any activity for host monitor
May be appropriate audit policy is not enabled?

Regards
Alex
What policy would you suggest
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

- Audit account logon events
- Audit login events

Regards
Alex
rpaden
Posts: 15
Joined: Fri Dec 23, 2005 3:05 pm

Post by rpaden »

KS-Soft wrote:- Audit account logon events
- Audit login events

Regards
Alex
they are both set to failure. so that must mean that there has not been a login failure
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You may set "Success and Failure" to be sure system is receiving requests.
BTW: If such problem appears on single system, you may install RMA as workaround for any Windows problem
http://www.ks-soft.net/hostmon.eng/rma-win/index.htm

Regards
Alex
Post Reply