[Spread-users] spread question...
Luc I. Suryo
luc.suryo at cabelas.com
Thu Oct 21 13:02:30 EDT 2004
hello,
Sorry to bother but I 'm having a hard time to get spread going... in
the past it works 'almost' out of the box..
I know that the apache-2 is not supported and certainly modifiying the
code (cntp instead of flock) and 64-bits take all best off, but have you
give me some help?
spreadlogd: start and creates the log files
spread: start and does the logging
apache: starts, no error but nothing is logged via spread..
THANKS!
-ls
--------------------------------------------------------------------
info : solaris 8, 64-bits
apache : 2.0.52, 64-bits
spread : 3.17.3, 64-bit, compiled with Sun C-compiler
spreadlogd : 1.4.2, 64-bit, compiled with Sun C-compiler
mod_log_spread : not sure the version, but from the mailing list archive
adjusted to use cntl instead of flock(bsd)
64-bit, compiled with Sun C-compiler
spead.conf :
#
# Local network
#
Spread_Segment 10.10.107.255:4803 {
cabattprdadm02 10.10.107.178
cabattprdadm01 10.10.107.175
cabattprdmi01 10.10.107.84
cabattprdmi02 10.10.107.87
cabattprdmidb01 10.10.107.181
}
DebugFlags = { ALL }
DaemonUser = spread
DaemonGroup = spread
RuntimeDir = /var/run/spread
EventLogFile = /var/logs/spread/spreadlog_%h.log
EventTimeStamp = "[%a %d %b %Y %H:%M:%S]"
RequiredAuthMethods = "NULL"
AllowedAuthMethods = "NULL"
AccessControlPolicy = "PERMIT"
--------------------------------------
spreadlogd.conf :
BufferSize = 65536
Spread {
Port = 4803
Log {
RewriteTimestamp = CommonLogFormat
Group = "error_log"
File =
/export/httpd/cabprdadm02.cabelas.corp/logs/error_log
}
Log {
RewriteTimestamp = CommonLogFormat
Group = "cabattprdadm02"
File =
/export/httpd/cabprdadm02.cabelas.corp/logs/access_log
}
}
--------------------------------------
line in httpd :
LoadModule log_spread_module libexec/mod_log_spread.so
SpreadDaemon 4803
CustomLog $cabattprdadm02 common
--------------------------------------
for tge spread debug file
sending 52 bytes on channel 5 to address 10.10.107.255
[Thu 21 Oct 2004 11:59:16] DL_send: sent a message of -1 bytes to (10.10.107.255,4803) on channel 5
[Thu 21 Oct 2004 11:59:16] new: reusing pointer 0x284f10 to object type 35 named time_event
[Thu 21 Oct 2004 11:59:16] E_queue: (first) event queued func 0x1ad80 code 0 data 0x0 in future (1:0)
[Thu 21 Oct 2004 11:59:16] dispose: disposing pointer 0x284e20 to object type 35 named time_event
[Thu 21 Oct 2004 11:59:16] E_handle_events: poll select [Thu 21 Oct 2004 11:59:16] E_handle_events: select with timeout (0,
999801) [Thu 21 Oct 2004 11:59:17] E_handle_events: exec ext fd event
[Thu 21 Oct 2004 11:59:17] new: creating pointer 0x2f0820 to object type 20 named scatter
[Thu 21 Oct 2004 11:59:17] new: creating pointer 0x2f0e90 to object type 50 named packet_body
[Thu 21 Oct 2004 11:59:17] Sess_read: Message has type field 0x10000 [Thu 21 Oct 2004 11:59:17] new: creating pointer 0x28f890 to object type
27 named down_link [Thu 21 Oct 2004 11:59:17] Sess_read: queueing message of type 8 with
len 0 to the protocol [Thu 21 Oct 2004 11:59:17] E_handle_events: next event
[Thu 21 Oct 2004 11:59:17] E_handle_events: poll select [Thu 21 Oct 2004 11:59:17] E_handle_events: select with timeout (0,
456694) [Thu 21 Oct 2004 11:59:17] E_handle_events: next event
[Thu 21 Oct 2004 11:59:17] E_handle_events: exec time event [Thu 21 Oct 2004 11:59:17] Send_join: State is 4
[Thu 21 Oct 2004 11:59:17] DL_send: delaying after failure in send to 10.10.107.255, ret is -1
[Thu 21 Oct 2004 11:59:17] DL_send: delaying after failure in send to 10.10.107.255, ret is -1
[Thu 21 Oct 2004 11:59:17] DL_send: delaying after failure in send to 10.10.107.255, ret is -1
[Thu 21 Oct 2004 11:59:17] DL_send: delaying after failure in send to 10.10.107.255, ret is -1
[Thu 21 Oct 2004 11:59:17] DL_send: delaying after failure in send to 10.10.107.255, ret is -1
[Thu 21 Oct 2004 11:59:17] DL_send: delaying after failure in send to 10.10.107.255, ret is -1
[Thu 21 Oct 2004 11:59:17] DL_send: delaying after failure in send to 10.10.107.255, ret is -1
[Thu 21 Oct 2004 11:59:17] DL_send: delaying after failure in send to 10.10.107.255, ret is -1
[Thu 21 Oct 2004 11:59:17] DL_send: delaying after failure in send to 10.10.107.255, ret is -1
[Thu 21 Oct 2004 11:59:17] DL_send: delaying after failure in send to 10.10.107.255, ret is -1
[Thu 21 Oct 2004 11:59:17] DL_send: element[0]: 32 bytes
[Thu 21 Oct 2004 11:59:17] DL_send: element[1]: 8 bytes
[Thu 21 Oct 2004 11:59:17] DL_send: element[2]: 12 bytes
[Thu 21 Oct 2004 11:59:17] DL_send: error: Message too long
More information about the Spread-users
mailing list