Unknown host machine name

Symptom

The following messages are displayed in the rs_init error log.

2006/06/13 10:34:17 Running task: check the SQL Server.
2006/06/13 10:34:18 Unable to connect to SQL Server
'ost_agate_9'. Please make sure that the SQL Server is
running, and the SA password is correct.
2006/06/13 10:34:18 Task failed: check the SQL Server.
Terminating configuration.
2006/06/13 10:34:18 Configuration failed.
2006/06/13 10:34:18 Exiting.

Explanation

rs_init cannot find the RSSD machine’s host name. Sometimes, directory services do not recognize the machine’s host name and, instead, may recognize a machine only by its Internet Protocol (IP) address.

Solution

Add an additional query line for the machine to the interfaces file and specify the host machine’s IP address instead of its name. For example, for the bss.bsslt.ch.corma.com host name substitute its IP address, 2.41.100.35, as follows:

query tcp ether bss.bsslt.ch.corma.com 31440 
query tcp ether 2.41.100.35 31440.

If you run rs_init again, the following messages may be displayed in the rs_init error log, but you can ignore them:

Could not obtain Hostname for Internet address ‘2.41.100.35’. 
Could not obtain Hostname for Internet address ‘2.41.100.41’. 
Could not obtain Hostname for Internet address ‘2.41.100.35’. 
Could not obtain Hostname for Internet address ‘2.41.100.41’. Running task
to check the RSSD Adaptive Server.