Hi, I have set this configuration on central logserver options { long_hostnames(off); sync(0); log_fifo_size(1000); dnscache(yes); use_fqdn(yes); use_time_recvd(true); }; source src { internal(); file("/proc/kmsg" log_prefix("kernel: ")); tcp(ip(192.168.52.100) port(514) max-connections(1000)); udp(ip(0.0.0.0) port(514)); }; but it does not work. The fist errore is on dnscache(yes);, if i remove this I get the second on use_time_recvd(true);, remove this one I get errore on file("/proc/kmsg" log_prefix("kernel: ")); .... why? Thanks Fiorenzi A. ------------------------------------------------------------------------ INFOGROUP S.P.A http://www.infogroup.it ------------------------------------------------------------------------- DR. FIORENZI ALESSANDRO Consulente Tribunale Firenze - sicurezza informatica - Security Administrator Socio CLUSIT, ALSI Tel : +39.055.43.65.742 CE : +39.335.64.144.77 @Email : a.fiorenzi@infogroup.it PGP Key: http://www.infogroup.it/ds/fiorenzi.asc ------------------------------------------------------------------------- "Faber est suae quisque fortunae" -------------------------------------------------------------------------
Maybe this is too simple but.. is that your entire config file? Do you not have destination and log directives? ----- Original Message ----- From: Alessandro Fiorenzi To: Syslog-ng Sent: Tuesday, January 27, 2004 10:52 AM Subject: [syslog-ng]syslog-ng do not work.... Hi, I have set this configuration on central logserver options { long_hostnames(off); sync(0); log_fifo_size(1000); dnscache(yes); use_fqdn(yes); use_time_recvd(true); }; source src { internal(); file("/proc/kmsg" log_prefix("kernel: ")); tcp(ip(192.168.52.100) port(514) max-connections(1000)); udp(ip(0.0.0.0) port(514)); }; but it does not work. The fist errore is on dnscache(yes);, if i remove this I get the second on use_time_recvd(true);, remove this one I get errore on file("/proc/kmsg" log_prefix("kernel: ")); .... why? Thanks Fiorenzi A. ------------------------------------------------------------------------ INFOGROUP S.P.A http://www.infogroup.it ------------------------------------------------------------------------- DR. FIORENZI ALESSANDRO Consulente Tribunale Firenze - sicurezza informatica - Security Administrator Socio CLUSIT, ALSI Tel : +39.055.43.65.742 CE : +39.335.64.144.77 @Email : a.fiorenzi@infogroup.it PGP Key: http://www.infogroup.it/ds/fiorenzi.asc ------------------------------------------------------------------------- "Faber est suae quisque fortunae" -------------------------------------------------------------------------
On Tue, 2004-01-27 at 16:52, Alessandro Fiorenzi wrote:
Hi, I have set this configuration on central logserver
options { long_hostnames(off); sync(0); log_fifo_size(1000); dnscache(yes);
dns_cache(yes)
use_fqdn(yes); use_time_recvd(true);
use_time_recvd(yes)
};
source src { internal(); file("/proc/kmsg" log_prefix("kernel: "));
log_prefix was implemented sometime during the 1.5.x series, you'll need 1.6.x to use it. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
participants (3)
-
Alessandro Fiorenzi
-
Andrew Culver
-
Balazs Scheidler