Siebel SQLs/Error Messages >  SBL-OSD-00230: Internal: gethostbyname_r ()failed with error. (%sysError)

SBL-OSD-00230: Internal: gethostbyname_r ()failed with error. (%sysError)

The above error message is usually reported in the master Siebel log file (<$Enterprise_Server>.<$Siebel_Server>.log) upon Siebel server start up. As the error message indicates, the Siebel server fails to start up or starts up briefly to only fail right after. There seems to be a problem with accessing this machine by its host name.

Cause

There is a problem with accessing the machine in question using its host name for the following possible reasons:

Either the host name being referred to is incorrect to begin with.

Or there seems to be a network issue preventing a connection to this machine/host.

Diagnostic Steps

Firstly verify if the hostname for the Siebel server being referred to is correct. The gateway server-backing file [siebns.dat] contains this information – look for the following entry in it (open it in a text editor and conduct a search)

/enterprises/<enterprise_name>/servers/<Siebel_server_name>/parameters/Host Value = "<host-name>"

If the host name is correct, most likely there are network connectivity issues that are preventing the machine from being accessed by its host name (possible DNS conversion issues are likely as well).

Solution

If the host name is incorrectly defined, users can correct it in two ways

From command line "srvrmgr"

change parameter host=<new_host_name> for server <Siebel_server_name>
From server administration screens [UI]

Navigate to Site Map > Server Administration > Servers. Select the Server Parameters tab in the bottom applet, and search for the "Host Name" parameter and re-enter the new/correct host name.