I have a curious problem that I can't quite figure out; I have 
installed STAF 3.3.3 (as far as I remember) on several servers, in the 
following I try to reach the one on fox. If I try from another machine:

# staf fox help help
Error registering with STAF, RC: 21

But netstat on fox says:

fox # netstat -a | grep -i 6550
tcp4       0      0  *.6550           *.*            LISTEN
fox # netstat -a | grep -i 6500
tcp4       0      0  *.6500           *.*            LISTEN

This is STAF.cfg on fox:

fox # cat /usr/local/staf/bin/STAF.cfg
# Turn on tracing of internal errors and deprecated options
trace enable tracepoints "error deprecated"

# Enable TCP/IP connections
interface ssl library STAFTCP option Secure=Yes option Port=6550
interface tcp library STAFTCP option Secure=No  option Port=6500

# Set default local trust
trust machine local://local level 5

# Add default service loader
serviceloader library STAFDSLS

And if I try the same command from fox itself:

fox # staf fox help help
Response
--------
HELP Service Help

REGISTER   SERVICE <Name> ERROR <Number> INFO <String> DESCRIPTION 
<String>

UNREGISTER SERVICE <Name> ERROR <Number>

[SERVICE <Name>] ERROR <Number>

LIST SERVICES | [SERVICE <Name>] ERRORS

HELP

And finally, I can connect to the port from another machine:

# telnet fox 6500
Trying 10.33.40.225...
Connected to ux-rs6000-3.informatica.com.
Escape character is '^]'.


?
help
  Connection closed by foreign host.

- As you can see, I get the server on fox to react (by throwing me 
off), which I can see from the trace on fox as well.

So, what can the problem be?

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to