[syslog-ng]Version 1.5.21

Jerome Peducasse jerome.peducasse@echo.fr
Fri, 11 Oct 2002 16:35:48 +0200


Hello,

	With syslog-ng 1.5.21 (libol 0.3.4), I can't use udp or tcp destination.
Example:


# cat ./syslog-ng.conf 
#Minimal configuration file
source s_sys { unix-dgram("/dev/log"); internal(); };


destination d_alllog               { file("/var/log/all.log" template_escape(off) owner(root) group(sys) perm(0640)); };
destination d_loghost              { udp("loghost"  port(514)); };

log {
        source(s_sys);
        destination(d_alllog);
        destination(d_loghost);
};

# /usr/local/sbin/syslog-ng.1.5.21 -V                
syslog-ng 1.5.21
# /usr/local/sbin/syslog-ng.1.5.21 -f ./syslog-ng.conf 
Error creating AF_INET socket (Succès)
Error initializing configuration, exiting.
# ps auxw | grep -c  [s]yslog
0


 
# /usr/local/sbin/syslog-ng.1.5.18 -V
syslog-ng 1.5.18
# /usr/local/sbin/syslog-ng.1.5.18 -f ./syslog-ng.conf
# ps auxw | grep [s]yslog
root     12680  0.0  0.6  1484  776 ?        S    16:28   0:00 /usr/local/sbin/syslog-ng.1.5.18 -f ./syslog-ng.conf 


# strace /usr/local/sbin/syslog-ng.1.5.21 -f ./syslog-ng.conf 
....
....
pipe([3, 4])                            = 0
fork()                                  = 12727
close(4)                                = 0
read(3, Error creating AF_INET socket (Succès)
Error initializing configuration, exiting.
"\1", 1)                        = 1
--- SIGCHLD (Le processus `enfant' a terminé.) ---
_exit(1)                                = ?



Could you help me please?
My OS is Linux


-- 
Jerome Peducasse
Wanadoo Portails - Sophia Antipolis