do

service rsyslog stop

to stop the currently running process

then do

/usr/local/sbin/rsyslogd

to start the process manually.

David Lang

On Fri, 6 Sep 2013, Mayur Patil wrote:

Date: Fri, 6 Sep 2013 10:07:39 +0530
From: Mayur Patil <[email protected]>
To: David Lang <[email protected]>
Cc: rsyslog-users <[email protected]>
Subject: Re: [rsyslog] [rsyslog-user] how to Stop logging dhcp messages &
    firewall disturbance

Hello David sir,

    /usr/local/sbin/rsyslogd  command gives none error only output.

  root@logserver:~# /usr/local/sbin/rsyslogd
  Already running. If you want to run multiple instances, you need to
specify different pid files (use -i option)

  does not generate any logs .

While

service rsyslog restart

ouptut is fine andd logs generated are:

Sep  6 10:06:36 logserver rsyslogd: [origin software="rsyslogd"
swVersion="7.2.6" x-pid="5027" x-info="http://www.rsyslog.com";] exiting on
signal 15.
Sep  6 10:06:36 logserver rsyslogd: [origin software="rsyslogd"
swVersion="7.2.6" x-pid="5157" x-info="http://www.rsyslog.com";] start
Sep  6 10:06:36 logserver rsyslogd: rsyslogd's groupid changed to 103
Sep  6 10:06:36 logserver rsyslogd: rsyslogd's userid changed to 101
Sep  6 10:06:36 logserver rsyslogd-2039: Could no open output pipe
'/dev/xconsole': No such file or directory [try
http://www.rsyslog.com/e/2039 ]


Seeking for guidance,

Thanks !
*
--
*
*Cheers,
*
*Mayur*


On Thu, Sep 5, 2013 at 7:53 PM, David Lang <[email protected]> wrote:

leave off the -c3 that is trying to tell rsyslog to use the config
language for version 3, it's not needed any longer

you should be able to just do

/usr/local/sbin/rsyslogd

could you please provide the exact error message that's generated?

David Lang


On Thu, 5 Sep 2013, Mayur Patil wrote:

 I tried this command but it fails saying not supported

I have installed rsyslog 7.2.6 by compiling

/usr/local/sbin/rsyslogd -c3 -f /etc/rsyslog.conf

what is new command for version 7.2.6?

my server rsyslog.conf file : http://fpaste.org/36924/

On Thu, Sep 5, 2013 at 2:36 AM, David Lang <[email protected]> wrote:

 if you start rsyslog manually (instead of through your startup script) is
there any error message that appears before the exiting message?

David Lang


On Wed, 4 Sep 2013, Mayur Patil wrote:

 Hi All,



rsyslog stop logging at all when filter applied.

I added any filter like

   :msg, startswith, 'DHCPREQUEST' ~

                or

   :msg, startswith, 'kernel' ~

   it will stop rsyslog totally from logging with exiting message 15
killing the

   process.

   my server rsyslog.conf file : http://fpaste.org/36924/

   please help !

   thanx !!



_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to