LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-02-2006, 04:25 AM   #1
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Rep: Reputation: 32
syslog to accept remote messages


I'm running FC2, I want my system to accept remote log messages.

I've set this option on my /etc/sysconfig/syslog
# Options to syslogd
# -m 0 disables 'MARK' messages.
# -r enables logging from remote machines
# -x disables DNS lookups on messages recieved with -r
# See syslogd(8) for more details
SYSLOGD_OPTIONS="-m 0"

# Add option to accept remote syslog messages
SYSLOGD_OPTIONS="${SYSLOGD_OPTIONS} -r"

# Options to klogd
# -2 prints all kernel oops messages twice; once for klogd to decode, and
# once for processing with 'ksymoops'
# -x disables all klogd processing of oops messages entirely
# See klogd(8) for more details
KLOGD_OPTIONS="-x"

and restarted syslog then in /var/log/messages I came to found the syslog has shutted down again. Following was the message

Aug 2 10:34:36 p15187670 kernel: Kernel logging (proc) stopped.
Aug 2 10:34:36 p15187670 kernel: Kernel log daemon terminating.
Aug 2 10:34:37 p15187670 syslog: klogd shutdown succeeded
Aug 2 10:34:37 p15187670 exiting on signal 15
Aug 2 10:34:37 p15187670 syslogd 1.4.1: restart (remote reception).
Aug 2 10:34:37 p15187670 syslog: syslogd startup succeeded
Aug 2 10:34:37 p15187670 kernel: klogd 1.4.1, log source = /proc/kmsg started.
Aug 2 10:34:37 p15187670 kernel: process `syslogd' is using obsolete setsockopt SO_BSDCOMPAT
Aug 2 10:34:37 p15187670 syslog: klogd startup succeeded
Aug 2 10:34:37 p15187670 syslog: syslogd shutdown succeeded
Aug 2 10:34:37 p15187670 kernel: klogd 1.4.1, log source = /proc/kmsg started.
Aug 2 10:34:37 p15187670 kernel: process `syslogd' is using obsolete setsockopt SO_BSDCOMPAT
Aug 2 10:34:37 p15187670 syslog: klogd startup succeeded
Aug 2 10:34:37 p15187670 syslog: syslogd shutdown succeeded


Can anyone tell me what the problem and how can i make syslog to accept remote messages.

Regards,
Imran
 
Old 08-02-2006, 06:19 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
kernel: process `syslogd' is using obsolete setsockopt SO_BSDCOMPAT
The syslog package wasn't updated to kernel 2.6 specs. The message however is just of "informational" level and shouldn't make syslogd exit, /etc/sysconfig/syslog looks OK for receiving remote messages and the options shouldn't make syslogd exit either. Check if there's a syslog package update or else try if syslog-ng works for you.
 
  


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
Syslog messages... stevemad Slackware 4 10-15-2005 03:45 PM
syslog messages on SLES9 console MrHPUX Linux - Software 0 10-13-2005 01:44 PM
Can't get syslog to record messages from my router ec3042 Linux - Networking 3 02-24-2004 12:10 PM
syslog and firestarter - log messages to another file than messages mule Linux - Newbie 0 08-07-2003 03:35 AM
SYSLOG not writing messages from my firewall. adamrau Linux - Security 15 01-10-2002 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:26 PM.

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