LAN IP ADDRESS

Материал из Фабиус wiki
Версия от 08:18, 18 сентября 2023; Hisava (обсуждение | вклад)

(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

LAN_IP_ADDRESS - это параметр ADS

Дата Код Ошибка Ссылка
05.02.2010 6097 Bad IP address specified in the connection path or in the ADS.INI file http://sftserv.ru/chronology/SYS/994.htm

RUS

При наличии на серверном компьютере нескольких сетевых карт, возможно получение ошибки

6097 ("Bad IP address specified in the connection path or in the ADS.INI file.")

при запуске Фабиуса с рабочих станций (непосредственно с сервера Фабиус запускается без проблем). При этом параметры LAN_IP и LAN_PORT в ADS.INI установлены правильно!

Решение этой проблемы

В реестре серверного компьютера в ветке

\\HKLM\System\CurrentControlSet\Services\Advantage\Configuration\

добавить строковый параметр

LAN_IP_ADDRESS

со значением IP-адреса, совпадающего с IP адресом из параметра LAN_IP файла ADS.INI

После перезапуска сервера ADS, проблема с ошибкой должна исчезнуть

ENG

It is possible to force Advantage Database Server to use a specific IP address by specifying the LAN_IP_ADDRESS server configuration parameter. Please search the Advantage help file for LAN_IP_ADDRESS for details. For NetWare, add the setting to the ADS.CFG file. For Windows NT/2000/2003, create the setting in the registry under \\HKLM\System\CurrentControlSet\Services\Advantage\Configuration\LAN_IP_ADDRESS. For Linux, add the setting to the ads.conf file.

Default = All IP addresses on the machine

The Advantage Database Server communicates with the Advantage JDBC client via TCP/IP and can communicate with Advantage Windows and Linux clients via UDP/IP. By default, for communication to Advantage applications that have connected to the Advantage Database Server via a "remote" connection (a.k.a. an ADS_REMOTE_SERVER connection), the Advantage Database Server will bind to all available IP addresses on the server and it will bind to port 6262 for each available IP address. The IP address and the IP port in which the Advantage Database Server uses can be configured to specific values, however. See IP Port for configuring the IP port, and use this LAN IP Address setting for configuring a specific IP address.

When an IP address is not specified, all IP addresses will be used. In most cases, modifying this LAN IP Address setting is not needed since machines only have one IP address. On multihomed machines (machines with more than one IP address), this setting can be used to force the Advantage Database Server to use a specific address. For NetWare 6 clustering support, the IP address needs to be set the address of the Cluster Resource Object. For Microsoft Windows clustering support, the IP address needs to be set to the Cluster IP address.

Note that if an invalid address is specified, the Advantage Database Server will fail when binding to that address. This will cause the IP protocol to not be available for "remote" (a.k.a. an ADS_REMOTE_SERVER). An invalid address will cause a 10047 Winsock error to be logged in the Advantage error log when the Advantage Database Server is started. Also note that this setting should only be used with a static IP address.

Note See Use Clustering for the configuration value that must be specified when using clustering support with NetWare.

To set a specific IP address, perform one of the following where "xxx.xxx.xxx.xxx" is replaced by the actual IP address.

For NetWare:

Add the following line in the Advantage Database Server configuration file (ADS.CFG):

LAN_IP_ADDRESS=xxx.xxx.xxx.xxx

For Windows:

Add the following string value using the Registry Editor (REGEDIT.EXE) into the registry:

\\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Advantage\Configuration\LAN_IP_ADDRESS=xxx.xxx.xxx.xxx

For Linux:

Add the following line in the Advantage Database Server configuration file (ads.conf):

LAN_IP_ADDRESS=xxx.xxx.xxx.xxx

Смотрите также

ads.ini