Řešení problémů
V případě jakýchkoliv problémů s instalací Mervis DB vždy nejprve zkontrolujte logovací soubor.
Níže uvádíme několik příkladů chybových hlášení včetně popisu možných příčin a návrhu řešení.
Chybná cesta k datům
RcWareDb Critical: 0 : RcWare DB server cannot be started: System.UnauthorizedAccessException: Cannot write files of InfrastructureDataPath ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'x:\some\path\.___rcwdbtstfile_delete'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at ESG.Db.Server.Engine.ServerImplementation.CheckDirForWriteAccess(String path, String pathConfigName) --- End of inner exception stack trace --- at ESG.Db.Server.Engine.ServerImplementation.CheckDirForWriteAccess(String path, String pathConfigName) at ESG.Db.Server.Engine.ServerImplementation.InitAndCheckFileSystem() at ESG.Db.Server.Engine.ServerImplementation..ctor(String instanceName, Boolean configFileSpecified) at ESG.Db.Server.Host.Program.RunAsConsoleHost() DateTime=2017-09-26T07:05:11.1836390Z
Možná příčina: Chybně nastavená nebo neexistující složka ve vlastnosti `InfrastructureDataPath` v konfiguračním souboru. Server se pokusil vytvořit testovací soubor, ale složka neexistuje nebo k ní nemá oprávnění pro zápis.
Řešení:
- Zkontrolujte, zda cesta ve vlastnosti `InfrastructureDataPath` opravdu existuje.
- Ujistěte se, že uživatel (služba), pod kterým běží Mervis DB, má právo zapisovat do této složky.
- Pokud adresář neexistuje, vytvořte ho ručně nebo upravte konfiguraci tak, aby ukazovala na správnou cestu.