> -----Original Message----- > From: [email protected] [mailto:rsyslog- > [email protected]] On Behalf Of Glowacki, Tomasz (INFO) > Sent: Thursday, July 01, 2010 2:52 PM > To: rsyslog-users > Subject: Re: [rsyslog] high CPU usage on 5.5.5 and 5.4.0 > > Witam, > > Thursday, July 1, 2010, 1:55:58 PM, you wrote: > > >> -----Original Message----- > >> From: [email protected] [mailto:rsyslog- > >> [email protected]] On Behalf Of Glowacki, Tomasz (INFO) > >> Sent: Thursday, July 01, 2010 11:58 AM > >> To: rsyslog-users > >> Subject: Re: [rsyslog] high CPU usage on 5.5.5 and 5.4.0 > >> > >> Witam, > >> > >> Thursday, July 1, 2010, 11:06:03 AM, you wrote: > >> > >> > I ran into this same problem and finally discovered that it was > >> because > >> > there were two sets of rsyslog modules, the old ubuntu defaults > and > >> the > >> > ones I compiled. the wrong ones were being found and problems > >> resulted. > >> > >> > you may find that you have files in /usr/lib/rsyslog and in > >> > /usr/local/lib/rsyslog > >> > >> > delete the wrong ones (probably /usr/lib/rsyslog is the ubuntu > >> package. > >> > >> > rsyslog needs to eventually gain the ability to version the > modules > >> and > >> > report when the wrong version module is loaded. But at the moment > >> this is > >> > not available. > >> > >> I don't think it is a good solution. > >> > >> If I compile 5.5.0 with --prefix=/my/directory and then make install > >> is done to that directory rsyslogd should read libs from there (and > in > >> fact - is doing that because omudpspoof module is working). Not from > >> /usr/lib/rsyslog. Or maybye I'm wrong somewhere... correct me. > >> > >> Why rsyslogd is searching for other libs elsewhere than in it's > >> install directory? > > > It depends on how you configure the running system (not the build > system). > > There is a command line switch as well as a config directive that > tells form > > where to load modules. Distros usually set their defaults with these > > directives. > > Ok, which command line switch do you mean? And which config directive? > :)
I'll check the doc as soon as I have time to do so... Rainer _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

