<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Syslog-ng doesn&#x27;t start properly]]></title><description><![CDATA[<p dir="auto">Syslog-ng must be started manually (run "syslog-ng" at terminal). Works fine, just doesn't start. 2.1 beta, so I don't know if this belongs here (a 2.1 specific issue) or in packages (a general package issue)</p>
]]></description><link>https://forum.netgate.com/topic/56367/syslog-ng-doesn-t-start-properly</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 16:53:53 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/56367.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 May 2013 04:34:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Syslog-ng doesn&#x27;t start properly on Wed, 15 Jan 2014 07:54:32 GMT]]></title><description><![CDATA[<p dir="auto">I fixed the problem noted here in this package (was brought to my attention by a support customer), so the above manual edit is no longer necessary.</p>
]]></description><link>https://forum.netgate.com/post/438680</link><guid isPermaLink="true">https://forum.netgate.com/post/438680</guid><dc:creator><![CDATA[cmb]]></dc:creator><pubDate>Wed, 15 Jan 2014 07:54:32 GMT</pubDate></item><item><title><![CDATA[Reply to Syslog-ng doesn&#x27;t start properly on Tue, 29 Oct 2013 23:09:01 GMT]]></title><description><![CDATA[<p dir="auto">Does anyone know if syslog-ng does more than log to disk?  Does it filter text strings and send notifications via SMTP like most basic syslog servers do, i.e. Kiwi?</p>
]]></description><link>https://forum.netgate.com/post/427349</link><guid isPermaLink="true">https://forum.netgate.com/post/427349</guid><dc:creator><![CDATA[markn62]]></dc:creator><pubDate>Tue, 29 Oct 2013 23:09:01 GMT</pubDate></item><item><title><![CDATA[Reply to Syslog-ng doesn&#x27;t start properly on Fri, 18 Oct 2013 13:58:34 GMT]]></title><description><![CDATA[<p dir="auto">I installed the package Syslog-ng on pfSense 2.1 RELEASE and still have the same problem…. doesn't start.</p>
<p dir="auto">The cause is to be found in the startup script (syslog-ng.sh) that is generated automatically by the configuration contained in the file /usr/local/pkg/syslog-ng.inc</p>
<p dir="auto">In the file syslog-ng.sh, I believe there is an error on the if condition which gives the impression that the service is already started.<br />
To correct the error, edit the file syslog-ng.inc and find the following two lines to add another grep -v</p>
<p dir="auto">before:</p>
<pre><code>if [ -z "`ps auxw | grep "syslog-ng" | grep -v "syslog-ng.sh"`" ]; then

</code></pre>
<p dir="auto">after:</p>
<pre><code>if [ -z "`ps auxw | grep "syslog-ng" | grep -v "syslog-ng.sh" | grep -v "grep"`" ]; then

</code></pre>
<p dir="auto">Save the file and restart the pfSense from web interface Diagnistic menu -&gt; Reboot, or via console (5) Reboot system</p>
<p dir="auto">After rebooting check the Status menu -&gt; Services, the service status of "Syslog-ng" that must be Running, while in the menu Services -&gt; Syslog-ng -&gt; Log Viewer tab, you will see the last lines of log.</p>
<p dir="auto">Optionally, to send all logs pfSense or only part of them to the Syslog-ng you must enable and configure remote logging:<br />
From Status menu -&gt; System Logs&gt; Settings tab in the section "Remote Logging Options":<br />
Enable Remote Logging: check the box<br />
Remote Syslog Servers (Server 1): Enter the IP address of the local network (LAN) with the default port of syslog-ng for example 192.168.1.1:5140 (in my case Interface Selection of syslog-ng is set to LAN)<br />
Remote Syslog Contents: put a check on "Everything" or on individual services to be logged<br />
save your changes by clicking the "Save" button</p>
<p dir="auto">Syslog-ng logs are located in /val/syslog-ng/default.log and rotate according to the configuration in Services menu &gt; Syslog-ng &gt; General tab<br />
I can also be taken via WinSCP for rescuing and displayed with the command: tail-f /var/syslog-ng/default.log</p>
]]></description><link>https://forum.netgate.com/post/425524</link><guid isPermaLink="true">https://forum.netgate.com/post/425524</guid><dc:creator><![CDATA[dukecount]]></dc:creator><pubDate>Fri, 18 Oct 2013 13:58:34 GMT</pubDate></item><item><title><![CDATA[Reply to Syslog-ng doesn&#x27;t start properly on Mon, 05 Aug 2013 09:22:01 GMT]]></title><description><![CDATA[<p dir="auto">I have the same problem on pfSense 2.1 RC1. The version of the installed package is 3.3.6_2.<br />
However, sometimes the service is started from the web gui by its button "Start Service" after saving the configuration again</p>
<p dir="auto">from the logs only becomes apparent following error:<br />
php: / status_services.php: The command '/ usr / local / etc / rc.d / syslog-ng.sh stop' returned exit code '1 ', the output was''</p>
<p dir="auto">If it worked it would be great because setting the remote syslog server with the IP address of the local service syslog-ng I find the logs directly into the filesystem of pfSense in /var/syslog-ng and not on a remote server</p>
<p dir="auto">This is a solution for all those who do not want to install a remote log server and want a log format used for the service of Captive Portal, with the frequency of archive (rotate) configurable and easy to backup</p>
<p dir="auto">Tested configuration:</p>
<p dir="auto">–Service Syslog-ng --</p>
<p dir="auto">Selection Interface: LAN (in my case the ip address of the LAN interface is 192.168.1.1)<br />
...<br />
other options are unchanged in the various sections</p>
<p dir="auto">-- System logs Settings (Remote Logging Options) --</p>
<p dir="auto">Enable Remote Logging:   selected<br />
Server 1:    192.168.1.1:5140<br />
Remote Syslog Contents:   select Everything</p>
]]></description><link>https://forum.netgate.com/post/409668</link><guid isPermaLink="true">https://forum.netgate.com/post/409668</guid><dc:creator><![CDATA[dukecount]]></dc:creator><pubDate>Mon, 05 Aug 2013 09:22:01 GMT</pubDate></item><item><title><![CDATA[Reply to Syslog-ng doesn&#x27;t start properly on Thu, 16 May 2013 09:11:34 GMT]]></title><description><![CDATA[<p dir="auto">Correction, when started from an SSH terminal it ran fine for awhile, then shut itself down.</p>
]]></description><link>https://forum.netgate.com/post/395834</link><guid isPermaLink="true">https://forum.netgate.com/post/395834</guid><dc:creator><![CDATA[markuhde]]></dc:creator><pubDate>Thu, 16 May 2013 09:11:34 GMT</pubDate></item></channel></rss>