LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-22-2004, 12:57 PM   #1
sirpimpsalot
Member
 
Registered: Feb 2004
Posts: 141

Rep: Reputation: 15
Set Syslogd to run with -r switch at boot?


syslogd is starting automatically on my box at boot.

how can I instruct it to run with the -r switch so it will accept incoming syslog messages? Im typically use chkconfig or suse runlevel editor, but cant firgure out a way to at the argument...

any help would be greatly appreciated - this has got to be something simple...
 
Old 09-22-2004, 01:32 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

syslog is the file you can edit, should recide in /etc/sysconfig.

SYSLOGD_PARAMS needs to be set here, don't know if the following example is (still) in that file, so here it is:

# SYSLOGD_PARAMS="-r -s my.dom.ain"

Hope this helps.
 
Old 09-23-2004, 04:12 PM   #3
sirpimpsalot
Member
 
Registered: Feb 2004
Posts: 141

Original Poster
Rep: Reputation: 15
awesome... that makes sense now, and I think Ive got it up and running.

Can anyone instruct me on how to test the syslog server from another device? by default log entries go to /var/log/messages file, correct? that seems to be what the syslog.conf file indicates.

thank you!
 
Old 09-24-2004, 12:10 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
You can use logger to test various levels of logging (man logger).

Your /etc/syslogd.conf tells which error is written to which file. SuSe uses /var/log/messages to collect all the messgaes, but there are other files.

hope this helps.
 
  


Reply

Tags
logging, remote, syslog


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
can I set up ethernet between two machines without a hub or switch? Simon Bridge Linux - Networking 13 05-20-2005 01:29 AM
Switch to another user, get his env and run a command 'under his name' ganninu Linux - General 2 05-25-2004 02:26 PM
set up DSL thru SWITCH - winXp connected to SWITCH too husz Linux - Newbie 5 04-22-2004 12:08 AM
Syslogd hangs at boot-up mr-tiddles Linux - General 1 12-23-2003 09:31 AM
set up syslogd kanette Linux - Newbie 0 09-19-2003 08:25 AM


All times are GMT -5. The time now is 07:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration