<div dir="ltr">Hi,<div>Please find the output of the command as below :</div><div>-----------------------------------</div><div>~ # syslog-ng -Fedtv<br>[2019-09-26T12:20:03.417562] Unable to detect fully qualified hostname for localhost, use_fqdn() will use the short hostname;<br>[2019-09-26T12:20:03.417956] Error opening configuration file; filename='//etc/syslog-ng.conf', error='Failed to open file ▒“<br>//etc/syslog-ng.conf▒”: No such file or directory'<br>~ #<br></div><div>-----------------------------------</div><div>Actually the file location is different in our target system, we are executing the command as below :</div><div># /sbin/syslog-ng -f /tandberg/persistent/syslog-ng.conf -p /var/run/syslog-ng.pid<br></div><div>-----------------------------------</div><div><br></div><div>Regards,</div><div>D Pal</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 26, 2019 at 4:22 PM Attila Szakacs (aszakacs) <<a href="mailto:Attila.Szakacs@oneidentity.com">Attila.Szakacs@oneidentity.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Hi,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Could you run syslog-ng with -Fedtv flags and share the output?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Best regards,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Attila</div>
<div id="gmail-m_-3564389212527172433appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_-3564389212527172433divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> syslog-ng <<a href="mailto:syslog-ng-bounces@lists.balabit.hu" target="_blank">syslog-ng-bounces@lists.balabit.hu</a>> on behalf of Debananda Pal <<a href="mailto:debananda.pal@gmail.com" target="_blank">debananda.pal@gmail.com</a>><br>
<b>Sent:</b> Wednesday, September 25, 2019 4:55 PM<br>
<b>To:</b> <a href="mailto:syslog-ng@lists.balabit.hu" target="_blank">syslog-ng@lists.balabit.hu</a> <<a href="mailto:syslog-ng@lists.balabit.hu" target="_blank">syslog-ng@lists.balabit.hu</a>><br>
<b>Subject:</b> [syslog-ng] Help needed in configuration file upgrade (from syslog-ng-3.11.1 to syslog-ng-3.23.1)</font>
<div> </div>
</div>
<div>
<div style="background-color:rgb(255,235,156);width:100%;border-style:solid;border-color:rgb(156,101,0);border-width:1pt;padding:2pt;font-size:10pt;line-height:12pt;font-family:Calibri;color:black;text-align:left">
<span style="color:rgb(156,101,0);font-weight:bold">CAUTION:</span> This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.</div>
<br>
<div>
<div dir="ltr">
<div>
<div dir="ltr">Hi All,
<div><br>
</div>
<div>Sorry to send the mail to all as I am not aware about individual email id.</div>
<div><br>
</div>
<div>I am trying to upgrade syslog-ng from 3.11.1  to  3.23.1 on Linux and finding some issues as below.</div>
<div>I have changed few parameters like version, include, but at present getting error with file() configuration.</div>
<div>-------------------------------------------------------------------------------------</div>
<div>~ # /sbin/syslog-ng -f /tandberg/persistent/syslog-ng.conf -p /var/run/syslog-ng.pid<br>
[2019-09-25T13:40:11.707232] WARNING: Your configuration file uses an obsoleted keyword, please update your configuration; key<br>
word='flush_timeout', change='Some drivers support batch-timeout() instead that you can specify at the destination level.', lo<br>
cation='#buffer:15:5'<br>
<b>Error parsing source statement, source plugin file not found in /tandberg/persistent/syslog-ng.conf:31:5-31:9:</b><br>
26<br>
27      #   Sources<br>
28<br>
29      source s_everything {<br>
30          internal();<br>
31---->     file("/proc/kmsg" log_fetch_limit(100) log_iw_size(100));<br>
31---->     ^^^^<br>
32          unix_dgram("/var/log/log" log_fetch_limit(100) log_iw_size(100));<br>
33          udp(ip(127.0.0.1) port(514) log_fetch_limit(100) log_iw_size(100));<br>
34      };<br>
35<br>
36      #   Destinations<br>
<br>
syslog-ng documentation: <a href="https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.balabit.com%2Fsupport%2Fdocumentation%3Fproduct%3Dsyslog-ng-ose&data=02%7C01%7Cattila.szakacs%40oneidentity.com%7Cd2c903a2e4a4413f453808d741c87af4%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637050201639994233&sdata=zD%2FNYgPCUXIsuA79b5dkALKVfc%2BVS1AFGtdqJgykemI%3D&reserved=0" target="_blank">
https://www.balabit.com/support/documentation?product=syslog-ng-ose</a><br>
contact: <a href="https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.balabit.hu%2Fmailman%2Flistinfo%2Fsyslog-ng&data=02%7C01%7Cattila.szakacs%40oneidentity.com%7Cd2c903a2e4a4413f453808d741c87af4%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637050201640004226&sdata=i7oD1DjUEEBoEV7rhAZMjzcOgjH%2BhMJ5uBO%2BgVYe2o8%3D&reserved=0" target="_blank">
https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
~ #<br>
</div>
<div>-------------------------------------------------------------------------------------  <br>
</div>
<div><br>
</div>
<div>I have attached the syslog-ng.conf file for your kind perusal.</div>
<div>Please give your suggestion on the modified config file.</div>
<div><br>
</div>
<div>Regards,</div>
<div>D Pal</div>
</div>
</div>
</div>
</div>
</div>
</div>

______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div>