[Spread-users] SP_error: (-2) Could not connect. Is Spread running?

jayesh tembhekar jatembhekar at yahoo.co.in
Thu Jul 2 07:58:54 EDT 2009


Hi All!
I am unable to check the status of  spread .
after executing a command

#./spread  -c /usr/local/etc/spread.conf -n host2 -l y

shell displays one certificate kind of write up and only line

"Conf_load_conf_file: using file: /usr/local/etc/spread.conf"

and blank screen with no promt line it seems spread is working but  after executing a command

#spuser 
It throws an error
 "SP_error: (-2) Could not connect. Is Spread running?"


Entries in log file are: 

[Thu 02 Jul 2009 17:11:20]  (889838 us):  disabling Dangerous Monitor Commands!
[Thu 02 Jul 2009 17:11:20]  (889897 us):  Setting SO_REUSEADDR to auto
[Thu 02 Jul 2009 17:11:20]  (889945 us):  Set runtime directory to '/var/run/spread'
[Thu 02 Jul 2009 17:11:20]  (889986 us):  Set user name to 'jayesh'
[Thu 02 Jul 2009 17:11:20]  (890024 us):  Set group name to 'seng'
Membership id is ( -1408233363, 1246533088)
[Thu 02 Jul 2009 17:11:27]  (892830 us):  --------------------
[Thu 02 Jul 2009 17:11:27]  (892867 us):  Configuration at host2 is:
[Thu 02 Jul 2009 17:11:27]  (892904 us):  Num Segments 1
[Thu 02 Jul 2009 17:11:27]  (892941 us):        1       xxx.16.16.255     3334
[Thu 02 Jul 2009 17:11:27]  (892981 us):                host2                 xxx.16.16.109
[Thu 02 Jul 2009 17:11:27]  (893017 us):  ====================



If things are fine what will be the next step and how to connect other system say "host1" to "host2".
If not what should i do to start the spread.
my config file :

***
DebugFlags = { PRINT EXIT }

EventPriority =  INFO

EventLogFile = testlog.out

EventTimeStamp = "[%a %d %b %Y %H:%M:%S]"

EventPreciseTimeStamp

DebugInitialSequence

DangerousMonitor = false

SocketPortReuse = AUTO

MaxSessionMessages = 5000

RuntimeDir = /var/run/spread

DaemonUser = jayesh
DaemonGroup = seng

RequiredAuthMethods = "   "
AllowedAuthMethods = "NULL"

AccessControlPolicy = "PERMIT"

Spread_Segment xxx.16.16.255:3334 {
        host1           xxx.16.16.115
        host2           xxx.16.16.109
}

 


-----
Thanks and Regards :

JAYESH  


      See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.spread.org/pipermail/spread-users/attachments/20090702/8347e83f/attachment.html 


More information about the Spread-users mailing list