I built a copy of 3.11.0 with
./configure --disable-unix --disable-klogd
make
make install
(I do indeed not wish this daemon to listen on local sockets.)
After failure to start in a production ready manner failed, I tried with the debug option:
[root@phlsniff etc]# /usr/local/sbin/rsyslogd -f /etc/rsyslog.conf -d
dbg fl: (null)
Warning: compatibility modes < 3 are currently NOT supported - continuing...
1774.769981663:main thread: Compatibility Mode: 0
1774.770018314:main thread: Writing pidfile /var/run/rsyslogd.pid.
1774.798567949:main thread: module of type 1 being loaded.
1774.798601425:main thread: module of type 1 being loaded.
1774.798629046:main thread: module of type 1 being loaded.
1774.798658037:main thread: module of type 1 being loaded.
1774.798680703:main thread: module of type 1 being loaded.
1774.798988720:main thread: Starting.
1774.799021105:main thread: rsyslog 3.11.0.
1774.799037436:main thread: Called init.
1774.799053297:main thread: Unloading non-static modules.
1774.799070737:main thread: Clearing templates.
1774.814289224:main thread: cfline: '$ModLoad imudp.so # provides UDP syslog reception'
1774.814323351:main thread: Requested to load module 'imudp.so #'
1774.814519378:main thread: Called logerr, msg: could not load module '/usr/local/lib/rsyslog/imudp.so #', dlopen: /usr/local/lib/rsyslog/imudp.so #: cannot open shared object file: No such file or directory
1774.814725641:main thread: config line NOT successfully processed
1774.814748906:main thread: Called logerr, msg: the last error occured in /etc/rsyslog.conf, line 7
1774.814784613:main thread: cfline: '$UDPServerAddress 216.143.145.103'
1774.814803708:main thread: Called logerr, msg: invalid or yet-unknown config file command - have you forgotten to load a module?
1774.814830519:main thread: config line NOT successfully processed
1774.814849690:main thread: Called logerr, msg: the last error occured in /etc/rsyslog.conf, line 8
1774.814878756:main thread: cfline: '$UDPServerRun 514'
1774.814897887:main thread: Called logerr, msg: invalid or yet-unknown config file command - have you forgotten to load a module?
1774.814926493:main thread: config line NOT successfully processed
1774.814955964:main thread: Called logerr, msg: the last error occured in /etc/rsyslog.conf, line 9
where, as you can see, it all goes downhill starting where it tries to load imudp.so. However, in this case, the file was actually installed by make install:
[root@phlsniff etc]# ls -l /usr/local/lib/rsyslog/imudp.so
-rwxr-xr-x 1 root root 18854 Feb 7 16:29 /usr/local/lib/rsyslog/imudp.so
[root@phlsniff etc]#
I'm running SELinux and wondered if that was messing things up, though it shouldn't be, so I tried it, with the same results, with enforcing turned off.
A bit more information:
[root@phlsniff etc]# /usr/local/sbin/rsyslogd -v
dbg fl: (null)
rsyslogd 3.11.0, compiled with:
FEATURE_REGEXP: Yes
FEATURE_LARGEFILE: Yes
FEATURE_NETZIP (message compression): Yes
GSSAPI Kerberos 5 support: No
FEATURE_DEBUG (debug build, slow code): No
Runtime Instrumentation (slow code): No
See http://www.rsyslog.com for more information.
Any ideas?


