LinuxQuestions.org
Visit Jeremy's Blog.
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 04-03-2017, 08:42 AM   #1
Mark_667
Member
 
Registered: Aug 2005
Location: Manchester, England
Distribution: Ubuntu 20.04
Posts: 383

Rep: Reputation: 30
syslog-ng not writing events


I'm using syslog-ng on SLES11 and have found that it's no longer writing to the log file. Pointing strace at the process shows it processing messages and I can see the write entry for the logger command I sent but the last I can see in /var/log/messages is a shutdown event. What may cause this?
 
Old 04-03-2017, 11:49 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
We run syslog-ng on one of our RHEL systems for getting logs from all network devices but don't write that into /var/log/messages. We also still run rsyslogd for local messages from the server itself.

We've found in the past that the order these are started matters. One must start syslog-ng first then rsyslogd.

You might want to check if rsyslog is also running and if so, whether it started before or after syslog-ng.
 
  


Reply

Tags
syslog-ng



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
[SOLVED] Creating SNMP traps from syslog events igniti0n69 Linux - Networking 2 05-11-2015 09:58 AM
[SOLVED] Snortd Syslog Events Not Forwarding snowmizer Linux - Server 5 05-17-2013 07:44 AM
syslog events to identify particular issue drManhattan Linux - Newbie 1 05-24-2011 11:31 PM
redirect events from syslog server junust Linux - General 1 08-10-2009 05:38 AM
Syslog fail events! andykerouac Linux - General 3 01-29-2004 05:15 AM

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

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