spreadlogd 1.4.2, spread 3.16.2, FreeBSD 4.6-RELEASE
Mike Parson <[email protected]> Wed, 04 Sep 2002 16:38:36 -0500
| Newsgroups | gmane.comp.apache.mod-log-spread.user |
|---|---|
| Message-ID | <[email protected]> |
Attempting to get the above listed working together.
It took a little tweeking of the spreadlogd code to get it to
compile, but I don't think I fudged any of the functionality, mostly
just included the apropriate includes and libs, etc.
spread starts, sets up the groups, etc.
Fire up spreadlogd, and we get:
spreadlogd -D -v
Zeroing vhost hash for usage!
Zeroing vhost hash for usage!
Zeroing vhost hash for usage!
Zeroing vhost hash for usage!
running spreadlogd as spreadlogd
configfile: /etc/spreadlogd.conf
debug: YES
verbose: YES
log spread errors: NO
buffer size: 65536
Joined apache-0001.
Joined apache-0002.
Joined apache-0003.
Joined apache-0004.
Segmentation fault
No core file :/
Here's the last few lines of an strace of spread as it happens
(hostnames and IPs obfuscated):
gettimeofday({1031172818, 476561}, {0, 0}) = 0
select(1024, [3 4 9], [], [9], {0, 0}) = 1 (in [9])
ioctl(9, FIONBIO, [1]) = 0
recvfrom(9, "\3\20", 2, 0, NULL, NULL) = 2
recvfrom(9, "\2", 1, 0, NULL, NULL) = 1
recvfrom(9, "\20\t", 2, 0, NULL, NULL) = 2
recvfrom(9, "sld-64257", 10, 0, NULL, NULL) = 9
ioctl(9, FIONBIO, [0]) = 0
sendto(9, "\5", 1, 0, NULL, 0) = 1
sendto(9, "NULL ", 5, 0, NULL, 0) = 5
gettimeofday({1031172818, 479210}, {0, 0}) = 0
gettimeofday({1031172818, 479440}, {0, 0}) = 0
select(1024, [3 4 6 7 9], [], [6 9], {0, 0}) = 1 (in [9])
ioctl(9, FIONBIO, [1]) = 0
recvfrom(9, "NULL\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 90, 0, NULL, NULL) = 90
ioctl(9, FIONBIO, [0]) = 0
sendto(9, "\1", 1, 0, NULL, 0) = 1
sendto(9, "\3", 1, 0, NULL, 0) = 1
sendto(9, "\20", 1, 0, NULL, 0) = 1
sendto(9, "\2", 1, 0, NULL, 0) = 1
sendto(9, "!", 1, 0, NULL, 0) = 1
sendto(9, "#sld-64257#loghost.mydomain\303"..., 33, 0, NULL, 0) = 33
gettimeofday({1031172818, 482921}, {0, 0}) = 0
gettimeofday({1031172818, 484233}, {0, 0}) = 0
select(1024, [3 4 6 7 9], [], [6 9], {0, 0}) = 1 (in [9])
ioctl(9, FIONBIO, [1]) = 0
recvfrom(9, "\200\0\1\200#sld-64257#loghost.mydomain"..., 48, 0, NULL, NULL) = 48
ioctl(9, FIONBIO, [0]) = 0
gettimeofday({1031172818, 485652}, {0, 0}) = 0
sendmsg(5, {msg_name(16)={sin_family=AF_INET, sin_port=htons(4804), sin_addr=inet_addr("192.168.1.31")}}, msg_iov(1)=[{"\200\0\27\200 \325\273\320\2\0\0\0 \325\273\320\2\0\0\0"..., 24}], msg_controllen=0, msg_flags=0}, 0) = 24
close(9) = 0
--- SIGSEGV (Segmentation fault) ---
--- SIGSEGV (Segmentation fault) ---
An interesting thing I just noticed, don't know if it matters, but
the two times 'loghost.mydomain' appear above, it actually was only
a partial match to the FQDN of the box, cutting it off just a bit
before end of the FQDN.
--
Michael Parson
[email protected]