LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-04-2010, 05:36 PM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Rep: Reputation: 39
secure log file entries not appearing in loganalyzer


Hi there --

I am testing LogAnalyzer 3.0, with several Linux servers configured to send their log files to the central server. All Linux servers use syslog as the daemon of choice.

While it does appear that LogAnalyzer to be working somewhat, I noticed that a particular log file present on all servers, secure, does not have any entries appearing at the central server. The configuration of the secure file, via the /etc/syslog.conf file, on all servers is shown below:

Code:
# The authpriv file has restricted access.
authpriv.*                                              /var/log/secure
Do I need to make any additional modifications to the syslog.conf or any other file? Thanks.
 
Old 10-04-2010, 06:00 PM   #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
Unless this line is preceded by one sending this specific facility / priority pair (or everything) to your remote server it's only sending them to a file?
 
Old 10-04-2010, 07:11 PM   #3
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Original Poster
Rep: Reputation: 39
Hi there --

Thanks for your reply. If I understand you correctly, should the syntax be as follows:

Code:
*.*                                                     @<ip address>
# The authpriv file has restricted access.
authpriv.*                                              /var/log/secure
I do have the line:

Code:
*.*                                                     @<ip address>
already at the beginning of the file so shouldn't that be enough?
 
Old 10-05-2010, 01:02 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Yes it should. Can you confirm that if you use Mike Hammers famous 'logger -p authpriv.emerg -t test "Trust me, I know what I'm doing."' quote on one of the clients this message at least gets sent and received using tcpdump to capture packets on both client and server?
 
Old 10-05-2010, 01:52 PM   #5
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Original Poster
Rep: Reputation: 39
Hi there --

I ran the logger command with the 'recommended' syntax, and while the message did appear on-screen, there was no reference to in any log file on the client, nor did it appear on the central log server.

The entries from the /var/log/messages file do make it to the central server, but so far those are the only ones that do make it.
 
  


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
Can Samhain log my entries in /var/log/secure and /var/log/mesage to a central server abefroman Linux - Software 2 04-13-2008 04:13 PM
Syslog entries from PIX appearing is messages log... ddenton Linux - Server 4 04-08-2008 11:28 AM
Apache log file - logging entries late kirtimaan_bkn Linux - Newbie 1 12-10-2006 05:28 PM
entries in /var/log/secure zepplin611 Linux - Newbie 1 07-20-2004 05:57 PM
Weird entries in log file KennyK Linux - Security 4 10-17-2003 08:28 PM

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

All times are GMT -5. The time now is 08:05 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