mkdir -p /var/glite/log
chown $GLITE_USER /var/glite/log
echo -n Starting glite-lb-logd ...
- (cd /tmp && ls -f /tmp |fgrep ^dglogd_sock_ |xargs rm -f)
+ (cd /tmp && ls -f /tmp |grep ^dglogd_sock_ |xargs rm -f)
su - $GLITE_USER -c "$GLITE_LOCATION/bin/glite-lb-logd \
$creds $port $sock $fprefix" && echo " done" || echo " FAILED"
1.4.8-1 (lb-1.7.2-1)
- support for notification expiration
+
+1.4.9-1 (lb-1.7.3-1)
+- treat zero event expiration time as "never"
+
+3.1.9-2 (lb-1.7.4-1)
+- rebuild wrt. downgraded security 3.1.57-1
+
+3.1.9-3 (lb-1.8.0-1)
+- startup script: use grep with ^ rather than fgrep
+
+3.1.10-1
+- fixed sending empty events
+- do not syslog "error reading server reply" unnecessarily
+
#ifdef LB_PERF
if(!nosend) {
#endif
- /* XXX: ljocha -- does it make sense to send empty messages ? */
if (msg->len) {
tv.tv_sec = TIMEOUT;
tv.tv_usec = 0;
ret = edg_wll_gss_write_full(&eq->gss, msg->msg, msg->len, &tv, &bytes_sent, &gss_stat);
- /* commented out due to the conflict with following ljocha's code
- if(ret < 0) {
- eq->timeout = TIMEOUT;
- return(0);
- }
- */
if(ret < 0) {
if (ret == EDG_WLL_GSS_ERROR_ERRNO && errno == EPIPE && events_sent > 0)
eq->timeout = 0;
if((code = get_reply(eq, &rep, &code_min)) < 0) {
/* could not get the reply properly, so try again later */
- if (events_sent>0)
+ if (events_sent>0) {
+ /* could be expected server connection preemption */
+ clear_error();
eq->timeout = 1;
- else {
+ } else {
eq->timeout = TIMEOUT;
il_log(LOG_ERR, " error reading server %s reply:\n %s\n", eq->dest_name, error_get_msg());
}