[syslog-ng] syslog-ng craches when sending from syslog-ng to another loghost (that have syslog-ng)

Mattias Ryrlén mattias.ryrlen at op5.com
Thu Oct 2 09:23:50 CEST 2008


Hi,

Im running syslog-ng-2.1beta2-1 on 2 of my servers.

i have the same configuration on both the servers except that i want
server A to forward messages to server B

All works fine for a couple of minutes, then server A:s syslog-ng
service craches without any information.

running CentOS 5.0 on both servers with syslog-ng installed as rpm
packages from balabit.

i have also tried with udp() instead of tcp() with the same result.

options {
    sync (0);
    time_reopen (10);
    log_fifo_size (1000);
    long_hostnames (off);
    use_dns (yes);
    dns_cache(yes);
    use_fqdn (no);
    create_dirs (no);
    keep_hostname (yes);
    log_msg_size(8192);
};

source s_sys {
    file ("/proc/kmsg" log_prefix("kernel: "));
    unix-stream ("/dev/log");
    internal();
    # udp(ip(0.0.0.0) port(514));
};

source s_udp { udp(); };
source s_tcp { tcp(max-connections(200)); };

destination d_loghost {
   tcp("192.168.1.150" port(514));
};

log {
   source(s_sys);
   source(s_tcp);
   source(s_udp);
   destination(d_loghost);
};

Any sugestions?

-- 
Vänliga hälsningar / Best Regards
Mattias Ryrlén

__________________________
op5 AB
Första Långgatan 19
SE-413 27 Göteborg
Mobil: +46 735-17 70 99
Support: +46 31-774 09 24
www.op5.com



More information about the syslog-ng mailing list