Issues in setting up remote syslogging


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Issues in setting up remote syslogging
# 1  
Old 11-16-2011
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.
Code:
/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

Moderator's Comments:
Mod Comment Please use code tags!


---------- Post updated 11-16-11 at 11:11 AM ---------- Previous update was 11-15-11 at 05:17 PM ----------

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

Last edited by vbe; 11-16-2011 at 05:14 AM..
This User Gave Thanks to ravi.videla For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 - remote connectivity issues

Hi, I am facing a weird issue here. we have a Solaris 10 server running 15 non-global zones. The issue is all the systems suddenly stopped connectivity from outside/remotely.. Ping is also not working. After some troubleshooting, what I observed is when all the non-global zones are halted,... (4 Replies)
Discussion started by: snchaudhari2
4 Replies

2. Shell Programming and Scripting

Issues with setting Aliases

Hi, I have set alias rm='rm -i' and i m able to see that in the list of aliases. however, when i fire the rm command the '-i' interactive flag does not seem to kick in. I login to a free online terminal and then i say bash to set the bash profile. Join Here is the output... (27 Replies)
Discussion started by: mohtashims
27 Replies

3. Shell Programming and Scripting

Remote script over ssh execution issues.

If I execute below code I am able to get string from column8 and column10 about a process. serverA1$> ps -ef | grep rotate | grep 'config' | awk '{print $8" "$10}' /<Oracle_home>/ohs/bin/odl_rotatelogs -h:/<app_Home>/config/OHS/ohs1/component_events.xml_ohs1... (12 Replies)
Discussion started by: kchinnam
12 Replies

4. Proxy Server

Samba on AIX, issues setting read-only flag on files?

Hello, I am having issues setting the "read-only" flag via Windows Explorer on my AIX Samba share... I have on my AIX 7.1 system installed Samba 3.6.24 and configured, joined to our Windows domain successfully. The samba binaries I got from perzl.org/aix In my smb.conf I have... ... (1 Reply)
Discussion started by: c3rb3rus
1 Replies

5. HP-UX

Remote ssh execution and .profile issues

Greetings, i'm currently having issues in successfully executing a script from one server to other, and i'm cracking my nut in understanding why. Let's get started with the default info: Server A: briozzo@A:/home/briozzo $ uname -a HP-UX A B.11.31 U ia64 2787251109 unlimited-user license ... (3 Replies)
Discussion started by: nbriozzo
3 Replies

6. Solaris

Help with beginner issues setting up ZFS??

Hi, I'm new to Solaris 11. The goal is to set up a ZFS raid-Z2 NAS. These are the instructions I've been trying to follow, with no luck: "Setting Up an OpenSolaris NAS Box: Father-Son Bonding" (not allowed to post URL) Issues: 1) Root access is evidently required but I don't... (8 Replies)
Discussion started by: lakedude
8 Replies

7. UNIX for Dummies Questions & Answers

Remote connection to HP-UX from Linux, GUI issues.

Not sure if that's the best thread title... anyway, working remotely on a HP-UX machine I often need a GUI window when executing remote software installs, and for this I use Cygwin/X on my Windows laptop which works perfectly. Connect via telnet, set DISPLAY, run installer, GUI appears locally -... (3 Replies)
Discussion started by: stefcha
3 Replies

8. UNIX for Dummies Questions & Answers

Remote CDROM issues

Good Day Everyone!! I posted this message in the Sun Forum as well. This is a desperate cry for H-E-L-P!!! I've got a remote cdrom mounted. I can see the directories on the remote cd, I can cd into the directories but I CAN'T see any of the files. I'm rot on both systems, I've got the "-o... (1 Reply)
Discussion started by: greg69
1 Replies

9. Linux

CISCO syslogging in linux

Hi, I have a cisco router router and a linux box. I would like to know how to configure both the device so that everything that passes through my router gets logged in the linux box. Also I am very much new in cisco router. Is it ok to post such question in this forum, or i need to post it... (4 Replies)
Discussion started by: RajaRC
4 Replies

10. UNIX for Advanced & Expert Users

syslogging issues

i'm having some problems with syslogging. i figured out how to allow logging from a specific host (my webramp). syslogd -a ipaddress subnetmask first, what file do the logs go to? second, is there anyway i can save the webramp logs into another file? (13 Replies)
Discussion started by: xyyz
13 Replies
Login or Register to Ask a Question