i’m trying to setup syncthing-windows-amd64-v1.4.2 on a fresh installation of MS Windows Server 2016.
I’ve put the synchting folder under “C:\Program Files” and when i launch synchting.exe, i receive the follow error:
Same error with the 32 bit version. Also older versions release same error.
Obviously the winmm.dll file (mentioned in the error message) is present and isn’t damaged.
I’ve tried also to recovery any possible files damaged of Windows Server 2016 installation by executing “sfc /scannow”, but all the system files are ok (and, thus, the problem persist).
Any suggestions are appreciated.
@AudriusButkevicius: I’ve already executed “sfc /scannow”, but with no success.
And, yes, winmm.dll is in it’s correct place (C:\Windows\System32).
No, i can’t compile a program, at this moment.
@terry, just now i’ve extracted it on a Desktop folder of a new user (without a lot of fantasy, user name “user”) in Administrators group and the error is the same.
Has the server gone live? if not i would blow it away and start again. i once configured a server from scratch and it just wasn’t quite right, so I wiped and reinstalled and the issue wasn’t there after.
if you are getting errors, there is something wrong with the installation. was it an in-place upgrade?
@terry, it’s a fresh install, all work properly, no errors to report. The server is the DC of local test domain. If possible, for me is more convenient solve the error instead to proceed to an installation from scratch
How about a test VM server install and drop Syncthing on there. If you get the same error then you can trace the fault without causing too much ‘live server’ fiddling, but if St runs without issue, then it comes back to your server installation.
On a side note, I would not install St on a DC. If St crashes (and it does for me occasionally) then only a reboot will resolve it. Not good if you are on a DC. I have not yet successfully killed a crashed St, always get access is denied messages. Plus St can be both IO and ram intensive on occasions.
Ok, i think i’ve found the problem: the system’s hard disks probably are damaged or the hardware RAID controller have a problem.
The OS was running in a couple of hard disk that compose one volume and configured in RAID1. I’ve find a lot of failed installation attempt of update packages, as well as syncthing that doesn’t work.
Because of this, i’ve tried to reinstall the OS, but the setup process die with a files corruption errors or with a missed files errors.
Thus, i’ve dismantled the RAID1 volume and i installed an SSD drive. Now all work properly…
As @terry stated above, please check your cables first before blaming the controller. In the past, I encountered a lot of issues caused by faulty SAS cables, and the controllers were mostly fine. I did have one instance, where the controller itself died, but that was an exception.