The server itself runs fine with
pg_ctl -D <datadir> start
But the service stops immediately (“…Some services stop automatically if they are not in use by other services or programs”)
Access rights look OK, local system has full access to <datadir> and it’s parent directories.
Workaround is easy (manual start), but a service would be nice.
Tests with manual service starts (pg_ctl register) did not help.
I’m using PostgreSQL 9.4 and don’t want some fresh or newer installaton since “it’s just the windows service” and my version corresponds to installations on production servers.
No other changes.
- functioning postgresql service
- windows update 1709
- service always stopping immediately
Nothing in logs, and pgevent.dll cannot be registered, neither with system32/regsvr32 nor with syswow64/regsvr32 (dllregisterserver entry point not found)
Any hints where I can continue searching for the underlying problem?
Note: I’m a domain user with admin privileges.