Issue with Modules

This is the place for you, if you got rsyslog up and running but wonder how to make it do what you want.

Moderator: rgerhards

Issue with Modules

Postby vage on Fri May 02, 2008 5:45 pm

Ok so I just started to get into using rsyslog. My main goal is to organize all of the system log files from both linux and Windows machines into one centralized database. So far, I am writing my rsyslog messages to my MySQL database just perfectly. However, I am having trouble when it comes to having a windows machine send its event logs to my rsyslog server.

I have narrowed the problem down to the fact that I cannot load the imudp.so and the imtcp.so modules. I put the ModLoad at the beginning of my rsyslog.conf file, but then when I try to start the service, my logs say that it cannot find the modules specified. I looked in the folder that they were supposed to be in and sure enough, they are not there. I thought I installed and set this up correctly, and the ommysql.so module file is in the correct spot so I don't see why the others are not.

Can someone please give me some advice as to what I can do to fix this? Is it just something I missed when I configured the install package, or is it something more?

Edit: I forgot to mention that I am using FC8, and had to use yum install rsyslog-mysql to get mysql support to work, is there something similar for tcp and udp?
vage
New
 
Posts: 3
Joined: Fri May 02, 2008 5:41 pm

RE: Issue with Modules

Postby rgerhards on Fri May 02, 2008 9:22 pm

brief, from the pda: F8, as far as i know, features the v2 branch of rsyslog. it does not have input plugins. listners are configured via -r and -t command line options.

check the doc set that comes with your version for details.

hth
rainer
User avatar
rgerhards
Site Admin
 
Posts: 1067
Joined: Thu Feb 13, 2003 11:57 am

Postby vage on Fri May 09, 2008 2:05 pm

I don't really understand your response. When I try to add the following at the top of my rsyslog.conf file:

$ModLoad imudp.so

I get an error that says that it cannot find the module that is specified. I don't understand what you mean by -r. Can you please be more specific or suggest another way of making my server listen on UDP port 514 for other servers sending me their syslog messages?

**Edit: Nevermind, I figured out that -r isn't exactly a command line option, but instead you need to add it to the file /etc/sysconfig/rsyslog. Thanks for the help.
vage
New
 
Posts: 3
Joined: Fri May 02, 2008 5:41 pm

Google Ads



Return to Configuration

Who is online

Users browsing this forum: No registered users and 0 guests

cron