Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××.be>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] syslog-ng-3.6.1 nearly no log anymore
Date: Fri, 14 Nov 2014 18:44:31
Message-Id: 1415990661.2375.3@numa-be
In Reply to: Re: [gentoo-user] syslog-ng-3.6.1 nearly no log anymore by Alan McKinnon
1 On 11/14/2014 06:46:28 PM, Alan McKinnon wrote:
2 > On 14/11/2014 18:18, Helmut Jarausch wrote:
3 > > On 11/13/2014 09:05:50 PM, Alan McKinnon wrote:
4 > >> On 13/11/2014 18:41, Helmut Jarausch wrote:
5 > >>> Hi,
6 > >>>
7 > >>> after upgrading from syslog-ng-3.5.6 to syslog-ng-3.6.1 my
8 > system
9 > >> has
10 > >>> stopped logging, i.e. I only get the messages
11 > >>> Nov 12 21:04:10 numa syslog-ng[1392]: syslog-ng shutting down;
12 > >>> version='3.6.1'
13 > >>> Nov 13 14:52:20 numa syslog-ng[1392]: syslog-ng starting up;
14 > >>> version='3.6.1'
15 > >>>
16 > >>> Has anybody observed the same problem, and how to fix it?
17 > >>>
18 > >>> Many thanks for a hint,
19 > >>> Helmut
20 > >>>
21 > >>>
22 > >>
23 > >>
24 > >> Run a syntax check on the config file, I don't have a man page to
25 > >> hand
26 > >> but it's quite obvious what the option is.
27 > >> syslog-ng has sometimes been picky about version numbers in the
28 > past
29 > >> and
30 > >> it's tagged in the config file. Read the syntax check output
31 > >> carefully
32 > >> to see if anything is amiss.
33 > >
34 > > Thanks, Alan.
35 > >
36 > > The only unusual message is
37 > > Systemd is not detected as the running init system;
38 > >
39 > > which is true since I still use openrc (but with systemd installed,
40 > as
41 > > well)
42 > > Could this be the culprit?
43 >
44 >
45 > I doubt it, I also use 3.6.1 without systemd.
46 >
47 > Please post eix syslog-ng so we can see how your USE is set up, and
48 > your
49 > syslog-ng.conf
50 >
51 Thanks, Alan.
52
53 [U] app-admin/syslog-ng
54 Available versions: 3.4.7^t 3.4.8^t (~)3.5.6^t{tbz2}[1]
55 (~)3.6.1^t{tbz2} {amqp caps dbi geoip ipv6 json mongodb pacct +pcre
56 redis smtp spoof-source ssl systemd tcpd}
57 Installed versions: 3.5.6^t{tbz2}[1](05:21:52 PM 11/14/2014)(ipv6
58 json pcre ssl systemd tcpd -amqp -caps -dbi -geoip -mongodb -pacct -
59 smtp -spoof-source)
60 Homepage: http://www.balabit.com/network-security/
61 syslog-ng
62 Description: syslog replacement with advanced filtering
63 features
64
65 And here are the config files (I've left out the commented lines)
66
67 ================ /etc/syslog-ng/scl.conf =============================
68 @define scl-root "`syslog-ng-data`/include/scl"
69 @define include-path "`include-path`:`syslog-ng-data`/include"
70
71 @include 'scl/system/plugin.conf'
72 @include 'scl/pacct/plugin.conf'
73 @include 'scl/syslogconf/plugin.conf'
74
75 ================ /etc/syslog-ng/syslog-ng.conf =================
76 options {
77 threaded(yes);
78 chain_hostnames(no);
79 stats_freq(43200);
80
81 mark_freq(3600);
82 };
83
84 source src { system(); internal(); };
85
86 destination messages { file("/var/log/messages"); };
87 destination console_all { file("/dev/tty12"); };
88 log { source(src); destination(messages); };
89 log { source(src); destination(console_all); };
90
91
92 ================ /etc/conf.d/syslog-ng =================
93 SYSLOG_NG_OPTS=""

Replies

Subject Author
Re: [gentoo-user] syslog-ng-3.6.1 nearly no log anymore Alan McKinnon <alan.mckinnon@×××××.com>