rsyslog 3.18.4 init script for Centos 5.2

Everything related with getting rsyslog up and running (but not beyond that point ;))

Moderator: rgerhards

rsyslog 3.18.4 init script for Centos 5.2

Postby rahmant » Wed Sep 24, 2008 3:33 pm

I've created a minimal test server running Centos 5.2, updated to the latest stock/packaged kernel. I've yum'ed gcc, mysql+dev, downloaded rsyslog-3.18.4 and configured it with mysql support. The compile goes well and I've manually installed the various pieces from the <src>/redhat directory into the various places into Centos to get the install working. I've run "chkconfig --add" to get the init scripts all set up nicely, shutdown the stock syslog, but I can't get rsyslog to come up.

Couple of points:
-) It looks like the stock rsyslog "make install" puts the binary into /usr/local/sbin, but the init script looks like it's pointing to /sbin.
-) It looks like the init script is also looking for /sbin/rklogd. From a few searches, it looks like rklogd daemon was replaced by a module within the new rsyslogd?

I'm guessing that the redhat specific init script that's included is somewhat old and hasn't been updated with the latest changes in v3.x - does anyone have one that works cleanly?

Thanks,

Tariq
rahmant
New
 
Posts: 2
Joined: Tue Jul 01, 2008 12:48 am

Professional Services Information

  • Custom written rsyslog.conf?
  • Maintenance Contract?
  • Installation support?

Re: rsyslog 3.18.4 init script for Centos 5.2

Postby rgerhards » Wed Sep 24, 2008 3:43 pm

Hi Tariq,

you can tune the pathes with ./configure options. See ./configure --help for details. We use the standard autotools config. Adding something Red Hat specific breaks others, so I think that's the best thing to do.

rklogd is gone in v3. Please check the doc for the compatibility information.

Rainer
User avatar
rgerhards
Site Admin
 
Posts: 2647
Joined: Thu Feb 13, 2003 11:57 am

Re: rsyslog 3.18.4 init script for Centos 5.2

Postby joe.hidden » Fri Jan 16, 2009 3:46 pm

rahmant wrote: does anyone have one that works cleanly?


see here: http://kb.monitorware.com/post15181.html#p15181
be sure tor ead the comments as well for a clean operation including chkconfig compatibility
joe.hidden
Avarage
 
Posts: 13
Joined: Thu Jan 15, 2009 10:35 am

Google Ads



Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests

cron