LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-16-2011, 12:35 PM   #1
ravi.videla
LQ Newbie
 
Registered: Nov 2011
Posts: 2

Rep: Reputation: Disabled
Issues in setting up remote syslogging


Hello,

I am using Ubuntu Linux and having problems in setting up remote syslogging. Appreciate your help on this.

On the server unix host, I have made following changes.

uncommented following lines in /etc/rsyslog.conf
$ModLoad imudp
$UDPServerRun 514

Now i am trying to run rsyslog in foreground using command line and getting following errros.

/usr/sbin/rsyslogd -c2 -dn -r > a.log
rsyslogd: WARNING: rsyslogd is running in compatibility mode. Automatically generated config directives may interfer
with your rsyslog.conf settings. We suggest upgrading your config and adding -c4 as the first rsyslogd option.
rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad imudp
rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: UDPServerRun (null)
rsyslogd: Name or service not known
rsyslogd: UDP message reception disabled due to error logged in last message.

rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad immark
rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: MarkMessagePeriod 1200
rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad imuxsock
 
Old 11-16-2011, 01:10 PM   #2
ravi.videla
LQ Newbie
 
Registered: Nov 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
I am able to solve this issue. Before i was just using option "-r", i changed it to "-r514".

contents of /etc/default/rsyslog file
RSYSLOGD_OPTIONS="-c2 -r514"

Now it is working fine.

Nov 16 11:51:35 cdegivm1 rsyslogd: rsyslogd's userid changed to 101
Nov 16 11:51:35 cdegivm1 rsyslogd: WARNING: rsyslogd is running in compatibility mode. Automatically generated config directives may interfer with your rsyslog.conf settings. We suggest upgrading your config and adding -c4 as the first rsyslogd option.
Nov 16 11:51:35 cdegivm1 rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad imudp
Nov 16 11:51:35 cdegivm1 rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: UDPServerRun 514
Nov 16 11:51:35 cdegivm1 rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad immark
Nov 16 11:51:35 cdegivm1 rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: MarkMessagePeriod 1200
Nov 16 11:51:35 cdegivm1 rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad imuxsock
Nov 16 11:52:39 cdegivm2 rsyslogd: [origin software="rsyslogd" swVersion="4.6.4" x-pid="10209" x-info="http://www.rsyslog.com"] (re)start
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
remote syslogging sir-lancealot Linux - Server 7 01-21-2009 03:04 PM
Syslogging to somewhere other than /var... ddenton Linux - Server 5 08-13-2007 09:40 AM
External Syslogging (snort) ponds Linux - Security 1 08-15-2005 02:42 PM
Simulating remote syslogging ganninu Linux - General 0 12-09-2003 02:45 AM
Remote + local syslogging at the same time ganninu Linux - General 9 12-03-2003 02:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration