[CentOS] rsyslog not loading relp

m.roth at 5-cent.us m.roth at 5-cent.us
Thu Oct 31 21:42:34 UTC 2013


Mauricio Tavares wrote:
> On Tue, Oct 29, 2013 at 4:28 PM,  <m.roth at 5-cent.us> wrote:
>> Mauricio Tavares wrote:
>>> On Tue, Oct 29, 2013 at 2:08 PM, Mike Burger
>>> <mburger at bubbanfriends.org>
>>> wrote:
>>>>> centos 6.4, setup to be syslog server. Doing remote syslog using tcp
>>>>> works fine, so now want to add relp. I installed the rsyslog-relp
>>>>> package and told rsyslog.conf to use it:
>>>>>
>>>>> # RELP Syslog Server:
>>>>> $ModLoad imrelp  # provides RELP syslog reception
>>>>> $InputRELPServerRun 20514
>>>>>
>>>>> when I restart rsyslog I am told it does not like my
>>>>> InputRELPServerRun
>>>>> line:
>>>>>
>>>>> Oct 28 13:43:54 scan rsyslogd: [origin software="rsyslogd"
>>>>> swVersion="5.8.10" x-pid="7102" x-info="http://www.rsyslog.com"]
>>>>> start
>>>>> Oct 28 13:43:54 scan rsyslogd: the last error occured in
>>>>> /etc/rsyslog.conf, line 23:"$InputRELPServerRun 20514"
>>>>>
>>>>> Any clues?
>>>>
>>>> Dumb question...do you have librelp installed?
>>>>
>>>    Never a dumb question! I've done that way too many times. The
>>> rsyslog-relp Should have installed it. Just to be sure, I went and
>>> looked for /lib64/rsyslog/imrelp.so:
>>>
>>> [root at scan ~]# ls -lh /lib64/rsyslog/imrelp.so
>>> -rwxr-xr-x. 1 root root 11K Sep  9 09:58 /lib64/rsyslog/imrelp.so
>>> [root at scan ~]#
>>
>> Oh, boy - here's a nasty thought (that I thought of, because I'd just
>> run into it fighting fedora last week): you *might* try running depmod....
>>
>       Running the risk of sounding more stupid than I already am, what
> would I be looking for using depmod? Is there a relp-related module
> that needs to be loaded?  modprobe -l|grep relp shows nothing.

Just that it's possible that installing relp did *not* run depmod, and so
when the system's loading modules, it might not know it's there.

        mark




More information about the CentOS mailing list