<?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[Xinetd not running]]></title><description><![CDATA[<p dir="auto">Hi @ all,<br />
I want to monitor my pfsense-box with check_mk, since snmp does not give all data I want. After reading some identical posts about it, I installed the check_mk-agent. It works locally, but cannot be contacted from the LAN. Since I found no xinetd-config, I looked if xinetd ist running.<br />
According to<br />
  ps ax | grep xinetd<br />
no xinetd-daemon is running</p>
<p dir="auto">In the /etc and etc/rc.d directories no start-script for xinetd can be found (by service-name). So I tried a new<br />
installation with<br />
  pkg install xinetd<br />
This only tells me „The most recent version of packages are already installed“</p>
<p dir="auto">Now I tried to manually start xinetd with<br />
  service xinetd start<br />
I got "Cannot 'start' xinetd. Set xinetd_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'."</p>
<p dir="auto">/etc/rc.conf is nearly empty and contains no xinetd-lines, so I tried<br />
  service xinetd onestart<br />
but it says „Starting xinetd.“, but it is still not running (tested with ps and xin…onestop)</p>
<p dir="auto">Finally I found the config-script for xinetd in  /usr/local/etc/rc.d/<br />
it contains:</p>
<h1><a class="anchor-offset" name="add-the-following-line-to-etc-rc.conf-to-enable-xinetd"></a>Add the following line to /etc/rc.conf to enable xinetd:</h1>
<h1><a class="anchor-offset"></a></h1>
<h1><a class="anchor-offset" name="xinetd_enable-quot-yes-quot"></a>xinetd_enable="YES"</h1>
<p dir="auto">but etc/rc.conf says:</p>
<h1><a class="anchor-offset" name="this-file-does-nothing-do-not-make-config-changes-here"></a>THIS FILE DOES NOTHING, DO NOT MAKE CONFIG CHANGES HERE</h1>
<p dir="auto">So, what can I do to get xinetd running and where will I find the config-file to open the port for check_mk???</p>
<p dir="auto">Thanks in advance and best wishes from frozen Austria,<br />
Karl</p>
]]></description><link>https://forum.netgate.com/topic/127526/xinetd-not-running</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 07:28:11 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/127526.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 Feb 2018 10:46:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Xinetd not running on Sat, 03 Mar 2018 16:29:44 GMT]]></title><description><![CDATA[<p dir="auto">@ kpa<br />
I do not want to run inetd, but xiinetd and I need it for check_mk.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gertjan">@<bdi>Gertjan</bdi></a></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gertjan">@<bdi>Gertjan</bdi></a>:</p>
<blockquote>
<p dir="auto">Hi,</p>
<p dir="auto">What is your pfSense version ?</p>
</blockquote>
<p dir="auto">My version is:<br />
2.4.2-RELEASE-p1 (amd64)<br />
built on Tue Dec 12 13:45:26 CST 2017<br />
FreeBSD 11.1-RELEASE-p6</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gertjan">@<bdi>Gertjan</bdi></a>:</p>
<blockquote>
<p dir="auto">Btw :</p>
<pre><code>[2.4.2-RELEASE][admin@pfsense.brit-hotel-fumel.net]/root: ps ax | grep xinetd
16284  -  Is       0:00.08 /usr/local/sbin/xinetd -syslog daemon -f /var/etc/xi
78340  0  S+       0:00.00 grep xinetd
[2.4.2-RELEASE][admin@pfsense.brit-hotel-fumel.net]/root: ps ax | grep xinetd
16284  -  Is       0:00.08 /usr/local/sbin/xinetd -syslog daemon -f /var/etc/xinetd.conf -pidfile /var/run/xinetd.pid
78733  0  S+       0:00.00 grep xinetd
[2.4.2-RELEASE][admin@pfsense.brit-hotel-fumel.net]/root: cat /var/etc/xinetd.conf
service 6969-udp
{
        type = unlisted
        bind = 127.0.0.1
        port = 6969
        socket_type = dgram
        protocol = udp
        wait = yes
        user = root
        server = /usr/libexec/tftp-proxy
        server_args = -v
}

