Hi,

I'm using STAF v3.4.5 on an Red Hat 5.6 64bit machine and trying to use LOG 
service with ENABLEREMOTELOGGING configuration. I've the below configuration in 
STAF.cfg file:

# 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
trust machine testmachine1 level 5

# Add default service loader
serviceloader library STAFDSLS
service log library STAFLog parms "ENABLEREMOTELOGGING REMOTELOGSERVER 
testmachine1"

While the testmachine1 has entry in /etc/hosts file:
10.176.59.196 testmachine1

When I try to use the log service I get the below error:

[root@ip-10-176-59-197 ~]# staf local log help
Error submitting request, RC: 21
Additional info
---------------
STAFConnectionProviderConnect: Error creating socket for path 
'/tmp/STAFIPC_STAF', socket(), osRC=24


Seems there is definitely some problem in the STAF.cfg file as when I use the 
below entry log service works fine:
service log library STAFLog

Please suggest what is that my missing ?

--Andrew

                                          
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to