[syslog-ng] Compiling on HP/UX 11.11

Blurry obsfucate at gmail.com
Wed Oct 17 19:37:17 CEST 2007


So I pulled down the Oct17 version of 2.0.5 and it compiled fine.
Produced man pages and a syslog-ng executable in /usr/local/sbin/

I used the syslog-ng.conf file that I had working on another system. I
am only interested in receiving UDP syslog and TCP syslog. I
configured HPUX syslogd to not listen on udp.

When I run syslog-ng it will work if I only specify a tcp listener. If
I also specify a udp listener it dies and says this line is in error

'syntax error in 15'

line15:     udp(ip(0.0.0.0) port(514) max_connections(1000));

NOTHING is running on udp 514.

Here is the whole conf file.

options {
        long_hostnames(on);
        sync(0);
        stats(43200);
        dns_cache(yes);
        use_fqdn(no);
        keep_hostname(yes);
        use_dns(yes);
        log_msg_size(8192);
        log_fifo_size(2048);
};

source udpgw {
       internal();
       udp(ip(0.0.0.0) port(514) max_connections(1000));
};
source tcpgw {
        internal();
        tcp(ip(0.0.0.0) port(1514) max_connections(1000));
};
destination udplocalhost {
        file("/var/tmp/syslog.udp");
};
destination tcplocalhost {
        file("/var/tmp/syslog.tcp");
};
log {
        source(tcpgw); destination(tcplocalhost);
        source(udpgw); destination(udplocalhost);
};

Ideas ?

Thanks

On 9/28/07, Balazs Scheidler <bazsi at balabit.hu> wrote:

> Your generated cfg-lex.c file is probably empty again. Am I Right?
>
> I wrote a message about the use of the generated files from the release
> tarball, did you try that?
>
>


More information about the syslog-ng mailing list