</code></pre>
<p dir="auto">This xinetd service is only listening to localhost, not LAN.</p>
<p dir="auto">Note : as far as I know, I never installed a package that includes "xinetd" - actually, I don't know what it is - what it does.<br />
I know it is there by default.</p>
</blockquote>
<p dir="auto">From the output of your ps-command I can see, that your config is in /var/etc. I too have a file there, but it is empty and has size 0.</p>
<p dir="auto">I agree with you, that xinetd seems to be installed by default, but on my box it is not running. :-((</p>
<p dir="auto">Can you please tell me how xinetd can be started, which config files are needed and where these need to be?</p>
<p dir="auto">TIA, Karl</p>
]]></description><link>https://forum.netgate.com/post/753586</link><guid isPermaLink="true">https://forum.netgate.com/post/753586</guid><dc:creator><![CDATA[karls0]]></dc:creator><pubDate>Sat, 03 Mar 2018 16:29:44 GMT</pubDate></item><item><title><![CDATA[Reply to Xinetd not running on Tue, 27 Feb 2018 15:23:06 GMT]]></title><description><![CDATA[<p dir="auto">Inetd is a very old  "super server daemon" on UNIX and UNIX-style operating systems. Ideally nobody would be using it anymore but it's still required by some services.</p>
<p dir="auto"><a href="https://en.wikipedia.org/wiki/Inetd" target="_blank" rel="noopener noreferrer nofollow ugc">https://en.wikipedia.org/wiki/Inetd</a></p>
<p dir="auto">The reason why it should be abandoned is that inetd is a single point of failure and its access control features (provided by /etc/hosts.allow and such) are completely superceded by packet filters such as PF.</p>
]]></description><link>https://forum.netgate.com/post/752826</link><guid isPermaLink="true">https://forum.netgate.com/post/752826</guid><dc:creator><![CDATA[kpa]]></dc:creator><pubDate>Tue, 27 Feb 2018 15:23:06 GMT</pubDate></item><item><title><![CDATA[Reply to Xinetd not running on Tue, 27 Feb 2018 15:09:14 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">What is your pfSense version ?</p>
<p dir="auto">Btw :</p>
<pre><code>[2.4.2-RELEASE][admin@pfsense.brit-hotel-fumel.net]/root: ps ax | grep xinetd
16284  -  Is       0:00.08 /usr/local/sbin/xinetd -syslog daemon -f /var/etc/xi
78340  0  S+       0:00.00 grep xinetd
[2.4.2-RELEASE][admin@pfsense.brit-hotel-fumel.net]/root: ps ax | grep xinetd
16284  -  Is       0:00.08 /usr/local/sbin/xinetd -syslog daemon -f /var/etc/xinetd.conf -pidfile /var/run/xinetd.pid
78733  0  S+       0:00.00 grep xinetd
[2.4.2-RELEASE][admin@pfsense.brit-hotel-fumel.net]/root: cat /var/etc/xinetd.conf
service 6969-udp
{
        type = unlisted
        bind = 127.0.0.1
        port = 6969
        socket_type = dgram
        protocol = udp
        wait = yes
        user = root
        server = /usr/libexec/tftp-proxy
        server_args = -v
}

</code></pre>
<p dir="auto">This xinetd service is only listening to localhost, not LAN.</p>
<p dir="auto">Note : as far as I know, I never installed a package that includes "xinetd" - actually, I don't know what it is - what it does.<br />
I know it is there by default.</p>
]]></description><link>https://forum.netgate.com/post/752820</link><guid isPermaLink="true">https://forum.netgate.com/post/752820</guid><dc:creator><![CDATA[Gertjan]]></dc:creator><pubDate>Tue, 27 Feb 2018 15:09:14 GMT</pubDate></item></channel></rss>