Hello,
I have install syslog-ng on solaris 10(machine A],it configured as log proxy server
more /etc/syslog-ng/syslog-ng.conf
options {
chain_hostnames(no);
keep_hostname(yes);
use_fqdn(yes);
log_fifo_size(1000);
};
source local {
sun-stream("/dev/log");
udp(ip(0.0.0.0) port(514));
internal();
};
filter notdebug {
level(info...emerg);
};
destination ercmas13.eurocontrol.fr{
udp("ercmas13.eurocontrol.fr" port (514));
};
log {
source(local);
filter (notdebug);
destination(ercmas13.eurocontrol.fr);
};
A client (Machine C) on solaris 10 send logs on (Machine A)
I say the log on ercmas13 (logs server)
A client (Machine B) on redhat 4 send log on (Machine B)
I have nothing on the log server
I change this information in this files syslog-ng.conf on log proxy server
Each possible communication mechanism has a corresponding source driver in syslog-ng. For example, to
open a unix socket with SOCK_DGRAM style communication use the driver unix-dgram. The same socket using
the SOCK_STREAM style — as used under Linux — is called unix-stream.
source local {
unix-stream("/dev/log");
udp(ip(0.0.0.0) port(514));
internal();
};
But when i restart le syslog-ng on log proxy server
/etc/init.d/syslog-ng start
syslog-ng service starting.
Error binding socket; addr='AF_UNIX(/dev/log)', error='Address already in use (125)'
Error initializing source driver; source='local'
What is the problem ?
Best regards
Eric FELLMANN