rsyslog 5.8.9 config validation fails with imrelp

This is the place for developers to discuss bugs, new features and everything else about code changes.

Google Ads


rsyslog 5.8.9 config validation fails with imrelp

Postby xani » Thu Apr 05, 2012 10:05 am

When module imrelp is active and in use, config validation fails when rsyslogd is running in background
Config:
Code: Select all
$ModLoad imrelp
$InputRELPServerRun 2514

Test:
Code: Select all
[10:50:43]host:~☠ ps aux |grep rsyslog |grep -v grep
root     15302  0.0  0.1 249008  1948 ?        Sl   10:50   0:00 /usr/sbin/rsyslogd -i /var/run/syslogd.pid -c 5
[10:50:50]host:~☠ rsyslogd -c5 -f /etc/rsyslog.conf -N2 ;echo $?
rsyslogd: version 5.8.9, config validation run (level 2), master config /etc/rsyslog.conf
rsyslogd: the last error occured in /etc/rsyslog.conf, line 30:"$InputRELPServerRun 2514"
rsyslogd: CONFIG ERROR: could not interpret master config file '/etc/rsyslog.conf'. [try http://www.rsyslog.com/e/2124 ]
1
[10:50:55]host:~☠ /etc/init.d/rsyslog stop   
Shutting down system logger:                               [  OK  ]
[10:51:03]host:~☠ ps aux |grep rsyslog |grep -v grep
[10:51:05]host:~☠ rsyslogd -c5 -f /etc/rsyslog.conf -N2 ;echo $?
rsyslogd: version 5.8.9, config validation run (level 2), master config /etc/rsyslog.conf
rsyslogd: End of config validation run. Bye.
0
[10:51:07]host:~☠


From what I've tested it doesn't happen with imudp and imtcp
xani
New
 
Posts: 1
Joined: Thu Apr 05, 2012 9:45 am

Urgent Question?

  • Pulling out your Hair?
  • Wasting Time and Money?
  • Deadline Approaching?

Google Ads


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 0 guests

cron