Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] No logs in /var/log/messages, multiple dashes in rsyslog.conf config

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] No logs in /var/log/messages, multiple dashes in rsyslog.conf config


Chronological Thread 
  • From: Andrew Lake <>
  • To:
  • Cc: Jeremy Palmer <>, "" <>
  • Subject: Re: [perfsonar-user] No logs in /var/log/messages, multiple dashes in rsyslog.conf config
  • Date: Tue, 13 May 2014 10:33:10 -0400

Hi,

Thanks for reporting this. It actually has been reported before and a fix is slated for our next release. I believe its a bug in one of the install scripts the Toolkit runs that doesn't check for a leading - and just blindly adds them.

Thanks,
Andy





On May 13, 2014, at 10:26 AM, Andrew Grabowski <> wrote:

Hi Jeremy,

I had similar problems with /var/log/messages. I noticed this when I did a fresh install of the CentOS OS and installed perfSONAR via yum. 




Thank you,
Andrew Grabowski



On Mon, May 12, 2014 at 5:08 PM, Jeremy Palmer <> wrote:
I just noticed that nothing is being logged in /var/log/messages (zero length files) on the majority of my toolkit hosts (all running version 3.3.2).

I took a look in /etc/rsyslog.conf on one of my boxes and I see the following config line:

*.info;mail.none;authpriv.none;cron.none                ---/var/log/messages

I understand that a using a single dash in front of the log file location disables file write syncing. However, it appears that using multiple dashes breaks logging to the file altogether. Some of my toolkit hosts have two dashes in the config, some have three, and some have four dashes.

The only toolkit hosts that were actually logging to the messages file correctly where ones I've installed recently (within the last month or so).

To fix, I just removed all the extra dashes from this config line in rsyslog.conf and restarted rsyslogd.

Anyone else run into this or have any idea of how this may have happened? Perhaps certain yum updates may have added the additional dashes to the config?

--
Jeremy Palmer
Senior Network Engineer
ViaWest, Inc.
Office: 720.891.1045
Fax: 303-874-5236
http://www.viawest.com





Archive powered by MHonArc 2.6.16.

Top of Page