We installed STAF 3.34 and failed to start up STAF under SLES10.
Input this command ./etc/init.d/start-staf.sh and check this file /tmp/start-staf.out, it will show this message below.
Error on INTERFACE definition, interface tcp library STAFTCP
Error creating interface, RC: 47, Reason: STAFConnectionProviderConstruct: Could not determine logical/physical identifier.Error code: 22 Reason: Error getting hostent structure for host name: fileserver, gethostbyname() RC=2
Error reading config file
If we comment out this line "interface tcp library STAFTCP option" in STAF.cfg, we were able to start up the STAF.
Check this file, it will show this message below.
Machine : local
Machine nickname : database0
Startup time : 20100202-09:54:10
STAFProc version 3.3.4.1 initialized
However, even though the STAF was started up by this way, we still caludn't ping out to another server via STAF.
Input command "staf database0 ping ping", it willl show this message below.
Error submitting request, RC: 16
Additional info
--------------------------------------------------------------------------------
STAFConnectionProviderConnect: Timed out connecting to endpoint: select timeout: 22, Endpoint: tcp://database0
If you uncomment the line, and then restart STAFProc manually (i.e. after the system finished booting)), does the same error occur?
In the STAF.cfg file, are you configuring both the "tcp" and "ssl" interfaces?
What are the contents of /etc/hosts? Is there an entry for the machine's IP address and hostname? Since the STAF output is showing "Machine: local" (it should show the machine hostname), there appears to be a problem with the network configuration on the machine.
Assuming the problem has been resolved since we've received no response.