Startup process

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

Startup process

Postby selfish on Mon Dec 31, 2007 8:39 pm

Ok, I am now using 1.21.1 and it is working with dynafiles. I am having one last problem though. When I let init start the daemon on startup it doesn't seem to log anything at all, no local and no remote. If I manually start it then everything works fine.

/etc/sysconfig/rsyslog:

SYSLOGD_OPTIONS="-m0 -r514 -t514"

manual command

rsyslogd -m0 -r514 -t514


When I run it either way the output of 'ps aux' shows the same thing:

root 1879 0.0 0.1 14796 1156 ? Ssl 19:49 0:02 rsyslogd -m0 -r514 -t514

I'm not quite sure how to debug this since when it gets started by init it won't log anything so -d mode won't work.
selfish
New
 
Posts: 7
Joined: Fri Dec 28, 2007 9:26 pm

Professional Services Information

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

RE: Startup process

Postby rgerhards on Fri Jan 04, 2008 10:54 pm

I have to admit I do not have a clue what it may be. Maybe it should not auto-background (-n, if I remember correct).

Anyone else?

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

RE: Startup process

Postby selfish on Sat Jan 05, 2008 1:04 am

When I add -n to the /etc/sysconfig/rsyslog options it hangs on startup at:

Starting system logger (rsyslog): _
selfish
New
 
Posts: 7
Joined: Fri Dec 28, 2007 9:26 pm

RE: Startup process

Postby rgerhards on Sat Jan 05, 2008 10:51 am

...which proves the point that I am obviously not a system wizard on Linux any longer ;)

If nobody else comes up with a solution here, I suggest you post in one of your distro's forums. IF there are rsyslog-specific questions, post the link here and I will participate.

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

Google Ads



Return to Configuration

Who is online

Users browsing this forum: No registered users and 0 guests

cron