FAQ  
 

How to solve permission errors for remote logging?

Created 2009-01-20 by Michael Meckelein

WinSyslog, EventReporter and MonitorWare Agent runs as a windows service. By default it runs with local system account permission. For local operations this is sufficient in the most cases. However, if you want to log to a remote drive for example, you have to grant sufficient privileges.

Failed to created subdirectories - Error: 3 or Could not create or open File - Error: 5. are typical error messages if the service is configured to log to a remote drive. The service's local system account has no write permission nor any other privileges on that remote drive. In order to make remote logging possible, you have to change the log on account of the service.

Important: You have to use an UNC path (like \\severname\sharename\path) in your 'Write to File Action' in order to log to remote. Map a network drive does not work, since the service does start in a different session without loading mapped drives.

Step 1 - Open Windows Services dialog

In Windows go to Start -> Control Panel -> Administrative Tools -> Services

Services Administration

Step 2 - Select the service properties

Right click on the service you want to configure (Adiscon EvntSLog = EventReporter, AdisconWINSyslog or AdisconMonitorWareAgent) then select 'Properties' from the menu.

Step 3 - Change the Log On permission

Switch to the 'Log On' tab and change the 'Log on as:' type to 'This account'. Now type in a user with sufficient privileges. Be sure for admit permissions for local recourses as well as for the remote one. To be on the safe side, use the Domainadmin account here.

Hint:

Remember how windows authendication works in order to get the remote logging working.
  • Domain only environment
    Using a domain user with sufficient privileges.
  • Two (or more) domains
    Be sure that the same user (password have to be identical) exist in all domains. Grant privileges on domain basis as required.
  • Domain and non-domain
    Be sure that the same same user (password have to be identical) exist in the domain as well as on the non-domain computer. Grant privileges on domain and on the non-domain as required.
  • None-domain e.g. workgroup
    Be sure that the same user (password have to be identical) exist on all computer in question. Grant privileges on computer basis as required.
You can verify if the user account works by connecting to the remote system interactively. For further details on windows permission, please take a look into Windows Administration manual.

Change permission

Step 4 - Restart service

Apply the changes and do not forget to restart the service.

MonitorWare
 Home
 The Products
MonitorWare Products
Product Comparison
Which one to Purchase?
Order and Pricing
Upgrade Insurance Info
News Releases
Version History
MonitorWare Tools
 Event Repository
 Download
 Reference library
General Information
Step-by-step guides
 - All
 - Installation and Configuration
 - Services related
 - Actions related
 - Central Monitoring
Common Uses
Syslog configuration
Syslog Log Samples
Security Reference
 Help
Support
Manual
FAQ
 - All
 - General questions
 - Configurations related
 - Monitorware Agent
 - Monitorware Console
Articles
Seminars Online
 - All
 - General
 - MonitorWare Console
 - MonitorWare Agent
 - WinSyslog related
 - EventReporter
 Order & pricing
Order now
Product Comparison
Pricing Information
Upgrade Insurance Info
Local Reseller
 Contact Us
 Search
 
 



Printer Version Send this page to a friend

Copyright © 1988-2005 Adiscon GmbH All rights reserved.
Contact us via Secure Web Response | Privacy Policy
Topic Links: syslog | Free Weblinks Directory