KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

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

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
rpaden



Joined: 23 Dec 2005
Posts: 15

PostPosted: Mon Mar 26, 2007 5:43 pm    Post subject: recieving Win32 Error. Code: 5. while HM running as a servi Reply with quote

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
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Mon Mar 26, 2007 6:00 pm    Post subject: Reply with quote

Windows error code 5 means "Access is denied". Have you specified admin account on Service page in the Options dialog?

Quote:
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
Back to top
View user's profile Send private message Visit poster's website
rpaden



Joined: 23 Dec 2005
Posts: 15

PostPosted: Tue Mar 27, 2007 7:36 am    Post subject: Reply with quote

yes that is correct
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Tue Mar 27, 2007 8:01 am    Post subject: Reply with quote

"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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
rpaden



Joined: 23 Dec 2005
Posts: 15

PostPosted: Tue Mar 27, 2007 1:53 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Tue Mar 27, 2007 2:35 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Mar 27, 2007 2:59 pm    Post subject: Reply with quote

Quote:
The security log does not show any activity for host monitor

May be appropriate audit policy is not enabled?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
rpaden



Joined: 23 Dec 2005
Posts: 15

PostPosted: Tue Mar 27, 2007 3:02 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
rpaden



Joined: 23 Dec 2005
Posts: 15

PostPosted: Tue Mar 27, 2007 3:04 pm    Post subject: Reply with quote

KS-Soft wrote:
Quote:
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
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Mar 27, 2007 3:13 pm    Post subject: Reply with quote

- Audit account logon events
- Audit login events

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
rpaden



Joined: 23 Dec 2005
Posts: 15

PostPosted: Tue Mar 27, 2007 3:15 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Mar 27, 2007 3:25 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index