Hi,

in the meantime I found the solution to my problem. The 'Server Status' > 
'System Status' page seems to use 
oshi.software.os.windows.WindowsOperatingSystem to access system performance 
information. This requires the user, the GeoServer service is running under, to 
be in the local 'Performance Monitor Users' group.

After adding the service user to this group the error is no longer written to 
the log file.

Regards,
Daniel

From: Calliess Daniel Ing.
Sent: Thursday, October 8, 2020 3:56 PM
To: 'geoserver-users@lists.sourceforge.net' 
<geoserver-users@lists.sourceforge.net>
Subject: [Geoserver-users] Error 5 reading HKEY_PERFORMANCE_DATA from the 
registry

Hi,

I updated my GeoServer installation from version 2.15.1 to 2.18.0 using a self 
made Windows installer as described here: 
https://docs.geoserver.org/latest/en/developer/win-installer.html
While everything worked fine in the process and GeoServer is running stable, 
now every second an error message is written to the geoserver.log file:

2020-10-08 03:25:17,223 ERROR [windows.WindowsOperatingSystem] - Error 5 
reading HKEY_PERFORMANCE_DATA from the registry.

It seams that Error 5 means 'Access denied' when accessing the windows 
registry. Unfortunately I don't see a chance to check or set permissions on 
this registry key because it's a virtual key that is not listed in the registry 
editor. When I switch the GeoServer service user from the restricted user it is 
normally running under to LOCAL SYSTEM the error messages are no longer written 
to the log.

Does anyone have an idea why these errors happen and how to avoid them (aside 
from running the service as SYSTEM)?

Regards
Daniel
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to