How does RVD detect the IP address during the startup

How does RVD detect the IP address during the startup

book

Article ID: KB0073642

calendar_today

Updated On:

Products Versions
TIBCO Rendezvous ALL

Description

There is below error in the RVD startup log file, would like to know how RV detects the IP address.

=====
IP configuration error: The hostname IP address does not match any interface in the system.
=====

Environment

Not specific

Resolution

When rvd is stated, it call ioctl(sock, SIOCGIFCONF, &ifc) to poll list of the interfaces. Then, it checks The hostname IP address against 
the ipaddress of the network interface in the interface list. If the hostname ip address is not in the interface list, it will log the error

====== 
derror("IP configuration error: The hostname IP address " "does not match any interface in the system.");
======

The interface list is polled on rvd is started, and will not be updated.

If you see the below error in RVD log file, please restart RVD until you won't see the error.

========
IP configuration error: The hostname IP address does not match any interface in the system.
========

Issue/Introduction

How does RVD detect the IP address during the startup

Additional Information

http://supportapps.tibco.com/case/01517372