I am working on configuring a central syslog server listening on TCP port 515. I am able to configure the server to listen on UDP:514 without any problems. However, getting the server to listen on TCP:515 is proving to be more problematic for me.
I am running rsyslog version:
- Code: Select all
rsyslogd 2.0.0, compiled with:
FEATURE_PTHREADS (dual-threading): Yes
FEATURE_REGEXP: Yes
FEATURE_LARGEFILE: Yes
FEATURE_NETZIP (message compression): Yes
SYSLOG_INET (Internet/remote support): Yes
FEATURE_GSSAPI (GSSAPI Kerberos 5 support): No
FEATURE_DEBUG (debug build, slow code): No
I can't seem to get it to start up and listen for TCP syslog messages. Here is a snip from my conf file:
- Code: Select all
$ModLoad imtcp
$InputTCPServerRun 515
The rest of the conf file is all basic. Below is the error I get in /var/log/messages
- Code: Select all
Jan 30 09:40:56 sandbox rsyslogd:could not load module '/usr/lib/rsyslog/imtcp', dlopen: /usr/lib/rsyslog/imtcp: cannot open shared object file: No such file or directory
Jan 30 09:40:56 sandbox rsyslogd:the last error occured in /etc/rsyslog.conf, line 1
Jan 30 09:40:56 sandbox rsyslogd:invalid or yet-unknown config file command - have you forgotten to load a module?
Now, everything works fine for UDP listening, but I need to run TCP. Also, I need to stick with version 2.0 because of company policy which prevents loading packages from third parties. What am I doing wrong?
Thanks.


