Data directory "C:#5CNetXMS#5Cvar" does not exist or is inaccessible

Started by pcmaster, January 10, 2013, 02:59:35 PM

Previous topic - Next topic

pcmaster

Hi, Viktor!

I'm try to install new 1.2.5 x64 version on Windows Server 2003 Standard x64 Rus (PostgreSQL 9.2.2-1 as database).
All installed OK, but service "NetXMS Core" failed to start with error message:

QuoteТип события:   Ошибка
Источник события:   NetXMSCore
Категория события:   Отсутствует
Код события:   56
Дата:      10.01.2013
Время:      16:37:28
Пользователь:      Н/Д
Компьютер:   NETXMSVMW
Описание:
Data directory "C:#5CNetXMS#5Cvar" does not exist or is inaccessible

On the same system previous 1.2.4 version installed and started successfuly.

---
WBR, Vladimir.

Victor Kirhenshtein

Hi!

Try to run command


nxdbmgr set DataDirectory C:\NetXMS\var


from command line in C:\NetXMS\bin. It's a bug in server configurator.

Best regards,
Victor

pcmaster

I tried:

QuoteC:\NetXMS\bin>nxdbmgr set DataDirectory C:\NetXMS\var
NetXMS Database Manager Version 1.2.5


C:\NetXMS\bin>

Result the same...  :(

At the same moment checking of a database takes place without mistakes:

QuoteC:\NetXMS\bin>nxdbmgr.exe check
NetXMS Database Manager Version 1.2.5

Checking database (excluding collected data):
* Checking zone objects...                                            [PASSED]
* Checking node objects...                                            [PASSED]
* Checking interface objects...                                       [PASSED]
* Checking network service objects...                                 [PASSED]
* Checking cluster objects...                                         [PASSED]
* Checking template to node mapping...                                [PASSED]
* Checking object properties...                                       [PASSED]
* Checking event processing policy...                                 [PASSED]
Database doesn't contain any errors
Database check completed

C:\NetXMS\bin>

---
WBR, Vladimir.

Victor Kirhenshtein

Yes, nxdbmgr set broken as well :(

Try to add line

DataDirectory = C:\NetXMS\var

to netxmsd.conf.

I'll also put fixed installer on web site later today.

Best regards,
Victor

Victor Kirhenshtein

I replace WIndows installers on web site with updated version (file names was not changed). Try to uninstall existing version, clear/drop database, and install updated version.

Best regards,
Victor

pcmaster

I checked adding line "DataDirectory = C:\NetXMS\var" to file "netxmsd.conf" on installed version and installing new version Windows installers on clear system.
Both methods are worked.
Thank's!
---
WBR, Vladimir.