I updated my freeBSD server running syslog-ng 1.4.12 to syslog-ng 1.5.23. I installed the new libol 0.3.5 prior to the upgrade. It seemed to have installed correctly with no errors. However when I try to start the program I revieve this message: absys# /usr/local/sbin/syslog-ng -v binding fd 3, inetaddr: 0.0.0.0, port: 514 binding fd 5, inetaddr: 0.0.0.0, port: 514 unresolved reference: DEFAULT Error initializing configuration, exiting. I thought this must be related to the options I have chosen in my configuration file. Here is the top section of my syslog-ng.conf file, where I define my options: absys# vi /usr/local/etc/syslog-ng/syslog-ng.conf #syslog-ng configuration. # # what the default options are for files that it writes # options { sync(0); time_reopen(10); log_fifo_size(100); }; ############################################################## # Sources: ############################################################### source src { tcp(); udp(); internal(); }; ### FILTERS ### Please help...thanks in advance! Ajamu Abraham Network Engineer About, Inc. 249 West 17th Street 2nd Floor New York, NY 10011 Direct: 212.204.1525 Cell #: 917.682.2246 "l'argent comptant règne tout autour de moi"
On Wed, Nov 13, 2002 at 02:03:00PM -0700, Abraham, Ajamu wrote:
I updated my freeBSD server running syslog-ng 1.4.12 to syslog-ng 1.5.23. I installed the new libol 0.3.5 prior to the upgrade. It seemed to have installed correctly with no errors. However when I try to start the program I revieve this message: absys# /usr/local/sbin/syslog-ng -v binding fd 3, inetaddr: 0.0.0.0, port: 514 binding fd 5, inetaddr: 0.0.0.0, port: 514 unresolved reference: DEFAULT Error initializing configuration, exiting.
the DEFAULT filter hack is not supported by 1.5.x anymore. you'll need to use the flags() keyword instead. log { source(src); destination(dst); flags(fallback, final); }; -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
participants (2)
-
Abraham, Ajamu
-
Balazs Scheidler